bcgov/OpenShift Deployer

OpenShift deployer

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
fileTemplate file Example frontend/openshift.deploy.yml yes
oc_namespaceOpenShift namespace Example: abc123-dev, abc123-test, abc123-prod yes
oc_serverOpenShift server URL with port Example: https://api.silver.devops.gov.bc.ca:6443 yes
oc_tokenOpenShift access token for authentication Should be stored as a GitHub secret yes
overwriteReplace existing objects/artifacts? Example: true, false true
parametersTemplate parameters/variables to pass Example: -p ZONE=1234
timeoutTimeout for deployment Example: 30s, 10m, 1h 15m
triggersOmit to always build, otherwise trigger by path Example: ('./backend/', './frontend/)
lite_modeApply 'lite mode' modifications (scaling down, removing PDBs) for pull requests? Example: true, false ${{ github.event.pull_request != '' }}
debugEnable debug logging? Example: true, false false
refBranch to diff against Example: main ${{ github.event.repository.default_branch }}
oc_versionOverride default OpenShift CLI (oc) version Example: 4.16
repositorySpecify a different repo to clone Example: bcgov/quickstart-openshift ${{ github.repository }}
github_tokenSpecify token (GH or PAT), instead of inheriting one from the calling workflow ${{ github.token }}
oc_login_attemptsMaximum number of connection retry attempts for logging into OpenShift Example: 5, 10 5
namedescription
triggeredDid a deployment trigger? [true|false]