Skip to content

Releases: octue/get-deployment-info

Remove `main-` prefix from main branch image tags

24 Feb 11:06
727a9f2

Choose a tag to compare

Contents (#27)

Fixes

  • Remove main- prefix from main branch image tags (the tags are now <version> and latest)

Add new repository name to artifact addresses

20 Feb 12:25
08ae2e6

Choose a tag to compare

Contents (#26)

Fixes

  • Add new repository name to artifact addresses

Refactoring

  • Update envvar name

Add default image artifact output

18 Feb 15:38
2a0f7da

Choose a tag to compare

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_artifact output

Operations

  • Improve dockerfile
  • Switch to ruff linter
  • Update workflows and actions

Dependencies

  • Upgrade to poetry=^2 and disable package mode

Refactoring

  • Move entrypoint.sh to top level

Strip hyphens and underscores from end of branch revision tags

11 Dec 17:43

Choose a tag to compare

Contents (#24)

Fixes

  • Strip hyphens and underscores from end of revision tag

Make branch deployment revision tag 16 characters

25 Apr 15:00

Choose a tag to compare

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

06 Feb 19:14
29e7a8f

Choose a tag to compare

Contents (#18)

Fixes

  • Fix setting of GCP_ENVIRONMENT_KEBAB and GCP_ENVIRONMENT_KEBAB

Fix typo in `GCP_ENVIRONMENT_KEBAB`

06 Feb 17:12
c495298

Choose a tag to compare

Contents (#17)

Fixes

  • Fix typo in GCP_ENVIRONMENT_KEBAB

Remove GCP environment input

06 Feb 16:55
5879b07

Choose a tag to compare

Contents (#16)

IMPORTANT: There is 1 breaking change.

New features

  • 💥 BREAKING CHANGE: Deduce GCP environment from branch name. It will be production for main branch and staging for 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

29 Jan 14:21
1d4a51c

Choose a tag to compare

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

29 Jan 12:03
25179fd

Choose a tag to compare

Contents (#14)

Fixes

  • Use truncated branch or pull request name for revision tag on non-main branches

Other

  • Update readme with non-main branch deployment info