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

fix(ci): update gtfs-rt-archiver-v3 tagging and docs #3455

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

themightychris
Copy link
Contributor

Description

The docs on how to deploy the gtfs-rt-archiver-v3 image were out of date, and the workflow was prone to unexpectedly updating the already-deployed container image if the pyproject.toml version hadn't been manually updated.

For example, upon merging a dependabot PR that makes changes to services/gtfs-rt-archiver-v3/* and new image would get built and pushed over the already-deployed container image tag, leading production instances to start using the new version without any verification step or the designed manual new version deployment.

This change appends the short SHA to the container tag as a build number suffix, ensuring that each is build is uniquely identified and must be intentionally deployed to production.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

How has this been tested?

In a forked repo

Post-merge follow-ups

  • verify container image with new tagging scheme deploys
  • deploy new image

Copy link
Contributor

@ohrite ohrite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍐 Paired to review with @themightychris
More SHA = more good

@themightychris themightychris merged commit 00ace1e into main Sep 13, 2024
3 checks passed
@themightychris themightychris deleted the fix/archiver-tagging branch September 13, 2024 21:05
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.

2 participants