From d810043cc8b145c89727e16a7fc3905facc54aae Mon Sep 17 00:00:00 2001 From: Armaan Tobaccowalla Date: Wed, 17 Feb 2021 21:17:52 -0500 Subject: [PATCH] Release kraken 0.4.12 --- cdk/kraken/CHANGELOG.md | 4 ++++ cdk/kraken/package.json | 2 +- cdk/kraken/src/postintegrationimagepublishjob.ts | 4 ++-- .../test/__snapshots__/integration-tests.test.ts.snap | 4 ++-- cdk/kraken/test/__snapshots__/labs-application.test.ts.snap | 6 +++--- cdk/kraken/version.json | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/cdk/kraken/CHANGELOG.md b/cdk/kraken/CHANGELOG.md index 2b35343f..bfe7d9d2 100644 --- a/cdk/kraken/CHANGELOG.md +++ b/cdk/kraken/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.4.12 (2021-02-17) + +* Hotfix deploy job part 2 + ## 0.4.11 (2021-02-17) * Hotfix deploy job diff --git a/cdk/kraken/package.json b/cdk/kraken/package.json index 2c2a1e73..2ece0088 100644 --- a/cdk/kraken/package.json +++ b/cdk/kraken/package.json @@ -64,7 +64,7 @@ ], "main": "lib/index.js", "license": "MIT", - "version": "0.4.11", + "version": "0.4.12", "jest": { "clearMocks": true, "collectCoverage": true, diff --git a/cdk/kraken/src/postintegrationimagepublishjob.ts b/cdk/kraken/src/postintegrationimagepublishjob.ts index 5153ddf0..0efe9b52 100644 --- a/cdk/kraken/src/postintegrationimagepublishjob.ts +++ b/cdk/kraken/src/postintegrationimagepublishjob.ts @@ -81,8 +81,8 @@ export class PostIntegrationPublishJob extends CheckoutJob { }, }, { - name: 'Load docker images', - run: fullConfig.dockerImages.map(image => `docker push ${image}`).join('\n'), + name: 'Push docker images', + run: fullConfig.dockerImages.map(image => `docker push -a ${image}`).join('\n'), }, ], ...overrides, diff --git a/cdk/kraken/test/__snapshots__/integration-tests.test.ts.snap b/cdk/kraken/test/__snapshots__/integration-tests.test.ts.snap index ac05482f..aa3c2179 100644 --- a/cdk/kraken/test/__snapshots__/integration-tests.test.ts.snap +++ b/cdk/kraken/test/__snapshots__/integration-tests.test.ts.snap @@ -94,8 +94,8 @@ done", }, }, Object { - "name": "Load docker images", - "run": "docker push image", + "name": "Push docker images", + "run": "docker push -a image", }, ], }, diff --git a/cdk/kraken/test/__snapshots__/labs-application.test.ts.snap b/cdk/kraken/test/__snapshots__/labs-application.test.ts.snap index 85b37671..aebd598d 100644 --- a/cdk/kraken/test/__snapshots__/labs-application.test.ts.snap +++ b/cdk/kraken/test/__snapshots__/labs-application.test.ts.snap @@ -379,10 +379,10 @@ jobs: with: username: \${{ secrets.DOCKER_USERNAME }} password: \${{ secrets.DOCKER_PASSWORD }} - - name: Load docker images + - name: Push docker images run: |- - docker push pennlabs/example-backend - docker push pennlabs/example-frontend + docker push -a pennlabs/example-backend + docker push -a pennlabs/example-frontend needs: integration-tests deploy: runs-on: ubuntu-latest diff --git a/cdk/kraken/version.json b/cdk/kraken/version.json index 35313e03..d3585dd4 100644 --- a/cdk/kraken/version.json +++ b/cdk/kraken/version.json @@ -1,3 +1,3 @@ { - "version": "0.4.11" + "version": "0.4.12" }