update stack-orchestrator
This commit is contained in:
parent
240ebb6816
commit
40d65598e3
4
.github/workflows/tests.yaml
vendored
4
.github/workflows/tests.yaml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: cerc-io/stack-orchestrator
|
repository: cerc-io/stack-orchestrator
|
||||||
ref: roy/for-ci
|
ref: roy/ipld-eth-ci
|
||||||
path: ./stack-orchestrator
|
path: ./stack-orchestrator
|
||||||
- run: pip install ./stack-orchestrator
|
- run: pip install ./stack-orchestrator
|
||||||
- name: "Run testnet stack"
|
- name: "Run testnet stack"
|
||||||
@ -68,7 +68,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: cerc-io/stack-orchestrator
|
repository: cerc-io/stack-orchestrator
|
||||||
ref: roy/for-ci
|
ref: roy/ipld-eth-ci
|
||||||
path: ./stack-orchestrator
|
path: ./stack-orchestrator
|
||||||
- run: pip install ./stack-orchestrator
|
- run: pip install ./stack-orchestrator
|
||||||
- name: "Run testnet stack"
|
- name: "Run testnet stack"
|
||||||
|
@ -6,22 +6,23 @@ export DOCKER_BUILDKIT=1
|
|||||||
# Prevent conflicting tty output
|
# Prevent conflicting tty output
|
||||||
export BUILDKIT_PROGRESS=plain
|
export BUILDKIT_PROGRESS=plain
|
||||||
|
|
||||||
# By default assume we are running in the project root
|
|
||||||
export CERC_REPO_BASE_DIR="${CERC_REPO_BASE_DIR:-..}"
|
|
||||||
|
|
||||||
CONFIG_DIR=$(readlink -f "${CONFIG_DIR:-$(mktemp -d)}")
|
CONFIG_DIR=$(readlink -f "${CONFIG_DIR:-$(mktemp -d)}")
|
||||||
|
|
||||||
|
# By default assume we are running in the project root
|
||||||
|
export CERC_REPO_BASE_DIR="${CERC_REPO_BASE_DIR:-..}"
|
||||||
|
# v5 migrations only go up to version 18
|
||||||
|
echo CERC_STATEDIFF_DB_GOOSE_MIN_VER=18 >> $CONFIG_DIR/stack.env
|
||||||
# Pass this in so we can run eth_call forwarding tests, which expect no IPLD DB
|
# Pass this in so we can run eth_call forwarding tests, which expect no IPLD DB
|
||||||
echo "CERC_RUN_STATEDIFF=${CERC_RUN_STATEDIFF:-true}" >> $CONFIG_DIR/stack.env
|
echo CERC_RUN_STATEDIFF=${CERC_RUN_STATEDIFF:-true} >> $CONFIG_DIR/stack.env
|
||||||
|
|
||||||
laconic_so="${LACONIC_SO:-laconic-so} --verbose --stack fixturenet-eth-loaded"
|
laconic_so="${LACONIC_SO:-laconic-so} --stack fixturenet-eth-loaded --quiet"
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
# Build and deploy a cluster with only what we need from the stack
|
# Build and deploy a cluster with only what we need from the stack
|
||||||
$laconic_so setup-repositories \
|
$laconic_so setup-repositories \
|
||||||
--exclude cerc-io/ipld-eth-server,cerc-io/tx-spammer \
|
--exclude github.com/cerc-io/ipld-eth-server,github.com/cerc-io/tx-spammer \
|
||||||
--branches-file ./test/stack-refs.yml
|
--branches-file ./test/stack-refs.txt
|
||||||
|
|
||||||
$laconic_so build-containers \
|
$laconic_so build-containers \
|
||||||
--exclude cerc/ipld-eth-server,cerc/keycloak,cerc/tx-spammer
|
--exclude cerc/ipld-eth-server,cerc/keycloak,cerc/tx-spammer
|
||||||
|
2
test/stack-refs.txt
Normal file
2
test/stack-refs.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
github.com/cerc-io/go-ethereum v1.11.5-statediff-5.0.5-alpha
|
||||||
|
github.com/cerc-io/ipld-eth-db v5.0.2-alpha
|
@ -1,3 +0,0 @@
|
|||||||
repos:
|
|
||||||
- github.com/cerc-io/go-ethereum v1.11.5-statediff-5.0.5-alpha
|
|
||||||
- github.com/cerc-io/ipld-eth-db v5.0.2-alpha
|
|
Loading…
Reference in New Issue
Block a user