This commit is contained in:
Roy Crihfield 2023-05-25 21:48:12 +08:00
parent 6d7487152c
commit 6eded51cf1
2 changed files with 7 additions and 19 deletions

View File

@ -10,8 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Map a step output to a job output # Map a step output to a job output
outputs: outputs:
# should_skip: ${{ steps.skip_check.outputs.should_skip }} should_skip: ${{ steps.skip_check.outputs.should_skip }}
should_skip: false # XXX dev
steps: steps:
- id: skip_check - id: skip_check
uses: fkirc/skip-duplicate-actions@v4 uses: fkirc/skip-duplicate-actions@v4

View File

@ -16,31 +16,20 @@ laconic_so="${LACONIC_SO:-laconic-so} --verbose --stack fixturenet-eth-loaded"
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 cerc-io/ipld-eth-server,cerc-io/tx-spammer \
# --branches-file ./test/stack-refs.yml --branches-file ./test/stack-refs.yml
# $laconic_so build-containers \
# --exclude cerc/ipld-eth-server,cerc/keycloak,cerc/tx-spammer
IMAGE_IPLD_ETH_DB=git.vdb.to/cerc-io/ipld-eth-db/ipld-eth-db:v5.0.2-alpha
IMAGE_GETH=git.vdb.to/cerc-io/go-ethereum/go-ethereum:v1.11.5-statediff-5.0.5-alpha
docker pull $IMAGE_IPLD_ETH_DB
docker pull $IMAGE_GETH
docker tag $IMAGE_IPLD_ETH_DB cerc/ipld-eth-db:local
docker tag $IMAGE_GETH cerc/go-ethereum:local
$laconic_so build-containers \ $laconic_so build-containers \
--exclude cerc/ipld-eth-server,cerc/keycloak,cerc/tx-spammer,cerc/go-ethereum,cerc/ipld-eth-db --exclude cerc/ipld-eth-server,cerc/keycloak,cerc/tx-spammer
$laconic_so deploy \ $laconic_so deploy \
--include fixturenet-eth,ipld-eth-db \ --include fixturenet-eth,ipld-eth-db \
--env-file $CONFIG_DIR/stack.env \ --env-file $CONFIG_DIR/stack.env \
--cluster test up --cluster test up
# set +x set +x
# Get IPv4 endpoint of geth file server # Get IPv4 endpoint of geth file server
bootnode_endpoint=$(docker port test-fixturenet-eth-bootnode-geth-1 9898 | head -1) bootnode_endpoint=$(docker port test-fixturenet-eth-bootnode-geth-1 9898 | head -1)