3 ms·
While we don't have the "recipe" documented in an example repository, GAE does have right knobs and levers that would make it possible to use Bitbucket Pipeline
by ibuchanan 10y ago
While we don't have the "recipe" documented in an example repository, GAE does have right knobs and levers that would make it possible to use Bitbucket Pipelines with GAE. Give it a try! And, even if we haven't made an example repository yet, don't rule it out.
- shruubi 10y agoI'd love to, I just have no idea where I would even start. Any advice?
- ibuchanan 10y agoI've written some of the code for other deployment targets. One of my earliest was for S3: https://bitbucket.org/ian_buchanan/pipeline-example-aws-s3 https://bitbucket.org/ian_buchanan/pipeline-example-aws-s3 So, the first thing to check is for simple REST APIs that you can curl. If I recall correctly, GAE is tricky because it takes more than 1 API call. Next, check for a CLI or script library. I see Google provides an SDK that might work: https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python https://cloud.google.com/appengine/downloads#Google_App_Engi... In that case, we have to pull the library into an appropriate image. For example, here's how the Amazon folks solved for S3: https://bitbucket.org/awslabs/amazon-s3-bitbucket-pipelines-python https://bitbucket.org/awslabs/amazon-s3-bitbucket-pipelines-... I won't have time to look at GAE more closely until next week, but hit me up on Twitter if you want to DM me: @devpartisan
- chrisbroadfoot 10y agoMy Travis config deploys to App Engine. Have a look at these two files: https://github.com/GoogleCloudPlatform/golang-samples/blob/master/.travis.yml https://github.com/GoogleCloudPlatform/golang-samples/blob/m... https://github.com/GoogleCloudPlatform/golang-samples/blob/master/testing/travis/configure_gcloud.bash https://github.com/GoogleCloudPlatform/golang-samples/blob/m... Those might be useful for configuring Bitbucket Pipelines.