Is there any way to download source code to google compute instance?

52 views
Skip to first unread message

jongchul seon

unread,
Apr 20, 2015, 4:09:01 AM4/20/15
to gce-dis...@googlegroups.com
Hi.

This question may sounds like strange.

However, I think it is necessary for me. 

1. I uploaded my web application source code to my bitbucket repository. 

2. I created source code on the browser console to see what is going on the source code.

3. Since the source code can be compiled with simple command like 'activator assembly, I would like to download the source code to my gce instance without Jenkins. 

4. I would like to use REST API test tool - I'm currently looking for - after I download, compile and run my web application on gce instance.

I would like to download my source code to my gce instance, because it is very clear for project members to change application source code and deploy it to 
gce instance without complicated additional step.

Is there any way to do that? 

ps.) Attached file is my web console related with Source Code. 

Best regards. 

 
google_cloud_source_code.jpg

George

unread,
Apr 29, 2015, 8:01:37 PM4/29/15
to gce-dis...@googlegroups.com
Hi,

You can download it using the following command: 
appcfg.py download_app -A <your_app_id> -V <your_app_version> <output-dir>
You can have more information in the Help Center article

Hope this helps.

Regards,
George

jongchul seon

unread,
Apr 30, 2015, 8:15:15 AM4/30/15
to gce-dis...@googlegroups.com
Hi George

Thank you for your information. Actually I thought too much.

I can use google cloud storage instead of source code.

1. I compiled and uploaded my web application to google cloud storage.
   (Frankly google cloud storage is a little bit slow in my country. Bitbucket is much faster...... I don't know why. Probably too many small files can slow down the upload.)

2. Optionally I can upload my source code to my bitbucket repository just after uploading my web application to the storage.
   (It is for people who want to see the source code.)

3. I can do some tests, whatever I want to do on my compute engine instance. 

4. If test dose not fail, I can make custom image for my web application for deploy.

Many Thanks......

2015년 4월 30일 목요일 오전 12시 1분 37초 UTC, George 님의 말:

George

unread,
May 2, 2015, 2:57:13 PM5/2/15
to gce-dis...@googlegroups.com
Hey,

Sounds like a good plan. Let me know if you encounter any issues while deploying and I will be glad to help.

Regards,
George
Reply all
Reply to author
Forward
0 new messages