Skip to content

Releases: octue/get-deployment-info

Make branch deployment revision tag 16 characters

25 Apr 15:00
Compare
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
Compare
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
Compare
Choose a tag to compare

Contents (#17)

Fixes

  • Fix typo in GCP_ENVIRONMENT_KEBAB

Remove GCP environment input

06 Feb 16:55
5879b07
Compare
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
Compare
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
Compare
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

Shorten revision tag for pull requests

04 Dec 16:25
f83ccd4
Compare
Choose a tag to compare

Contents (#13)

Fixes

  • Shorten revision tag to "pull-<pull request number>" for pull request runs

Operations

  • Run test workflow on pull request only

Facilitate branch deployments

29 Nov 10:52
d9b573d
Compare
Choose a tag to compare

Summary

This pull request does two main things:

  1. It distinguishes between the version specified in the setup.py or pyproject.toml file and the revision tag:
  • The version_slug output is now the slugified form of version instead of the slugified form of the revision tag
  • The old form of version_slug is now revision_tag_slug
  • A non-slugified revision_tag output is now available
  1. The revision_tag of a non-main branch is now branch-<branch-name> instead of unreleased. This facilitates having multiple deployed branches.

Contents (#10)

IMPORTANT: There is 1 breaking change.

Enhancements

  • 💥 BREAKING CHANGE: Distinguish between version and revision tag
  • Set revision tag to branch-<branch-name> if branch is not main

Operations

  • Update pre-commit config

Testing

  • Temporarily disable short sha check

Upgrade instructions

💥 Distinguish between version and revision tag

Use revision_tag_slug instead of version_slug to get the same value

Rename "artefact" to "artifact" to align with common spelling

06 Feb 17:23
5edf1d3
Compare
Choose a tag to compare

Contents (#7)

Fixes

  • Rename "artefact" to "artifact" to align with common spelling

Print outputs to `stdout` as part of action

10 Jan 11:14
cf7beef
Compare
Choose a tag to compare

Contents (#4)

Enhancements

  • Echo outputs to stdout as part of action

Documentation

  • Update action input/output descriptions
  • Add branding to action