Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support deployment to separate gcp project #134

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

MichaelAkvo
Copy link

@MichaelAkvo MichaelAkvo commented Apr 14, 2022

This PR will support deploying ISCO to its own, separate GCP project.

A test is up under https://isco-project.akvotest.org

The major change will be in how a deployment is done to production: via the semaphore CI interface by the click of a button.
image

It won't be necessary to tag the release anymore. That however can be introduced, which gives us the option to protect the tag and only allow certain members to push the tag. The promotion to production will the start automatically after the tag has been pushed.

Closes #122

The file ending helps with syntax highlighting

#122: Deploy to separate GCP project
This will allow specifying where to push the images right from semaphore

#122: Deploy to separate GCP project
The GCP project was hardcoded, but now it's possible to specify a different one
 using environment variables.

#122: Deploy to separate GCP project
All tasks will need the repo

#122: Deploy to separate GCP project
Sometimes we just want to check if the build is working or to force a new one

#122: Deploy to separate GCP project
New env vars were introduced for deploying and building.
These are now in SemaphoreCI

#122: Deploy to separate GCP project
#122: Deploy to separate GCP project
@MichaelAkvo MichaelAkvo self-assigned this Apr 14, 2022
@MichaelAkvo MichaelAkvo force-pushed the isco-122-deploy-to-separate-gcp-project branch 2 times, most recently from 805c8d4 to 23d2ed1 Compare April 14, 2022 14:44
Env vars with prefixes have to be present and they are then stripped of their prefix
 depending on which env to deploy to.

IMAGE_PREFIX is now only used in the deploy script as it's the only one that realistically needs it.

#122: Deploy to separate GCP project
#122: Deploy to separate GCP project
@MichaelAkvo MichaelAkvo force-pushed the isco-122-deploy-to-separate-gcp-project branch from 23d2ed1 to 1edd439 Compare April 14, 2022 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deploy to separate GCP project
1 participant