Move ocp-relay CD from Silver to Gold OpenShift cluster#1993
Draft
panish16 wants to merge 1 commit into
Draft
Conversation
Switches ocp-relay-cd.yml to the shared bcgov/bcregistry-sre backend-cd-ocp.yaml reusable workflow with OPENSHIFT_GOLD_* secrets, matching the pattern already used for other BC Registries OCP services (bcgov/sbc-pay ftp-poller, bcgov/namex-search namex-solr-importer, bcgov/lear colin-api). Adds services/ocp-relay/devops/vaults.ocp.env, required by the reusable workflow's 1Password injection step. Vault/item names are drafted from naming conventions used in other bcgov vaults.ocp.env files and need confirmation from SRE before this is relied on. Refs bcgov/entity#34060
|
| commit: true | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| ocp-relay-cd: | ||
| uses: bcgov/bcregistry-sre/.github/workflows/backend-cd-ocp.yaml@main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Summary
ocp-relay-cd.ymlto the sharedbcgov/bcregistry-srebackend-cd-ocp.yamlreusable workflow, usingOPENSHIFT_GOLD_*secrets instead of the Silver-clusterOPENSHIFT4_*secrets. This matches the pattern already used for other BC Registries OCP services (bcgov/sbc-payftp-poller,bcgov/namex-searchnamex-solr-importer,bcgov/learcolin-api).services/ocp-relay/devops/vaults.ocp.env, required by the reusable workflow's 1Password injection step.Needs confirmation before merge (opening as draft)
vaults.ocp.envvault/item names are placeholders drafted fromconfig.py/.env.sampleby analogy with other bcgovvaults.ocp.envfiles — they are not verified against the actual 1Password structure for ocp-relay and need SRE sign-off.OPENSHIFT_GOLD_*secrets are already available to this repo (they appear to be org-level, based on usage in sibling repos) and that a Gold namespace/Deployment forocp-relayhas been provisioned by SRE ahead of this workflow running.Refs bcgov/entity#34060
Test plan
vaults.ocp.envOPENSHIFT_GOLD_*secrets and Gold namespace/Deployment exist for ocp-relayworkflow_dispatchagainstdevand verify rollout succeeds in Gold