From d42faa043c1cf1b28628268b9272b3406052eb05 Mon Sep 17 00:00:00 2001 From: Assem Hasna Date: Thu, 13 Jun 2024 19:42:22 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20improve=20docker=20images=20pull=20tim?= =?UTF-8?q?e=20in=20bouncer=20=F0=9F=8E=9A=EF=B8=8F=20(#4959)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: improve docker images pull time in bouncer 🎚️ * fix: typos * fix: 🤦‍♂️ --- .github/workflows/_40_post_check.yml | 2 +- .github/workflows/upgrade-test.yml | 4 ++-- localnet/manage.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/_40_post_check.yml b/.github/workflows/_40_post_check.yml index 159ee3389a..f40ac1502a 100644 --- a/.github/workflows/_40_post_check.yml +++ b/.github/workflows/_40_post_check.yml @@ -213,7 +213,7 @@ jobs: if: always() continue-on-error: true run: | - docker compose -f localnet/docker-compose.yml -p "chainflip-localnet" down --rmi all --volumes --remove-orphans + docker compose -f localnet/docker-compose.yml -p "chainflip-localnet" down --volumes --remove-orphans - name: Notify on failed bouncer 📢 if: failure() && github.ref_name == 'main' || cancelled() && github.ref_name == 'main' || failure() && contains(github.ref_name, 'release/') || cancelled() && contains(github.ref_name, 'release/') diff --git a/.github/workflows/upgrade-test.yml b/.github/workflows/upgrade-test.yml index e79e82ec54..fa14787294 100644 --- a/.github/workflows/upgrade-test.yml +++ b/.github/workflows/upgrade-test.yml @@ -337,7 +337,7 @@ jobs: | jq -r '.result.number' \ | xargs printf "%d\n") ./commands/explorer.ts 0 $BLOCK_HEIGHT > /tmp/chainflip/explorer.txt - + - name: Upload chain explorer 📤 if: failure() continue-on-error: true @@ -361,7 +361,7 @@ jobs: run: | ls -alR /tmp/chainflip docker compose -f localnet/docker-compose.yml -p "chainflip-localnet" logs - docker compose -f localnet/docker-compose.yml -p "chainflip-localnet" down --rmi all --volumes --remove-orphans + docker compose -f localnet/docker-compose.yml -p "chainflip-localnet" down --volumes --remove-orphans - name: Notify on failed upgrade test 🚨 if: failure() && github.ref_name == 'main' || cancelled() && github.ref_name == 'main' diff --git a/localnet/manage.sh b/localnet/manage.sh index c10e03f60b..fb05d07263 100755 --- a/localnet/manage.sh +++ b/localnet/manage.sh @@ -37,7 +37,7 @@ OS_TYPE=$(uname) if [[ $CI == true ]]; then set -x additional_docker_compose_up_args="--quiet-pull" - additional_docker_compose_down_args="--volumes --remove-orphans --rmi all" + additional_docker_compose_down_args="--volumes --remove-orphans" else additional_docker_compose_up_args="" additional_docker_compose_down_args="--volumes --remove-orphans"