Skip to content

Commit

Permalink
ci: bump actions, only use scheduled zap (#134)
Browse files Browse the repository at this point in the history
* ci: update deployer, stop pen tests in main merge

* Bump ZAP action

* Cleanup

* One more action bump

* ci: fix promote parameter removed

---------

Co-authored-by: Ricardo Campos <[email protected]>
  • Loading branch information
DerekRoberts and Ricardo Campos authored Nov 7, 2023
1 parent 0fef5bc commit 64ba34e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
-p VITE_USER_POOLS_ID=${{ vars.VITE_USER_POOLS_ID }}
-p VITE_USER_POOLS_WEB_CLIENT_ID=${{ vars.VITE_USER_POOLS_WEB_CLIENT_ID }}
steps:
- uses: bcgov-nr/action-deployer-openshift@v1.4.0
- uses: bcgov-nr/action-deployer-openshift@v2.0.0
with:
file: ${{ matrix.name }}/openshift.deploy.yml
oc_namespace: ${{ vars.OC_NAMESPACE }}
Expand All @@ -80,10 +80,6 @@ jobs:
-p ZONE=test
-p NAME=${{ github.event.repository.name }}
${{ matrix.parameters }}
penetration_test: true
penetration_test_artifact: ${{ matrix.name }}
penetration_test_issue: ${{ matrix.name }}
penetration_test_token: ${{ secrets.GITHUB_SECRET }}

init-prod:
name: PROD Init
Expand All @@ -92,7 +88,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: OpenShift Init
uses: bcgov-nr/action-deployer-openshift@v1.0.4
uses: bcgov-nr/action-deployer-openshift@v2.0.0
with:
oc_namespace: ${{ vars.OC_NAMESPACE }}
oc_server: ${{ vars.OC_SERVER }}
Expand All @@ -118,7 +114,6 @@ jobs:
parameters:
-p VITE_USER_POOLS_ID=${{ vars.VITE_USER_POOLS_ID }}
-p VITE_USER_POOLS_WEB_CLIENT_ID=${{ vars.VITE_USER_POOLS_WEB_CLIENT_ID }}
-p PROMOTE=${{ github.repository }}/frontend:test
steps:
- uses: bcgov-nr/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pentests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
component: [backend, frontend]
steps:
- name: ZAP Scan
uses: zaproxy/action-full-scan@v0.7.0
uses: zaproxy/action-full-scan@v0.8.0
with:
allow_issue_writing: true
artifact_name: "zap_${{ matrix.component }}"
Expand Down

0 comments on commit 64ba34e

Please sign in to comment.