put stack path in script
This commit is contained in:
parent
9a65864d17
commit
e4c74cd039
@ -82,8 +82,7 @@ jobs:
|
|||||||
progress: false
|
progress: false
|
||||||
- name: Run testnet stack
|
- name: Run testnet stack
|
||||||
working-directory: ./plugeth-statediff
|
working-directory: ./plugeth-statediff
|
||||||
run: |
|
run: ./scripts/run-test-stack.sh
|
||||||
./scripts/run-test-stack.sh ../fixturenet-eth-stacks/stack-orchestrator/stacks/fixturenet-plugeth
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
working-directory: ./system-tests
|
working-directory: ./system-tests
|
||||||
run: |
|
run: |
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
[[ -d "$1" ]]
|
# Note: stack path should be absolute, otherwise SO looks for it in packaged stacks
|
||||||
|
stack_dir=$(readlink -f "${1:-../fixturenet-eth-stacks/stack-orchestrator/stacks/fixturenet-plugeth}")
|
||||||
|
|
||||||
|
[[ -d "$stack_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.
|
# By default assume we are running in the 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)/..}"
|
||||||
|
|
||||||
# Note: stack path should be absolute, otherwise SO looks for it in packaged stacks
|
|
||||||
stack_dir=$(readlink -f "$1")
|
|
||||||
|
|
||||||
laconic_so="laconic-so --verbose --stack $stack_dir"
|
laconic_so="laconic-so --verbose --stack $stack_dir"
|
||||||
|
|
||||||
# Don't run geth/plugeth in the debugger, it will swallow error backtraces
|
# Don't run geth/plugeth in the debugger, it will swallow error backtraces
|
||||||
@ -22,7 +22,9 @@ if [[ -z $SKIP_BUILD ]]; then
|
|||||||
--exclude git.vdb.to/cerc-io/plugeth-statediff
|
--exclude git.vdb.to/cerc-io/plugeth-statediff
|
||||||
# Assume the tested image has been built separately
|
# Assume the tested image has been built separately
|
||||||
$laconic_so build-containers \
|
$laconic_so build-containers \
|
||||||
--exclude cerc/plugeth-statediff
|
--include cerc/fixturenet-eth-genesis-postmerge,cerc/fixturenet-plugeth-plugeth,cerc/fixturenet-eth-lighthouse
|
||||||
|
# --include cerc/fixturenet-eth-genesis-postmerge
|
||||||
|
# --exclude cerc/plugeth-statediff
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! $laconic_so deploy \
|
if ! $laconic_so deploy \
|
||||||
|
Loading…
Reference in New Issue
Block a user