App Engine Flexible Runtime PHP (5.6) deployed failure: Failed to execute git clone --no-checkout 'gitAtgitlab.com:xxxx/framework-php.git'

103 views
Skip to first unread message

Yao Li

unread,
Apr 17, 2017, 2:00:38 PM4/17/17
to Google App Engine
App Engine Flexible Runtime PHP (5.6) deployed failure: 

Failed to execute git clone --no-checkout 'gitAtgitlab.com:xxxx/framework-php.git'
Cloning into '/app/vendor/xxxx/framework'...
error: cannot run ssh: No such file or directory
fatal: unable to fork

The command '/bin/sh -c /composer.sh' returned a non-zero code: 1
ERROR
ERROR: build step "gcr.io/cloud-builders/docker@sha256:83b9c7......e6fa2" failed: exit status 1

It works to pull the above private repo in gitlab at app engine standard environment, but flex environment. 

Justin Beckwith

unread,
Apr 17, 2017, 2:26:13 PM4/17/17
to google-a...@googlegroups.com, Takashi Matsuo, Jeffrey Ching, Daniel Azuma, Brent Shaffer
Apologies for the trouble.  Adding a few folks from the PHP team.  

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/462aad89-62b9-431a-8450-debfa056da8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Justin Beckwith | Google Cloud Platform | @justinbeckwith | http://jbeckwith.com

Takashi Matsuo

unread,
Apr 17, 2017, 2:33:04 PM4/17/17
to Justin Beckwith, google-a...@googlegroups.com, Jeffrey Ching, Daniel Azuma, Brent Shaffer

Hi Yao,

Sorry for the trouble. Unfortunately currently the private repos are not supported with the Flexible Environment.
We're working on a solution, and we'll keep you updated.

Thanks!

On Mon, Apr 17, 2017 at 11:25 AM Justin Beckwith <beck...@google.com> wrote:
Apologies for the trouble.  Adding a few folks from the PHP team.  
On Mon, Apr 17, 2017 at 11:00 AM, Yao Li <y...@sazze.com> wrote:
App Engine Flexible Runtime PHP (5.6) deployed failure: 

Failed to execute git clone --no-checkout 'gitAtgitlab.com:xxxx/framework-php.git'
Cloning into '/app/vendor/xxxx/framework'...
error: cannot run ssh: No such file or directory
fatal: unable to fork

The command '/bin/sh -c /composer.sh' returned a non-zero code: 1
ERROR
ERROR: build step "gcr.io/cloud-builders/docker@sha256:83b9c7......e6fa2" failed: exit status 1

It works to pull the above private repo in gitlab at app engine standard environment, but flex environment. 

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
--

Justin Beckwith | Google Cloud Platform | @justinbeckwith | http://jbeckwith.com
--
-- Takashi

Yao Li

unread,
Apr 17, 2017, 2:48:05 PM4/17/17
to Google App Engine, beck...@google.com, chi...@google.com, daz...@google.com, bette...@google.com
Hi Takashi,

If it takes a lot of time (weeks, months or even longer) to publish the feature supporting private repos, I can definitely make a customized docker image.

Thanks,
Yao

Takashi Matsuo

unread,
Apr 17, 2017, 4:25:38 PM4/17/17
to Google App Engine, beck...@google.com, chi...@google.com, daz...@google.com, bette...@google.com

Hi Yao,

We're thinking to introduce an option to skip running `composer install` for a short term solution, which I think we can provide in weeks. An ideal solution (potentially with KMS) will definitely take longer.

Thanks,


For more options, visit https://groups.google.com/d/optout.
--
-- Takashi
Reply all
Reply to author
Forward
0 new messages