Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RNC-2769] Add optional prod approval step to release #478

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions rac-gcp-deploy/orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,10 @@ jobs:
description: "Extra options being passed to sbt, like '-mem 2048'"
default: ""
type: string
manual-approval:
description: "Whether to require manual approval step"
default: false
type: boolean
executor: <<parameters.executor>>
steps:
- setup_remote_docker
Expand Down Expand Up @@ -559,6 +563,14 @@ jobs:
- run:
name: "Push container to GCR UAT"
command: docker push "${UAT_IMAGE_ROOT}"
- when:
condition: << parameters.manual-approval >>
steps:
- run:
name: "PRD Approval"
type: approval
requires:
- "Push container to GCR UAT"
- gcloud_auth: *gcloud_auth_prd
- run:
name: "Configure Docker to use gcloud as a credential helper"
Expand All @@ -576,6 +588,7 @@ jobs:
- persist_workspace:
to: <<parameters.workspace-dir>>


build_and_release_version:
parameters:
executor:
Expand Down