I have a Go project running on ManagedVMs and wanted to try the Cloud Shell.
So, I have my repository in $HOME/default and a symbolic link from my repository to $GOPATH
The problem is that whenever I pull changes from the Cloud Shell and try to deploy with aedeploy, I end up using the Docker Cache and the changes are not reflected.
I guess it is because somehow the build process didnt detect the changes.
Is there anything to fix this? My workaround now is just to do some dummy code change using the Cloud Shell.
roy_palacios@sanguine-form-95600:~/default/
xxxxxxxxxxxxxxx.pe/module/batch$ git pull
Unpacking objects: 100% (6/6), done.
From
https://source.developers.google.com/p/sanguine-form-95600/r/default 8fd0d40..08c487b master -> origin/master
Updating 8fd0d40..08c487b
Fast-forward
cpe.pe/batch/padronbatch/padronbatch.go | 9
+++++++++ 1 file changed, 9 insertions(+)
roy_palacios@sanguine-form-95600:~/default/
xxxxxxxxxx.pe/module/batch$ aedeploy gcloud preview app deploy app.yaml
You are about to deploy the following modules:
- sanguine-form-95600/batch (from [/tmp/aedeploy433757798/app.yaml])
Deployed URL: [xxxxxxxxxxxxxxxxx]
Do you want to continue (Y/n)? y
Beginning deployment...
Verifying that Managed VMs are enabled and ready.
Building and pushing image for module [batch]
-------------------------------------------------------------------------------- DOCKER BUILD OUTPUT ---------------------------------------------------------------------------------
Step 1 : FROM
gcr.io/google_appengine/golang---> 28d7c86afc7a
Step 2 : COPY . /go/src/app
---> Using cache
---> 9e8c6f93f56c
Step 3 : RUN go-wrapper install -tags appenginevm
---> Using cache
---> 6693827d78cd
Successfully built 6693827d78cd
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Copying files to Google Cloud Storage...
Synchronizing files to [gs://
staging.sanguine-form-95600.appspot.com/].
Updating module [batch]...done.
Deployed module [batch] to [xxxxxxxxxx]