diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index f722881d5..715bb700a 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -19,7 +19,7 @@ jobs: codeql: name: CodeQL if: ${{ ! github.event.pull_request.draft }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - uses: actions/checkout@v4 @@ -39,12 +39,12 @@ jobs: trivy: name: Trivy Security Scan if: ${{ ! github.event.pull_request.draft }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: - uses: actions/checkout@v4 - name: Run Trivy vulnerability scanner in repo mode - uses: aquasecurity/trivy-action@0.24.0 + uses: aquasecurity/trivy-action@0.29.0 with: format: "sarif" output: "trivy-results.sarif" @@ -61,7 +61,7 @@ jobs: tests: name: Tests if: ${{ ! github.event.pull_request.draft }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 services: postgres: @@ -123,7 +123,7 @@ jobs: name: Results needs: [codeql, trivy, tests] if: always() && (! failure()) - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: - run: echo "Success!" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8258f496b..89f87367b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -115,7 +115,7 @@ jobs: deploys: name: Helm environment: ${{ inputs.environment }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/e2e-regression-tests.yml b/.github/workflows/e2e-regression-tests.yml index 25d36373d..faf488785 100644 --- a/.github/workflows/e2e-regression-tests.yml +++ b/.github/workflows/e2e-regression-tests.yml @@ -19,7 +19,7 @@ jobs: outputs: target: ${{ steps.env.outputs.target }} environment: ${{ steps.env.outputs.environment }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: env id: env @@ -39,7 +39,7 @@ jobs: name: ${{matrix.test}} needs: [vars] environment: ${{needs.vars.outputs.environment}} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 defaults: run: working-directory: tests/ @@ -63,7 +63,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: cypress-io/github-action@v6.7.7 + - uses: cypress-io/github-action@v6.7.8 name: Cypress run env: CYPRESS_baseUrl: https://${{ github.event.repository.name }}-${{ needs.vars.outputs.target || 'test' }}-frontend.apps.silver.devops.gov.bc.ca/ diff --git a/.github/workflows/loadtest.yml b/.github/workflows/loadtest.yml index e94078bf2..44980adad 100644 --- a/.github/workflows/loadtest.yml +++ b/.github/workflows/loadtest.yml @@ -29,13 +29,13 @@ jobs: loadtests: name: Loadtests environment: ${{ inputs.environment }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 60 steps: - uses: actions/checkout@v4 - name: Run All JMeter Tests In tests Folder - uses: rbhadti94/apache-jmeter-action@v0.5.0 + uses: rbhadti94/apache-jmeter-action@v0.7.0 with: testFilePath: loadtests outputReportsFolder: loadtests/results @@ -48,7 +48,7 @@ jobs: -JVEHICLES_API_URL=${{inputs.vehicles_api_url}} -JRESULTS_DIR=loadtest/results - - uses: actions/upload-artifact@v4.3.6 + - uses: actions/upload-artifact@v4.5.0 with: name: jmeter-test-results path: loadtests/results diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 97ce93ebb..beeca0bf2 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -23,7 +23,7 @@ jobs: name: Set Variables outputs: pr: ${{ steps.pr.outputs.pr }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: # Get PR number for squash merges to main @@ -46,7 +46,7 @@ jobs: promote-images-test: name: Promote Images - Test needs: [deploys-test, vars] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: diff --git a/.github/workflows/notifications.yml b/.github/workflows/notifications.yml index baf93aa6c..b1f86d16d 100644 --- a/.github/workflows/notifications.yml +++ b/.github/workflows/notifications.yml @@ -7,7 +7,7 @@ on: jobs: notify-teams-pr: if: ${{github.event.workflow_run.event == 'pull_request'}} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: simbo/msteams-message-card-action@latest with: @@ -27,7 +27,7 @@ jobs: text: PR Opened notify-teams-merged: if: ${{github.event.workflow_run.event == 'push'}} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: PR Number id: pr diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index 5b66b040a..be71ba936 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -12,7 +12,7 @@ concurrency: jobs: cleanup: name: Cleanup OpenShift and/or Promote Images - uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v0.7.1 + uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml@v0.8.3 secrets: oc_namespace: ${{ vars.OC_NAMESPACE }} oc_token: ${{ secrets.OC_TOKEN }} diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index a5667e2a7..3ff8bb40f 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -16,12 +16,12 @@ jobs: env: DOMAIN: apps.silver.devops.gov.bc.ca PREFIX: ${{ github.event.repository.name }}-${{ github.event.number }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: pull-requests: write timeout-minutes: 1 steps: - - uses: bcgov-nr/action-pr-description-add@v1.1.2 + - uses: bcgov-nr/action-pr-description-add@v1.2.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} add_markdown: | @@ -47,7 +47,7 @@ jobs: name: Set Variables outputs: pr: ${{ steps.pr.outputs.pr }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: PR Number id: pr @@ -57,7 +57,7 @@ jobs: builds: name: Builds needs: [vars] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: @@ -65,7 +65,7 @@ jobs: package: [dops, vehicles, frontend, scheduler, policy] timeout-minutes: 10 steps: - - uses: bcgov-nr/action-builder-ghcr@v2.2.0 + - uses: bcgov-nr/action-builder-ghcr@v2.3.0 with: #keep_versions: 50 package: ${{ matrix.package }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbf2a8dae..7386e0eb4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: outputs: pr: ${{ steps.pr.outputs.pr }} release-name: ${{ steps.release-name.outputs.release-name }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: # Get PR number for squash merges to main @@ -35,7 +35,7 @@ jobs: promote-images-release: name: Promote Images - Release needs: [vars] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: @@ -61,7 +61,7 @@ jobs: promote-images-uat: name: Promote Images - Uat needs: [vars,deploys-uat] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: @@ -87,7 +87,7 @@ jobs: promote-images-prod: name: Promote Images - Prod needs: [vars,deploys-prod] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: packages: write strategy: diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 5ee888e79..c7ce8d979 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -20,7 +20,7 @@ jobs: name: [dops, frontend, vehicles, policy, scheduler] steps: - name: ZAP Scan - uses: zaproxy/action-full-scan@v0.10.0 + uses: zaproxy/action-full-scan@v0.12.0 with: allow_issue_writing: true artifact_name: "zap_${{ matrix.name }}" @@ -30,7 +30,7 @@ jobs: generate-schema-spy: name: Generate SchemaSpy Documentation - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 services: postgres: image: postgres diff --git a/dops/package.json b/dops/package.json index 33c1d622d..c1979b5ac 100644 --- a/dops/package.json +++ b/dops/package.json @@ -57,40 +57,40 @@ "@nestjs/passport": "^10.0.3", "@nestjs/platform-express": "^10.4.15", "@nestjs/schematics": "^10.2.3", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^8.0.0", "@nestjs/testing": "^10.4.15", "@nestjs/typeorm": "^10.0.2", "@types/response-time": "^2.3.8", "axios-retry": "^4.5.0", - "cache-manager": "^5.7.6", + "cache-manager": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "dayjs": "^1.11.13", "dotenv": "^16.4.7", "handlebars": "^4.7.8", - "helmet": "^7.2.0", + "helmet": "^8.0.0", "jwks-rsa": "^3.1.0", - "mssql": "^10.0.4", + "mssql": "^11.0.0", "nest-winston": "^1.10.0", "nestjs-cls": "^4.5.0", "passport": "^0.7.0", "passport-jwt": "^4.0.1", "pdf-lib": "^1.17.1", - "puppeteer": "^22.15.0", + "puppeteer": "^23.0.0", "response-time": "^2.3.3", "rxjs": "^7.8.1", "swagger-ui-express": "^5.0.1", "typeorm": "^0.3.20", "typescript-eslint": "^7.18.0", - "uuid": "^9.0.1", + "uuid": "^11.0.0", "winston": "^3.17.0" }, "devDependencies": { "@golevelup/ts-jest": "^0.6.1", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jest": "^29.5.14", "@types/multer": "^1.4.12", - "@types/node": "^20.17.9", + "@types/node": "^22.0.0", "@types/passport-jwt": "^4.0.1", "@types/supertest": "^6.0.2", "@types/uuid": "^10.0.0", @@ -108,7 +108,7 @@ "jest-sonar-reporter": "^2.0.0", "lint-staged": "^15.2.10", "prettier": "^3.4.2", - "rimraf": "^5.0.10", + "rimraf": "^6.0.0", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5", diff --git a/frontend/package.json b/frontend/package.json index d3eb8041f..16a1a9553 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,27 +10,27 @@ "@fortawesome/free-regular-svg-icons": "^6.7.1", "@fortawesome/free-solid-svg-icons": "^6.7.1", "@fortawesome/react-fontawesome": "^0.2.2", - "@mui/icons-material": "^5.16.9", - "@mui/material": "^5.16.9", - "@mui/x-date-pickers": "^6.20.2", + "@mui/icons-material": "^6.0.0", + "@mui/material": "^6.0.0", + "@mui/x-date-pickers": "^7.0.0", "@tanstack/react-query": "^5.62.3", "@uidotdev/usehooks": "^2.4.1", "axios": "^1.7.9", "dayjs": "^1.11.13", "lottie-web": "^5.12.2", - "material-react-table": "^2.13.3", + "material-react-table": "^3.0.0", "mui-nested-menu": "^3.4.0", "oidc-client-ts": "^3.1.0", "onroute-policy-engine": "^1.1.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-error-boundary": "^4.1.2", "react-hook-form": "^7.50.1", "react-modal": "^3.16.1", "react-oidc-context": "^3.2.0", - "react-router-dom": "^6.28.0", + "react-router-dom": "^7.0.0", "sass": "^1.82.0", - "uuid": "^9.0.1", + "uuid": "^11.0.0", "validator": "^13.12.0" }, "scripts": { @@ -59,18 +59,18 @@ "@hookform/devtools": "^4.3.1", "@mswjs/data": "^0.16.2", "@testing-library/jest-dom": "^6.6.3", - "@testing-library/react": "^14.3.1", + "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@types/material-ui": "^0.21.18", - "@types/node": "^20.17.9", - "@types/react": "^18.3.14", - "@types/react-dom": "^18.3.2", + "@types/node": "^22.0.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@types/react-modal": "^3.16.3", "@types/validator": "^13.12.2", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "@vitejs/plugin-react-swc": "^3.7.2", - "@vitest/coverage-v8": "^1.6.0", + "@vitest/coverage-v8": "^2.0.0", "autoprefixer": "^10.4.20", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", @@ -78,16 +78,16 @@ "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.37.2", - "jsdom": "^24.1.3", + "jsdom": "^25.0.0", "msw": "^2.6.8", "postcss": "^8.4.49", "prettier": "^3.4.2", "typescript": "^5.7.2", - "vite": "^5.4.11", + "vite": "^6.0.0", "vite-plugin-eslint": "^1.8.1", "vite-plugin-svgr": "^4.3.0", - "vite-tsconfig-paths": "^4.3.2", - "vitest": "^1.6.0", + "vite-tsconfig-paths": "^5.0.0", + "vitest": "^2.0.0", "vitest-canvas-mock": "^0.3.3" }, "overrides": { diff --git a/policy/package.json b/policy/package.json index 745bcbf5e..3d534ca3e 100644 --- a/policy/package.json +++ b/policy/package.json @@ -54,19 +54,19 @@ "@nestjs/passport": "^10.0.3", "@nestjs/platform-express": "^10.4.15", "@nestjs/schematics": "^10.2.3", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^8.0.0", "@nestjs/testing": "^10.4.15", "@nestjs/typeorm": "^10.0.2", "@types/response-time": "^2.3.8", "axios-retry": "^4.5.0", - "cache-manager": "^5.7.6", + "cache-manager": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "dayjs": "^1.11.13", "dotenv": "^16.4.7", - "helmet": "^7.2.0", + "helmet": "^8.0.0", "jwks-rsa": "^3.1.0", - "mssql": "^10.0.4", + "mssql": "^11.0.0", "nest-winston": "^1.10.0", "nestjs-cls": "^4.5.0", "passport": "^0.7.0", @@ -76,15 +76,15 @@ "swagger-ui-express": "^5.0.1", "typeorm": "^0.3.20", "typescript-eslint": "^7.18.0", - "uuid": "^9.0.1", + "uuid": "^11.0.0", "winston": "^3.17.0" }, "devDependencies": { "@golevelup/ts-jest": "^0.6.1", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jest": "^29.5.14", "@types/multer": "^1.4.12", - "@types/node": "^20.17.9", + "@types/node": "^22.0.0", "@types/passport-jwt": "^4.0.1", "@types/supertest": "^6.0.2", "@types/uuid": "^10.0.0", @@ -102,7 +102,7 @@ "jest-sonar-reporter": "^2.0.0", "lint-staged": "^15.2.10", "prettier": "^3.4.2", - "rimraf": "^5.0.10", + "rimraf": "^6.0.0", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5", diff --git a/scheduler/package.json b/scheduler/package.json index 92e636dd3..e4ca760a1 100644 --- a/scheduler/package.json +++ b/scheduler/package.json @@ -55,34 +55,34 @@ "@nestjs/platform-express": "^10.4.15", "@nestjs/schedule": "^4.1.2", "@nestjs/schematics": "^10.2.3", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^8.0.0", "@nestjs/testing": "^10.4.15", "@nestjs/typeorm": "^10.0.2", "@types/crypto-js": "^4.2.2", - "cache-manager": "^5.7.6", + "cache-manager": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "crypto-js": "^4.2.0", "dayjs": "^1.11.13", "dotenv": "^16.4.7", "jwks-rsa": "^3.1.0", - "mssql": "^10.0.4", + "mssql": "^11.0.0", "nest-winston": "^1.10.0", "nestjs-cls": "^4.5.0", "rxjs": "^7.8.1", - "ssh2-sftp-client": "^10.0.3", + "ssh2-sftp-client": "^11.0.0", "swagger-ui-express": "^5.0.1", "typeorm": "^0.3.20", "typescript-eslint": "^7.18.0", - "uuid": "^9.0.1", + "uuid": "^11.0.0", "winston": "^3.17.0" }, "devDependencies": { "@golevelup/ts-jest": "^0.6.1", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jest": "^29.5.14", "@types/multer": "^1.4.12", - "@types/node": "^20.17.9", + "@types/node": "^22.0.0", "@types/passport-jwt": "^4.0.1", "@types/supertest": "^6.0.2", "@types/uuid": "^10.0.0", @@ -100,7 +100,7 @@ "jest-sonar-reporter": "^2.0.0", "lint-staged": "^15.2.10", "prettier": "^3.4.2", - "rimraf": "^5.0.10", + "rimraf": "^6.0.0", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5", diff --git a/vehicles/package.json b/vehicles/package.json index 17542cb4c..6a808dc87 100644 --- a/vehicles/package.json +++ b/vehicles/package.json @@ -54,20 +54,20 @@ "@nestjs/passport": "^10.0.3", "@nestjs/platform-express": "^10.4.15", "@nestjs/schematics": "^10.2.3", - "@nestjs/swagger": "^7.4.2", + "@nestjs/swagger": "^8.0.0", "@nestjs/testing": "^10.4.15", "@nestjs/typeorm": "^10.0.2", "@types/response-time": "^2.3.8", - "cache-manager": "^5.7.6", + "cache-manager": "^6.0.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", "dayjs": "^1.11.13", "dotenv": "^16.4.7", "form-data": "^4.0.1", "handlebars": "^4.7.8", - "helmet": "^7.2.0", + "helmet": "^8.0.0", "jwks-rsa": "^3.1.0", - "mssql": "^10.0.4", + "mssql": "^11.0.0", "nest-winston": "^1.10.0", "nestjs-cls": "^4.5.0", "nestjs-typeorm-paginate": "^4.0.4", @@ -77,17 +77,17 @@ "rxjs": "^7.8.1", "swagger-ui-express": "^5.0.1", "typeorm": "^0.3.20", - "uuid": "^9.0.1", + "uuid": "^11.0.0", "winston": "^3.17.0" }, "devDependencies": { "@golevelup/ts-jest": "^0.6.1", "@types/cache-manager": "^4.0.6", "@types/crypto-js": "^4.2.2", - "@types/express": "^4.17.21", + "@types/express": "^5.0.0", "@types/jest": "^29.5.14", "@types/multer": "^1.4.12", - "@types/node": "^20.17.9", + "@types/node": "^22.0.0", "@types/passport-jwt": "^4.0.1", "@types/supertest": "^6.0.2", "@types/uuid": "^10.0.0", @@ -105,7 +105,7 @@ "jest-sonar-reporter": "^2.0.0", "lint-staged": "^15.2.10", "prettier": "^3.4.2", - "rimraf": "^5.0.10", + "rimraf": "^6.0.0", "source-map-support": "^0.5.21", "supertest": "^7.0.0", "ts-jest": "^29.2.5",