I'm in the process of configuring my Go app to be able to be automatically deployed on pushes to master
on GitHub.
So far, I've been able to set it up using Google App Engine's flexible environment but I'm unable to take advantage of the free tier by doing so. I'm pretty sure what I'm doing wrong is misconfiguring my cloudbuild.yml
file since it seems like the code is actually getting to GAE but it will not run when it gets there.
Here's my app.yaml
:
runtime: go112
Here's my cloudbuild.yaml
:
steps:
- name: 'golang'
args: ['go', 'build', '.']
env: ['GO111MODULE=on']
The Go app itself is relatively standard in its layout/design and can be found here where I'm working on the "gae-standard" branch.
I'd ideally love to have: - TravisCI run tests/deploy code to GAE - GAE running the code in the standard environment
If anyone has a good example to point me at, or some insight into what I'm doing wrong, I'd appreciate it.