From 9421e8ca816be60ababebc7d1c7f478f0c3ffb5a Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 28 Mar 2024 18:08:48 +0800 Subject: [PATCH] [wip] test updates --- .gitea/workflows/test.yml | 20 +++++++++++++++----- scripts/integration-setup.sh | 2 ++ test/stack-refs.txt | 2 +- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index dcd898a..51cd603 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -11,7 +11,7 @@ on: # Needed until we can incorporate docker startup into the executor container env: DOCKER_HOST: unix:///var/run/dind.sock - SO_VERSION: v1.1.0-c30c779-202309082138 + SO_VERSION: 26eef04bb89df8c2c35e5fd5bf303d5e02c111d2 jobs: unit-tests: @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v3 with: repository: cerc-io/plugeth - ref: statediff + ref: 4556585a56ee3788942dea19751d5f9f14f5cfa1 # TODO update after PR path: ./plugeth - name: Run dockerd run: dockerd -H $DOCKER_HOST --userland-proxy=false & @@ -63,10 +63,20 @@ jobs: docker build ./plugeth -t cerc/plugeth:local \ --build-arg GIT_VDBTO_TOKEN="$TOKEN" - - name: Install stack-orchestrator + - name: "Checkout stack-orchestrator" + uses: actions/checkout@v3 + with: + repository: cerc-io/stack-orchestrator + ref: ${{ env.SO_VERSION }} + path: ./stack-orchestrator + - name: "Install stack-orchestrator" run: | - curl -L -O https://github.com/cerc-io/stack-orchestrator/releases/download/$SO_VERSION/laconic-so - chmod +x laconic-so + apt-get update && apt-get install -y python3-pip + pip3 install --break-system-packages ./stack-orchestrator + # - name: Install stack-orchestrator + # run: | + # curl -L -O https://github.com/cerc-io/stack-orchestrator/releases/download/$SO_VERSION/laconic-so + # chmod +x laconic-so - name: Clone system-tests uses: actions/checkout@v3 with: diff --git a/scripts/integration-setup.sh b/scripts/integration-setup.sh index db776fe..b4ee9d7 100755 --- a/scripts/integration-setup.sh +++ b/scripts/integration-setup.sh @@ -14,6 +14,8 @@ export CERC_REPO_BASE_DIR="${CERC_REPO_BASE_DIR:-$(git rev-parse --show-toplevel # v5 migrations only go up to version 18 echo CERC_STATEDIFF_DB_GOOSE_MIN_VER=18 >> $CONFIG_DIR/stack.env +# don't run plugeth in the debugger +echo CERC_REMOTE_DEBUG=false >> $CONFIG_DIR/stack.env set -x diff --git a/test/stack-refs.txt b/test/stack-refs.txt index 8ebe23e..7621043 100644 --- a/test/stack-refs.txt +++ b/test/stack-refs.txt @@ -1 +1 @@ -github.com/cerc-io/ipld-eth-db v5.0.5-alpha +github.com/cerc-io/ipld-eth-db v5.2.1-alpha