Skip to content

Commit 478f746

Browse files
authored
DS-4329 Fixing integration test stage issue (#1124)
# Task Branch Pull Request **<https://nhsd-jira.digital.nhs.uk/browse/DS-4329>** ## Description of Changes Handling new tester image issue in CI/CD pipeline ## Type of change Delete not appropriate - Bug fix (Breaking change new tester image) ## Development Checklist - [x] I have performed a self-review of my own code - [x] Tests have added that prove my fix is effective or that my feature works (Integration tests) - [x] I have updated Dependabot to include my changes (if applicable) ## Code Reviewer Checklist - [x] I can confirm the changes have been tested or approved by a tester
1 parent 1f14f3d commit 478f746

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

infrastructure/stacks/development-and-deployment-tools/buildspecs/integration-tests-buildspec.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ phases:
99
- export AWS_SECRET_ACCESS_KEY=$(echo $temp_role | jq -r .Credentials.SecretAccessKey)
1010
- export AWS_SESSION_TOKEN=$(echo $temp_role | jq -r .Credentials.SessionToken)
1111
- make docker-hub-signin
12-
# - make docker-pull NAME=tester VERSION=latest
13-
# Using previous version digest to handle image arch issue in smoke test stage for no arm terraform image in v1.2.1
14-
- make docker-pull NAME=tester DIGEST=sha256:8c90f5292a78a8ced10b7644b1269174798db2fc92b5d01a7e9dac966e13b88c
15-
- docker tag $(make _docker-get-reg)/tester@sha256:8c90f5292a78a8ced10b7644b1269174798db2fc92b5d01a7e9dac966e13b88c $(make _docker-get-reg)/tester:latest
1612
- |
1713
if [[ -z "$BLUE_GREEN_ENVIRONMENT" ]]; then
14+
make docker-pull NAME=tester DIGEST=sha256:8c90f5292a78a8ced10b7644b1269174798db2fc92b5d01a7e9dac966e13b88c
15+
docker tag $(make _docker-get-reg)/tester@sha256:8c90f5292a78a8ced10b7644b1269174798db2fc92b5d01a7e9dac966e13b88c $(make _docker-get-reg)/tester:latest
1816
export BLUE_GREEN_ENVIRONMENT=$(make terraform-output STACKS=blue-green-link ENVIRONMENT=$SHARED_ENVIRONMENT OPTS='-raw connected_blue_green_environment' | tail -n1)
17+
else
18+
make docker-pull NAME=tester VERSION=latest
1919
fi
2020
build:
2121
commands:

0 commit comments

Comments
 (0)