octue/Get deployment information

Get the information required to build and deploy an Octue Twined service.

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Maintainedlast commit Feb 24, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: octue/get-deployment-info@727a9f290c41d39c1067193c63eb30e756917111 # 0.4.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
gcp_project_nameThe name of the Google Cloud project being deployed to.yes
gcp_project_numberThe number of the Google Cloud project being deployed to.yes
gcp_regionThe Google Cloud region being deployed to.yes
gcp_resource_affixA label to affix to the names of the resources created during deployment. This helps avoid confusion about what resources belong to what applications and aids cleanup of old resources.yes
gcp_service_nameThe name of the service being deployed.yes
namedescription
branch_tag_kebabThe tag or branch name in kebab case.
branch_tag_screamingThe tag or branch name in screaming snake case.
image_latest_artifactThe artifact URI for the latest docker image.
image_latest_tagThe tag of the latest docker image for the service.
image_version_artifactThe artifact URI for the docker image for the version to deploy.
image_version_tagThe tag of the docker image for the version.
image_default_artifactThe artifact URI for the default docker image for the service.
short_shaThe short SHA of the HEAD commit being deployed.
versionThe version in pyproject.toml or setup.py.
version_slugThe version in pyproject.toml or setup.py (slugified).
revision_tagThe revision tag to use for deployment (can be a branch name).
revision_tag_slugThe revision tag to use for deployment (can be a branch name) (slugified).
gcp_project_nameThe name of the Google Cloud project being deployed to.
gcp_project_numberThe number of the Google Cloud project being deployed to.
gcp_regionThe Google Cloud region being deployed to.
gcp_resource_affixA label to affix to the names of the resources created during deployment. This helps avoid confusion about what resources belong to what applications and aids cleanup of old resources.
gcp_service_nameThe name of the service being deployed.
gcp_environment_kebabIf the branch is 'main', this is 'production'; otherwise it's 'staging'.
gcp_environment_screamingIf the branch is 'main', this is 'PRODUCTION'; otherwise it's 'STAGING'.