Compare commits

...

5 Commits

Author SHA1 Message Date
f8a5876ee7 fix SO, stacks versions
All checks were successful
Tests / Run Blobscan scraper tests (pull_request) Successful in 2m18s
Tests / Run Beacon collector tests (pull_request) Successful in 34m1s
2024-08-06 19:27:06 -05:00
2e278ede55 quiet checkouts 2024-08-05 12:36:29 -05:00
02bc31afc2 install stack-orchestrator from release 2024-08-05 12:36:29 -05:00
0c67a151f2 use compatible eth-accounts 2024-08-05 12:36:29 -05:00
dbbfc69918 [dev] use working branches of ipld-eth-server, fixturenet-eth-stack 2024-08-05 12:36:27 -05:00
2 changed files with 19 additions and 16 deletions

View File

@ -9,7 +9,7 @@ on:
- ci-test - ci-test
env: env:
SO_VERSION: roysc/fix-eth-stacks SO_VERSION: v1.1.0-36d4969-202407091537
SYSTEM_TESTS_REF: roysc/test-blob-tx SYSTEM_TESTS_REF: roysc/test-blob-tx
FIXTURENET_ETH_STACKS_REF: main FIXTURENET_ETH_STACKS_REF: main
@ -18,7 +18,9 @@ jobs:
name: Run Beacon collector tests name: Run Beacon collector tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with:
progress: false
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
@ -30,21 +32,20 @@ jobs:
with: with:
python-version: 3.11 python-version: 3.11
- name: "Install stack-orchestrator" - name: Install stack-orchestrator
uses: actions/checkout@v3 run: |
with: curl -L -O https://github.com/cerc-io/stack-orchestrator/releases/download/$SO_VERSION/laconic-so
repository: cerc-io/stack-orchestrator chmod +x laconic-so
ref: ${{ env.SO_VERSION }} echo PATH="$PATH:$(pwd)" >> $GITHUB_ENV
path: ./stack-orchestrator
- run: pip install ./stack-orchestrator
- name: "Clone system-tests" - name: "Clone system-tests"
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
repository: cerc-io/system-tests repository: cerc-io/system-tests
ref: ${{ env.SYSTEM_TESTS_REF }} ref: ${{ env.SYSTEM_TESTS_REF }}
path: ./system-tests path: ./system-tests
token: ${{ secrets.CICD_REPO_TOKEN }} token: ${{ secrets.CICD_REPO_TOKEN }}
progress: false
- name: "Install pytest" - name: "Install pytest"
working-directory: ./system-tests working-directory: ./system-tests
run: pip3 install pytest run: pip3 install pytest
@ -62,12 +63,11 @@ jobs:
run: docker compose -f test/compose.yml up --wait --quiet-pull run: docker compose -f test/compose.yml up --wait --quiet-pull
- name: "Run tests" - name: "Run tests"
working-directory: ./system-tests working-directory: ./system-tests
# Work around dependency conflicts: # Work around dependency conflict in system-tests:
# - web3 uses an older eth-account until (unreleased) v7 # web3 uses an older eth-account until (unreleased) v7
# - old pydantic is pinned by stack-orchestrator
run: | run: |
pip3 install -r requirements.txt pip3 install -r requirements.txt
pip3 install --no-deps 'eth-account>=0.12.3' pip3 install --no-deps 'eth-account>=0.12.3,<0.13'
pip3 install 'pydantic>=2.0.0' pip3 install 'pydantic>=2.0.0'
python3 -m pytest -vv -k test_blob_tx python3 -m pytest -vv -k test_blob_tx
@ -75,7 +75,9 @@ jobs:
name: Run Blobscan scraper tests name: Run Blobscan scraper tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with:
progress: false
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'

View File

@ -20,7 +20,8 @@ if [[ -z $SKIP_BUILD ]]; then
# Prevent conflicting tty output # Prevent conflicting tty output
export BUILDKIT_PROGRESS=plain export BUILDKIT_PROGRESS=plain
$laconic_so setup-repositories $laconic_so setup-repositories \
--branches git.vdb.to/cerc-io/ipld-eth-server@roysc/fix-blob-tx
$laconic_so build-containers $laconic_so build-containers
fi fi