4 ms·
Yay, and once again us Google App Engine users are shafted from having good CD support, especially when we use Bitbucket as our repo host.
by shruubi 10y ago
Yay, and once again us Google App Engine users are shafted from having good CD support, especially when we use Bitbucket as our repo host.
- ibuchanan 10y agoWhile 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.
- ibuchanan 10y agoMy colleagues have pointed out the simple answer is: Anything you can do with Bash, you can do in Bitbucket Pipelines.