skyhook-io/Skyhook Parse Deploy Config Source

Parse deployment configuration source string into repo, ref, and path components

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
sourceDeployment config source in format: [<repo>][@<ref>][:<path>] All parts are optional and can be omitted: - repo: "self" for current repo, or "owner/repo" (defaults to "self") - @ref: branch/tag (defaults to current ref for self, default branch for others) - :path: path to service/app directory (defaults to ".") The action expects deployment configs to be in <path>/deploy/overlays/<env> Examples: "" # self, current ref, path="." self # self, current ref, path="." @main # self, main branch, path="." :services/api # self, current ref, path="services/api" @main:services/api # self, main branch, path="services/api" self:services/api # self, current ref, path="services/api" Acme/deployments # external repo, default branch, path="." Acme/deployments@main:services/api # external repo, main branch, path="services/api" yes
environmentThe deployment environment (e.g., dev, staging, prod)no
namedescription
repositoryThe parsed repository (owner/repo format)
refThe parsed git ref (branch or tag)
pathThe parsed path to service/app deployment directory
is_selfWhether this is the current repository (true/false)
overlay_dirThe full path to the overlay directory for the environment (only set if environment input is provided)
is_separate_deploy_repoWhether the deployment repo is different from the current repository (true/false)