Compare commits

...

2 Commits

Author SHA1 Message Date
1abc94b1bd try new external stack
Some checks failed
Test / Run unit tests (pull_request) Successful in 12m1s
Test / Run integration tests (pull_request) Failing after 3m22s
Test / Run compliance tests (pull_request) Successful in 4m7s
2024-06-26 20:05:08 +08:00
cbda781300 goose migrations = 21 2024-06-26 19:57:32 +08:00

View File

@ -4,16 +4,19 @@
set -e set -e
# Note: stack path should be absolute, otherwise SO looks for it in packaged stacks STACK_URL="git.vdb.to/cerc-io/fixturenet-eth-stacks"
laconic_so="${LACONIC_SO:-laconic-so} --stack $(readlink -f test) --verbose"
CONFIG_DIR=$(readlink -f "${CONFIG_DIR:-$(mktemp -d)}") CONFIG_DIR=$(readlink -f "${CONFIG_DIR:-$(mktemp -d)}")
# Point stack-orchestrator to the multi-project root
export CERC_REPO_BASE_DIR="${CERC_REPO_BASE_DIR:-$(git rev-parse --show-toplevel)/..}" export CERC_REPO_BASE_DIR="${CERC_REPO_BASE_DIR:-$(git rev-parse --show-toplevel)/..}"
# v5 migrations only go up to version 20 laconic-so --verbose fetch-stack "$STACK_URL"
echo CERC_STATEDIFF_DB_GOOSE_MIN_VER=20 >> $CONFIG_DIR/stack.env stack_dir=$CERC_REPO_BASE_DIR/fixturenet-eth-stacks/stack-orchestrator/stacks/fixturenet-plugeth
git -C $stack_dir checkout origin/plugeth-stack
# Note: stack path should be absolute, otherwise SO looks for it in packaged stacks
laconic_so="laconic-so --stack $stack_dir --verbose"
echo CERC_STATEDIFF_DB_GOOSE_MIN_VER=21 >> $CONFIG_DIR/stack.env
# don't run plugeth in the debugger # don't run plugeth in the debugger
echo CERC_REMOTE_DEBUG=false >> $CONFIG_DIR/stack.env echo CERC_REMOTE_DEBUG=false >> $CONFIG_DIR/stack.env