From 865563e85f3d4edd00f3d694abcb2decb1b32c23 Mon Sep 17 00:00:00 2001 From: Kris Bloe Date: Wed, 25 Sep 2024 09:19:29 +0100 Subject: [PATCH] [PRMP-925] Let's import Docker instead of building it --- gocd/mhs.gocd.yml | 11 +++++++---- tasks | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gocd/mhs.gocd.yml b/gocd/mhs.gocd.yml index 105b7d4..dab21a2 100644 --- a/gocd/mhs.gocd.yml +++ b/gocd/mhs.gocd.yml @@ -9,10 +9,11 @@ pipelines: destination: prm-repo-mhs mhs: git: https://github.com/NHSDigital/integration-adaptor-mhs.git - branch: release/1.3.1 + branch: release/1.3.2 destination: integration-adaptor-mhs stages: - - build_docker: + # - build_docker: + - import_docker: clean_workspace: true jobs: outbound: @@ -28,7 +29,8 @@ pipelines: command: /bin/bash arguments: - -c - - ./tasks build_docker outbound + # - ./tasks build_docker outbound + - ./tasks import_docker outbound inbound: resources: - docker @@ -42,4 +44,5 @@ pipelines: command: /bin/bash arguments: - -c - - ./tasks build_docker inbound + # - ./tasks build_docker inbound + - ./tasks import_docker inbound diff --git a/tasks b/tasks index 2e4bb4d..2911196 100755 --- a/tasks +++ b/tasks @@ -103,7 +103,7 @@ case "${command}" in echo "Please specify one of the images to be built: inbound or outbound" exit 5 fi - UPSTREAM_TAG=1.3.1 + UPSTREAM_TAG=1.3.2 REPO_GIT_HASH=$(git rev-parse HEAD | cut -c 1-8) BUILD_TAG="${UPSTREAM_TAG}-${REPO_GIT_HASH}" fetch_redaction_utils