Releases: octue/get-deployment-info
Releases · octue/get-deployment-info
Remove `main-` prefix from main branch image tags
Contents (#27)
Fixes
- Remove 
main-prefix from main branch image tags (the tags are now<version>andlatest) 
Add new repository name to artifact addresses
Add default image artifact output
Summary
This release adds the image_default_artifact output, which is the same as the other artifact URIs but with a tag of default. This is intended to be used when an image is built and pushed on the main branch to indicate it's the default image for a service (i.e. it'll be run as the default service revision).
Contents (#25)
New features
- Add 
image_default_artifactoutput 
Operations
- Improve dockerfile
 - Switch to 
rufflinter - Update workflows and actions
 
Dependencies
- Upgrade to 
poetry=^2and disable package mode 
Refactoring
- Move 
entrypoint.shto top level 
Strip hyphens and underscores from end of branch revision tags
Make branch deployment revision tag 16 characters
Contents (#22)
Fixes
- Make branch deployment revision tag 16 characters to avoid ending in a hyphen on pull request runs (an invalid ending for Cloud Run deployment tags)
 
Update entrypoint.sh
Fix typo in `GCP_ENVIRONMENT_KEBAB`
Remove GCP environment input
Contents (#16)
IMPORTANT: There is 1 breaking change.
New features
- 💥 BREAKING CHANGE: Deduce GCP environment from branch name. It will be 
productionformainbranch andstagingfor other branches 
Upgrade instructions
💥 Deduce GCP environment from branch name
Stop using the gcp_environment input and use the gcp_environment_kebab and/or gcp_environment_screaming outputs.
Fix branch tag truncation
Contents (#15)
Fixes
- Fix branch tag truncation for non-bash shells
 - Remove extra 
pull-prefix from revision tags for non-main branches 
Dependencies
- Update lock file
 
Testing
- Build docker image for each test run to ensure the tested code is up to date
 
Use truncated branch or pull request name for revision tag for non-main deployments
Contents (#14)
Fixes
- Use truncated branch or pull request name for revision tag on non-
mainbranches 
Other
- Update readme with non-main branch deployment info