Skip to content

Commit 487f403

Browse files
authored
chore(ci): external Helm charts (#127)
1 parent 907a026 commit 487f403

File tree

23 files changed

+10
-6272
lines changed

23 files changed

+10
-6272
lines changed

.github/workflows/.deployer.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ on:
5151
type: string
5252

5353
### Usually a bad idea / not recommended
54+
repository:
55+
description: Optionally, specify a different repo to clone
56+
default: ${{ github.repository }}
57+
required: false
58+
type: string
5459
timeout-minutes:
5560
description: 'Timeout minutes'
5661
default: 10
@@ -130,8 +135,6 @@ jobs:
130135
# Convert packages to JSON array for job matrix
131136
echo "packages=$(jq -cn '$ARGS.positional' --args ${{ inputs.promote_images }})" >> $GITHUB_OUTPUT
132137
133-
134-
135138
### Deploy
136139
- name: Interrupt deployments (PR only)
137140
if: github.event_name == 'pull_request'
@@ -140,6 +143,7 @@ jobs:
140143
oc_namespace: ${{ secrets.oc_namespace }}
141144
oc_token: ${{ secrets.oc_token }}
142145
oc_server: ${{ inputs.oc_server }}
146+
repository: ${{ inputs.repository }}
143147
triggers: ${{ inputs.triggers }}
144148
commands: |
145149
# Interrupt any previous deployments (PR only)
@@ -152,11 +156,12 @@ jobs:
152156
153157
# - name: Deploy Helm chart
154158
# id: deploy
155-
# uses: bcgov/action-oc-runner@v1.2.0
159+
# uses: bcgov/action-oc-runner@v1.0.0
156160
# with:
157161
# oc_namespace: ${{ secrets.oc_namespace }}
158162
# oc_token: ${{ secrets.oc_token }}
159163
# oc_server: ${{ inputs.oc_server }}
164+
# repository: ${{ inputs.repository }}
160165
# triggers: ${{ inputs.triggers }}
161166
# commands: |
162167
# # Package Helm chart

.github/workflows/merge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ jobs:
2929
oc_token: ${{ secrets.oc_token }}
3030
with:
3131
environment: test
32+
repository: bcgov/quickstart-openshift
3233
tag: ${{ inputs.tag }}

.github/workflows/pr-open.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
atomic: false
5858
promote_images: backend frontend migrations
5959
promote_tags: pr
60+
repository: bcgov/quickstart-openshift
6061

6162
csr-generator: # testing, will be deleted
6263
name: Certificate Generation

charts/app/.helmignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

charts/app/Chart.lock

Lines changed: 0 additions & 6 deletions
This file was deleted.

charts/app/Chart.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)