Skip to content

Commit

Permalink
feature(cb2-11263): update AWS SDK v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruairidh-BJSS committed Apr 10, 2024
1 parent b905022 commit 1303ff6
Show file tree
Hide file tree
Showing 24 changed files with 1,612 additions and 14,712 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_hash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
workflow_dispatch:
push:
branches:
- 'feature/*'
- "feature/*"

jobs:
Build:
uses: dvsa/cvs-github-actions/.github/workflows/build-node-hash.yaml@develop
secrets:
CVS_MGMT_AWS_ROLE: ${{ secrets.CVS_MGMT_AWS_ROLE }}
DVSA_AWS_REGION: ${{ secrets.DVSA_AWS_REGION }}
DVSA_AWS_REGION: ${{ secrets.DVSA_AWS_REGION }}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
security:
uses: dvsa/.github/.github/workflows/nodejs-security.yaml@v2
with:
args: '--all-projects'
args: "--all-projects"
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
26 changes: 13 additions & 13 deletions .github/workflows/pr-plan.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: PR-checks

on:
push:
branches: ['develop']
pull_request:
branches: ['develop']
push:
branches: ["develop"]
pull_request:
branches: ["develop"]

jobs:
scanner:
Expand All @@ -17,12 +17,12 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.CVS_MGMT_AWS_ROLE }}
aws-region: ${{ secrets.DVSA_AWS_REGION }}
role-session-name: 'cvs-tsk-atf-report-gen'
role-session-name: "cvs-tsk-atf-report-gen"
- uses: aws-actions/aws-secretsmanager-get-secrets@v1
with:
secret-ids: sonarqube-gha
Expand All @@ -31,10 +31,10 @@ jobs:
run: npm ci
- name: Run SonarQube scanner
run: |
npm run test && \
npm run sonar-scanner -- \
-Dsonar.host.url=${{ env.SONARQUBE_GHA_URL }} \
-Dsonar.token=${{ env.SONARQUBE_GHA_TOKEN }} \
-Dsonar.login=${{ env.SONARQUBE_GHA_TOKEN }} \
-Dsonar.projectName=${{ github.repository }} \
-Dsonar.projectVersion=1.0.${{ github.run_id }}
npm run test && \
npm run sonar-scanner -- \
-Dsonar.host.url=${{ env.SONARQUBE_GHA_URL }} \
-Dsonar.token=${{ env.SONARQUBE_GHA_TOKEN }} \
-Dsonar.login=${{ env.SONARQUBE_GHA_TOKEN }} \
-Dsonar.projectName=${{ github.repository }} \
-Dsonar.projectVersion=1.0.${{ github.run_id }}
Loading

0 comments on commit 1303ff6

Please sign in to comment.