From 0645e05f0dedd3a78d09275c0d8b12c5cdf368bd Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Tue, 7 May 2024 21:05:55 +0200 Subject: [PATCH] ci: reduce memory usage --- .github/workflows/software-upgrade-test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/software-upgrade-test.yml b/.github/workflows/software-upgrade-test.yml index a31495f3a..8c9215e05 100644 --- a/.github/workflows/software-upgrade-test.yml +++ b/.github/workflows/software-upgrade-test.yml @@ -117,7 +117,7 @@ jobs: - name: Chain snapshot and export run: | - GOMEMLIMIT=16GiB $OLD_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ + GOMEMLIMIT=8GiB $OLD_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ --skip-chain-init \ --skip-node-start \ --timeout-next-block 100000 \ @@ -126,7 +126,7 @@ jobs: - name: Chain initialization run: | - GOMEMLIMIT=16GiB $OLD_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ + GOMEMLIMIT=8GiB $OLD_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ --skip-snapshot \ --skip-node-start \ --timeout-next-block 100000 \ @@ -138,7 +138,7 @@ jobs: - name: Create second validator run: | - GOMEMLIMIT=16GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ + GOMEMLIMIT=8GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ --skip-snapshot \ --skip-chain-init \ --skip-prepare-validator-data \ @@ -150,7 +150,7 @@ jobs: - name: Prepare second validator data run: | - GOMEMLIMIT=16GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ + GOMEMLIMIT=8GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ --skip-snapshot \ --skip-chain-init \ --skip-create-validator \ @@ -162,7 +162,7 @@ jobs: - name: Submit new proposal run: | - GOMEMLIMIT=16GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ + GOMEMLIMIT=8GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $OLD_BINARY_PATH $NEW_BINARY_PATH \ --skip-snapshot \ --skip-chain-init \ --skip-create-validator \ @@ -174,7 +174,7 @@ jobs: - name: Upgrade to new binary run: | - GOMEMLIMIT=16GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $NEW_BINARY_PATH $NEW_BINARY_PATH \ + GOMEMLIMIT=8GiB $NEW_UPGRADE_ASSURE_BINARY_PATH $SNAPSHOT_PATH $NEW_BINARY_PATH $NEW_BINARY_PATH \ --skip-snapshot \ --skip-chain-init \ --skip-create-validator \