Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4e46685
update the format/sonar/test workflow configurations
chloe-yuu May 15, 2025
7457985
update the format/sonar/test workflow configurations (#1094)
chloe-yuu May 20, 2025
d854cc1
update the deployment workflow file for dev-env
chloe-yuu May 20, 2025
a06423b
update the deployment workflow file for dev-env (#1095)
chloe-yuu May 20, 2025
4cfb56c
update test deployment workflow
chloe-yuu May 20, 2025
643cd99
update test deployment workflow (#1096)
chloe-yuu May 20, 2025
46fa2e4
Merge branch 'dev-env' of https://github.com/bcgov/hcap into Create_n…
chloe-yuu May 20, 2025
740b93e
remove the auto deployment feture on test-env
chloe-yuu May 21, 2025
70710bd
Remove the auto deployment feature on test-env (#1098)
chloe-yuu May 21, 2025
b25b443
Merge branch 'dev-env' of https://github.com/bcgov/hcap into Create_n…
chloe-yuu May 21, 2025
4f1db6d
remove tags for dev&test deployments
chloe-yuu May 21, 2025
fa1199a
remove tags for dev&test deployments (#1099)
chloe-yuu May 21, 2025
4339d56
Merge branch 'dev-env' of https://github.com/bcgov/hcap into Create_n…
chloe-yuu May 21, 2025
5c5b6a4
update the deployment workflow file for dev&test
chloe-yuu May 21, 2025
055eb48
update the deployment workflow file for dev&test (#1100)
chloe-yuu May 21, 2025
3e5856c
Merge branch 'dev-env' of https://github.com/bcgov/hcap into Create_n…
chloe-yuu May 21, 2025
73f3bb3
update README for deployment
chloe-yuu May 22, 2025
c08fe42
update the manual trigger on dev&test deployment files
chloe-yuu May 23, 2025
2b2aa75
update the manual trigger on dev&test deployment files (#1102)
chloe-yuu May 23, 2025
a99f3b5
Merge branch 'dev-env' of https://github.com/bcgov/hcap into Create_n…
chloe-yuu May 23, 2025
b758344
update format('{0}~1', github.sha) to 'HEAD^'
chloe-yuu May 23, 2025
1d4379b
update format('{0}~1', github.sha) to 'HEAD^' (#1103)
chloe-yuu May 23, 2025
6c5fb6e
Merge branch 'dev-env' of https://github.com/bcgov/hcap into Create_n…
chloe-yuu May 23, 2025
bc4ae09
add step to get previous commit
chloe-yuu May 23, 2025
fcbbc01
fix the issue getting the previous commit info
chloe-yuu May 23, 2025
ccda4ef
Merge remote-tracking branch 'origin/test-env' into temp-fix
chloe-yuu May 23, 2025
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
21 changes: 15 additions & 6 deletions .github/workflows/promote-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,19 @@ jobs:
with:
oc: latest

- name: Get previous commit
id: get-prev-commit
run: echo "prev_commit=$(git rev-parse HEAD^)" >> $GITHUB_OUTPUT

- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'openshift/**'
#github.event.before is the SHA of the commit before the push event (only available during push events)
#HEAD~1 is the commit right before the latest commit on dev-env
base: ${{ github.event.before || 'HEAD~1' }}
# github.event.before is the SHA of the commit before the push event (only available during push events)
# steps.get-prev-commit.outputs.prev_commit contains the SHA of the parent commit (one before the current commit)
base: ${{ github.event.before || steps.get-prev-commit.outputs.prev_commit }}
- name: Dry run - Dev
env:
OS_NAMESPACE_SUFFIX: dev
Expand Down Expand Up @@ -119,15 +123,20 @@ jobs:
uses: redhat-actions/openshift-tools-installer@v1
with:
oc: latest

- name: Get previous commit
id: get-prev-commit
run: echo "prev_commit=$(git rev-parse HEAD^)" >> $GITHUB_OUTPUT

- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'openshift/**'
#github.event.before is the SHA of the commit before the push event (only available during push events)
#HEAD~1 is the commit right before the latest commit on dev-env
base: ${{ github.event.before || 'HEAD~1' }}
# github.event.before is the SHA of the commit before the push event (only available during push events)
# steps.get-prev-commit.outputs.prev_commit contains the SHA of the parent commit (one before the current commit)
base: ${{ github.event.before || steps.get-prev-commit.outputs.prev_commit }}
- name: Apply Changes
env:
OS_NAMESPACE_SUFFIX: dev
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/promote-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,17 @@ jobs:
- name: Verify OpenShift CLI installation
run: oc version

- name: Get previous commit
id: get-prev-commit
run: echo "prev_commit=$(git rev-parse HEAD^)" >> $GITHUB_OUTPUT

- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'openshift/**'
base: 'HEAD~1' #The commit right before the latest commit on test-env
base: ${{ steps.get-prev-commit.outputs.prev_commit }} #The commit right before the current commit

- name: Dry run - Test
env:
Expand Down Expand Up @@ -96,13 +100,18 @@ jobs:
with:
ref: ${{ github.event.inputs.ref }}
fetch-depth: 0

- name: Get previous commit
id: get-prev-commit
run: echo "prev_commit=$(git rev-parse HEAD^)" >> $GITHUB_OUTPUT

- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- 'openshift/**'
base: 'HEAD~1' #The commit right before the latest commit on test-env
base: ${{ steps.get-prev-commit.outputs.prev_commit }} #The commit right before the current commit

- name: Apply Changes
env:
Expand Down
Loading