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

Make deployment idempotent per service version #6

Open
carnesen opened this issue Aug 20, 2020 · 0 comments
Open

Make deployment idempotent per service version #6

carnesen opened this issue Aug 20, 2020 · 0 comments

Comments

@carnesen
Copy link
Owner

carnesen commented Aug 20, 2020

Problem

Currently we push a new version for every service for every deployment. This has a few disadvantages:

  • deployment takes a very long time since we are generally doing 8x more work than we need to be every time
  • It makes it hard to know which version of an app is deployed because all we can see is the auto-generated version
  • Because we are deploying so many versions we run into limits and have to go around cleaning up

Solution

  • Use gcloud app deploy's --version flag to set the version explicitly when creating a new version
  • Only deploy the current version if it does not already exist
@carnesen carnesen changed the title Make it possible to deploy only individual services Make deployment idempotent per version Aug 23, 2020
@carnesen carnesen changed the title Make deployment idempotent per version Make deployment idempotent per service version Aug 23, 2020
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

No branches or pull requests

1 participant