From 1832f105bfd9130314eb4c09cd854940ebd6613d Mon Sep 17 00:00:00 2001 From: Joshua Hawxwell Date: Thu, 30 Nov 2023 10:07:07 +0000 Subject: [PATCH] MLPAB-1598 Push mock-onelogin (#890) --- .github/workflows/docker_job.yml | 2 ++ .github/workflows/ui_test_job.yml | 1 - cmd/mock-onelogin/main.go | 2 +- docker/docker-compose.ci.yml | 5 ++++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_job.yml b/.github/workflows/docker_job.yml index efd9f624e9..b157380bf3 100644 --- a/.github/workflows/docker_job.yml +++ b/.github/workflows/docker_job.yml @@ -34,6 +34,8 @@ jobs: path: ./lambda/create_s3_replication_job/Dockerfile - ecr_repository: modernising-lpa/event-received path: ./docker/event-received/Dockerfile + - ecr_repository: modernising-lpa/mock-onelogin + path: ./docker/mock-onelogin/Dockerfile runs-on: ubuntu-latest name: ${{ matrix.ecr_repository }} steps: diff --git a/.github/workflows/ui_test_job.yml b/.github/workflows/ui_test_job.yml index 152cc4c679..8be51f204a 100644 --- a/.github/workflows/ui_test_job.yml +++ b/.github/workflows/ui_test_job.yml @@ -88,7 +88,6 @@ jobs: if: inputs.run_against_image env: ECR_REGISTRY: ${{ steps.login_ecr.outputs.registry }} - ECR_REPOSITORY: modernising-lpa/app TAG: ${{ inputs.tag }} run: | docker compose -f docker/docker-compose.yml -f docker/docker-compose.ci.yml pull diff --git a/cmd/mock-onelogin/main.go b/cmd/mock-onelogin/main.go index 7891857fd7..e0320a4989 100644 --- a/cmd/mock-onelogin/main.go +++ b/cmd/mock-onelogin/main.go @@ -21,7 +21,7 @@ import ( const ( charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" - signingKid = "my-kid" + signingKid = "my-kid2" ) var ( diff --git a/docker/docker-compose.ci.yml b/docker/docker-compose.ci.yml index aa1f9eded4..66a195268c 100644 --- a/docker/docker-compose.ci.yml +++ b/docker/docker-compose.ci.yml @@ -2,4 +2,7 @@ version: '3.8' services: app: - image: ${ECR_REGISTRY}/${ECR_REPOSITORY}:${TAG} + image: ${ECR_REGISTRY}/modernising-lpa/app:${TAG} + + mock-onelogin: + image: ${ECR_REGISTRY}/modernising-lpa/mock-onelogin:${TAG}