-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renovate Update GitHub Actions (#2570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0a7986d
commit 1038de2
Showing
18 changed files
with
58 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,11 +71,11 @@ jobs: | |
run_integration_tests: 'false' | ||
artifact_to_dl: '' | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
|
||
- name: cache node modules | ||
id: cache-npm | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # [email protected] | ||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # [email protected] | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
|
@@ -94,7 +94,7 @@ jobs: | |
inputs.specific_path == 'all' || inputs.specific_path == matrix.svc_prefix | ||
- name: configure aws credentials | ||
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected] | ||
uses: aws-actions/configure-aws-credentials@e9cf1db62a2c7bfa124c55c2432ffcf0ae30832b # [email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }} | ||
|
@@ -107,7 +107,7 @@ jobs: | |
(inputs.specific_path == 'all' || inputs.specific_path == matrix.svc_prefix) | ||
- name: download artifact | ||
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b | ||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 | ||
with: | ||
name: ${{ matrix.artifact_to_dl }} | ||
path: service-${{ matrix.svc_prefix }}/web/dist | ||
|
@@ -203,7 +203,7 @@ jobs: | |
(inputs.specific_path == 'all' || inputs.specific_path == matrix.svc_prefix) | ||
- name: archive test results | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected] | ||
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # [email protected] | ||
with: | ||
name: service-${{ matrix.svc_prefix }} | ||
path: build/service-${{ matrix.svc_prefix }} | ||
|
@@ -264,7 +264,7 @@ jobs: | |
|
||
- name: ecr login | ||
id: login_ecr | ||
uses: aws-actions/amazon-ecr-login@ebdeac79a5f9525e298b368a491c338b8fd60fe9 # [email protected] | ||
uses: aws-actions/amazon-ecr-login@9940b30459fc350ab282a29fb1194169fef6cc32 # [email protected] | ||
with: | ||
registries: 311462405659 | ||
if: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,10 @@ jobs: | |
ecr-scan-results: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
|
||
- name: configure AWS credentials ECR scan results | ||
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected] | ||
uses: aws-actions/configure-aws-credentials@e9cf1db62a2c7bfa124c55c2432ffcf0ae30832b # [email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }} | ||
|
@@ -27,7 +27,7 @@ jobs: | |
role-session-name: OPGUseAnLPAECRScanGithubAction | ||
|
||
- name: install python | ||
uses: actions/setup-python@9a7ac94420f42ee15fc60ab88d0dca4be1fd5757 # [email protected] | ||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # [email protected] | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
- folder: 'environment' | ||
- folder: 'account' | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
|
||
- name: Set Terraform version | ||
working-directory: ./terraform/${{ matrix.folder }} | ||
|
@@ -37,7 +37,7 @@ jobs: | |
name: Setup TFLint | ||
|
||
- name: configure AWS credentials for terraform | ||
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected] | ||
uses: aws-actions/configure-aws-credentials@e9cf1db62a2c7bfa124c55c2432ffcf0ae30832b # [email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ jobs: | |
build-web: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
- uses: actions/setup-node@c2ac33f2c62f978d6c944d9648125a294e56dc0b # [email protected] | ||
with: | ||
node-version-file: '.nvmrc' | ||
- name: cache node modules | ||
id: cache-npm | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # [email protected] | ||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # [email protected] | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
|
@@ -33,7 +33,7 @@ jobs: | |
cd service-front/web/ | ||
npm run build | ||
- name: archive dist | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected] | ||
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # [email protected] | ||
with: | ||
name: dist-web | ||
path: service-front/web/dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ jobs: | |
unit-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
- uses: actions/setup-node@c2ac33f2c62f978d6c944d9648125a294e56dc0b # [email protected] | ||
with: | ||
node-version-file: '.nvmrc' | ||
- name: cache node modules | ||
id: cache-npm | ||
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # [email protected] | ||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # [email protected] | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,10 @@ jobs: | |
build-web: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
|
||
- name: install python | ||
uses: actions/setup-python@9a7ac94420f42ee15fc60ab88d0dca4be1fd5757 # [email protected] | ||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # [email protected] | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
|
@@ -45,13 +45,13 @@ jobs: | |
working-directory: tests/smoke | ||
|
||
- name: download cluster_config | ||
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b | ||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 | ||
with: | ||
name: environment_config_file | ||
path: terraform/environment | ||
|
||
- name: configure aws credentials | ||
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected] | ||
uses: aws-actions/configure-aws-credentials@e9cf1db62a2c7bfa124c55c2432ffcf0ae30832b # [email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }} | ||
|
@@ -86,7 +86,7 @@ jobs: | |
vendor/bin/behat | ||
- name: archive failed test screenshots | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected] | ||
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # [email protected] | ||
with: | ||
name: behat-screenshots | ||
path: tests/smoke/failed_step_screenshots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ jobs: | |
echo "admin-tag=$(echo ${TAG})" >> $GITHUB_OUTPUT | ||
fi | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
with: | ||
fetch-depth: '0' | ||
|
||
|
@@ -76,7 +76,7 @@ jobs: | |
terraform_version: ${{ steps.set-terraform-version.outputs.TF_VERSION }} | ||
|
||
- name: configure AWS credentials for getting pagerduty token | ||
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected] | ||
uses: aws-actions/configure-aws-credentials@e9cf1db62a2c7bfa124c55c2432ffcf0ae30832b # [email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }} | ||
|
@@ -93,7 +93,7 @@ jobs: | |
echo TF_VAR_pagerduty_token=$TF_VAR_pagerduty_token >> $GITHUB_ENV | ||
- name: configure AWS credentials for terraform | ||
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected] | ||
uses: aws-actions/configure-aws-credentials@e9cf1db62a2c7bfa124c55c2432ffcf0ae30832b # [email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }} | ||
|
@@ -152,7 +152,7 @@ jobs: | |
|
||
- name: upload environment cluster config file | ||
if: inputs.terraform_path == 'environment' | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # [email protected] | ||
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # [email protected] | ||
with: | ||
name: environment_config_file | ||
path: terraform/environment/cluster_config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ jobs: | |
terraform_workflow: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
with: | ||
fetch-depth: '0' | ||
|
||
- name: configure AWS credentials for terraform | ||
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected] | ||
uses: aws-actions/configure-aws-credentials@e9cf1db62a2c7bfa124c55c2432ffcf0ae30832b # [email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }} | ||
|
@@ -19,13 +19,13 @@ jobs: | |
role-session-name: OPGUseAnLPASeedGithubAction | ||
|
||
- name: download cluster_config | ||
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b | ||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 | ||
with: | ||
name: environment_config_file | ||
path: terraform/environment | ||
|
||
- name: install python | ||
uses: actions/setup-python@9a7ac94420f42ee15fc60ab88d0dca4be1fd5757 # [email protected] | ||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # [email protected] | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,10 @@ jobs: | |
send-slack-notification: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
|
||
- name: install python | ||
uses: actions/setup-python@9a7ac94420f42ee15fc60ab88d0dca4be1fd5757 # [email protected] | ||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # [email protected] | ||
with: | ||
python-version: '3.10' | ||
cache: 'pip' | ||
|
@@ -36,7 +36,7 @@ jobs: | |
run: pip install -r scripts/pipeline/requirements.txt | ||
|
||
- name: download cluster_config | ||
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b | ||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 | ||
with: | ||
name: environment_config_file | ||
path: /tmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,14 +34,14 @@ jobs: | |
short_sha: ${{ steps.variables.outputs.short_sha }} | ||
semver_tag: ${{ steps.semver_tag.outputs.created_tag }} | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
- name: extract variables for workflow | ||
id: variables | ||
run: | | ||
echo "short_sha=$(echo ${GITHUB_SHA:0:7})" >> $GITHUB_OUTPUT | ||
- name: Bump version and push tag | ||
uses: ministryofjustice/opg-github-actions/.github/actions/[email protected].4 | ||
uses: ministryofjustice/opg-github-actions/.github/actions/[email protected].6 | ||
id: semver_tag | ||
with: | ||
with_v: true | ||
|
@@ -90,19 +90,19 @@ jobs: | |
- workflow_variables | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
- name: download artifact for front tests | ||
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b | ||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 | ||
with: | ||
name: service-front | ||
path: service-front | ||
- name: download artifact for api tests | ||
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b | ||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 | ||
with: | ||
name: service-api | ||
path: service-api | ||
- name: download artifact for api tests | ||
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b | ||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 | ||
with: | ||
name: service-admin | ||
path: service-admin | ||
|
@@ -198,11 +198,11 @@ jobs: | |
needs: | ||
- terraform_apply_production | ||
steps: | ||
- uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # pin@v3 | ||
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # pin@v3 | ||
with: | ||
fetch-depth: '0' | ||
- name: download cluster_config | ||
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b | ||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 | ||
with: | ||
name: environment_config_file | ||
path: terraform/environment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ jobs: | |
- seed_dynamodb | ||
steps: | ||
- name: configure AWS credentials for ecs update | ||
uses: aws-actions/configure-aws-credentials@e0fc2428ccc7f7031a468e4a9d673be1a95fb8b9 # [email protected] | ||
uses: aws-actions/configure-aws-credentials@e9cf1db62a2c7bfa124c55c2432ffcf0ae30832b # [email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_ACTIONS }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_ACTIONS }} | ||
|
Oops, something went wrong.