Skip to content
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