From a0f3339623ba1656be77727a45d466fc0af45f68 Mon Sep 17 00:00:00 2001 From: Terence Tuhinanshu Date: Thu, 1 Dec 2022 15:11:48 -0500 Subject: [PATCH 1/2] Remove showmigrations from CI / Release pipelines This step was not used and caused significant delays to CI jobs. For example, see here: https://github.com/azavea/iow-boundary-tool/actions/runs/3566198623/jobs/5992333569 The deployment takes ~28s, and showmigrations took 1m41s. --- .github/workflows/continuous_integration.yml | 8 -------- .github/workflows/release.yml | 3 --- 2 files changed, 11 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index e77356c4..b161e4a9 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -52,11 +52,3 @@ jobs: startsWith(github.ref, 'refs/heads/hotfix/') || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/test/') - - # Kick off an ECS task to display any outstanding migrations. - - run: ./scripts/manage ecsmanage showmigrations - if: | - github.ref == 'refs/heads/develop' || - startsWith(github.ref, 'refs/heads/hotfix/') || - startsWith(github.ref, 'refs/heads/release/') || - startsWith(github.ref, 'refs/heads/test/') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38a66078..2c7ef645 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,3 @@ jobs: ./scripts/infra plan ./scripts/infra apply " - - # Kick off an ECS task to display any outstanding migrations. - - run: ./scripts/manage ecsmanage -e production showmigrations From 8a132aee2081eb3657a5377d0237ef0680ec71f0 Mon Sep 17 00:00:00 2001 From: Terence Tuhinanshu Date: Thu, 1 Dec 2022 15:15:11 -0500 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd4ec346..3a34275e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +- Remove `showmigrations` step from CI / Release pipelines [#224](https://github.com/azavea/iow-boundary-tool/pull/224) + ### Security ## [0.9.1] - 2022-11-28