[wip] test updates

This commit is contained in:
Roy Crihfield 2024-03-28 18:08:48 +08:00
parent 87a450797a
commit eb0cd00636
3 changed files with 18 additions and 6 deletions

View File

@ -11,7 +11,7 @@ on:
# Needed until we can incorporate docker startup into the executor container # Needed until we can incorporate docker startup into the executor container
env: env:
DOCKER_HOST: unix:///var/run/dind.sock DOCKER_HOST: unix:///var/run/dind.sock
SO_VERSION: v1.1.0-c30c779-202309082138 SO_VERSION: 26eef04bb89df8c2c35e5fd5bf303d5e02c111d2
jobs: jobs:
unit-tests: unit-tests:
@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
repository: cerc-io/plugeth repository: cerc-io/plugeth
ref: statediff ref: 4556585a56ee3788942dea19751d5f9f14f5cfa1 # TODO update after PR
path: ./plugeth path: ./plugeth
- name: Run dockerd - name: Run dockerd
run: dockerd -H $DOCKER_HOST --userland-proxy=false & run: dockerd -H $DOCKER_HOST --userland-proxy=false &
@ -63,10 +63,20 @@ jobs:
docker build ./plugeth -t cerc/plugeth:local \ docker build ./plugeth -t cerc/plugeth:local \
--build-arg GIT_VDBTO_TOKEN="$TOKEN" --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: | run: |
curl -L -O https://github.com/cerc-io/stack-orchestrator/releases/download/$SO_VERSION/laconic-so apt-get update && apt-get install -y python3-pip
chmod +x laconic-so 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 - name: Clone system-tests
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:

View File

@ -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 # v5 migrations only go up to version 18
echo CERC_STATEDIFF_DB_GOOSE_MIN_VER=18 >> $CONFIG_DIR/stack.env 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 set -x

View File

@ -1 +1 @@
github.com/cerc-io/ipld-eth-db v5.0.5-alpha github.com/cerc-io/ipld-eth-db v5.2.1-alpha