Skip to content

Commit

Permalink
23247 - Enable CD for BCOL API GOLD (#1802)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 authored Oct 29, 2024
1 parent 0336a01 commit 4dd29c0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/bcol-api-cd-gold.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: BCOL API GOLD CD

on:
push:
branches:
- main
paths:
- "bcol-api/**"
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- prod

jobs:
bcol-api-cd:
uses: bcgov/bcregistry-sre/.github/workflows/backend-cd-ocp.yaml@main
with:
target: ${{ inputs.target }}
app_name: "bcol-api"
working_directory: "./bcol-api"
secrets:
OP_CONNECT_URL: ${{ secrets.OP_GOLD_CONNECT_URL }}
OP_CONNECT_TOKEN: ${{ secrets.OP_GOLD_CONNECT_TOKEN }}
OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT_GOLD_DOCKER_REGISTRY }}
OPENSHIFT_LOGIN_REGISTRY: ${{secrets.OPENSHIFT_GOLD_LOGIN_REGISTRY}}
OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT_GOLD_SA_NAME }}
OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT_GOLD_SA_TOKEN }}
OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT_GOLD_REPOSITORY }}
2 changes: 1 addition & 1 deletion .github/workflows/bcol-api-cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: BCOL API CD
name: BCOL API SILVER CD

on:
push:
Expand Down

0 comments on commit 4dd29c0

Please sign in to comment.