Closed theferrit32 closed 3 years ago
Sort of depends on https://github.com/clingen-data-model/curator/issues/6
There is also a Google Cloud Build github app that might reduce complexity from having to manage github action secrets.
https://github.com/marketplace/google-cloud-build
The cloud build pipeline could probably be made to trigger a github action when done, to update the image tag in the deployment file.
I missed something, why are we considering using Docker for the admin app? Is this just to automate the build? As far as hosting is concerned, Firebase hosting or a public cloud storage bucket would be more appropriate.
Firebase is fine with me for this one. We'll need automated build and deploy via docker+kubernetes for several other repositories. Maybe we replicate this issue to clinvar-streams
for a docker based action there.
There is a GitHub action for firebase: https://github.com/marketplace/actions/github-action-for-firebase
It looks like firebase domains are just for the entire project, i.e. it seems we can't have multiple deploys simultaneously in the same GCP project. We'll need a plan for where we deploy these to. Maybe master
commits/merges go to clingen-stage
firebase, leaving open clingen-dev
firebase for active development.
OK, the docker build stuff is pretty generic, so it can definitely be applied elsewhere. I'll start looking into firebase deployments.
Push image to
gcr.io/clingen-dev/curator
with commit hash tag.