From 00fbf30c30425bd79a6f8f60f1a320103ea73839 Mon Sep 17 00:00:00 2001 From: Petar Radovic Date: Wed, 8 Apr 2026 12:05:40 +0200 Subject: [PATCH] enable new imabe on ci and integration tests --- .github/workflows/ci.yml | 44 ++++++++++++++++++-------------------- bedrock/cfgsync.yaml | 2 +- bedrock/docker-compose.yml | 29 ------------------------- 3 files changed, 22 insertions(+), 53 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b327aaae..bbfa53b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,35 +160,33 @@ jobs: RUST_LOG: "info" run: cargo nextest run -p integration_tests -- --skip tps_test --skip indexer - # # TODO: Bring this back once we find the source of the errors. - # # - # integration-tests-indexer: - # runs-on: ubuntu-latest - # timeout-minutes: 60 - # steps: - # - uses: actions/checkout@v5 - # with: - # ref: ${{ github.event.pull_request.head.sha || github.head_ref }} + integration-tests-indexer: + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - uses: actions/checkout@v5 + with: + ref: ${{ github.event.pull_request.head.sha || github.head_ref }} - # - uses: ./.github/actions/install-system-deps + - uses: ./.github/actions/install-system-deps - # - uses: ./.github/actions/install-risc0 + - uses: ./.github/actions/install-risc0 - # - uses: ./.github/actions/install-logos-blockchain-circuits - # with: - # github-token: ${{ secrets.GITHUB_TOKEN }} + - uses: ./.github/actions/install-logos-blockchain-circuits + with: + github-token: ${{ secrets.GITHUB_TOKEN }} - # - name: Install active toolchain - # run: rustup install + - name: Install active toolchain + run: rustup install - # - name: Install nextest - # run: cargo install --locked cargo-nextest + - name: Install nextest + run: cargo install --locked cargo-nextest - # - name: Run tests - # env: - # RISC0_DEV_MODE: "1" - # RUST_LOG: "info" - # run: cargo nextest run -p integration_tests indexer -- --skip tps_test + - name: Run tests + env: + RISC0_DEV_MODE: "1" + RUST_LOG: "info" + run: cargo nextest run -p integration_tests indexer -- --skip tps_test valid-proof-test: runs-on: ubuntu-latest diff --git a/bedrock/cfgsync.yaml b/bedrock/cfgsync.yaml index 43ffdfca..9512e4d2 100644 --- a/bedrock/cfgsync.yaml +++ b/bedrock/cfgsync.yaml @@ -1,5 +1,5 @@ port: 4400 -n_hosts: 4 +n_hosts: 1 timeout: 10 faucet_settings: diff --git a/bedrock/docker-compose.yml b/bedrock/docker-compose.yml index d4ba9859..52677039 100644 --- a/bedrock/docker-compose.yml +++ b/bedrock/docker-compose.yml @@ -21,32 +21,3 @@ services: - cfgsync entrypoint: /etc/logos-blockchain/scripts/run_logos_blockchain_node.sh - logos-blockchain-node-1: - platform: linux/amd64 - image: ghcr.io/logos-blockchain/logos-blockchain@sha256:2d35c2564e0e64b1181b5158908ec8842c9c540786cdbd665202026b349f61eb - volumes: - - ./scripts:/etc/logos-blockchain/scripts - - ./kzgrs_test_params:/kzgrs_test_params:z - depends_on: - - cfgsync - entrypoint: /etc/logos-blockchain/scripts/run_logos_blockchain_node.sh - - logos-blockchain-node-2: - platform: linux/amd64 - image: ghcr.io/logos-blockchain/logos-blockchain@sha256:2d35c2564e0e64b1181b5158908ec8842c9c540786cdbd665202026b349f61eb - volumes: - - ./scripts:/etc/logos-blockchain/scripts - - ./kzgrs_test_params:/kzgrs_test_params:z - depends_on: - - cfgsync - entrypoint: /etc/logos-blockchain/scripts/run_logos_blockchain_node.sh - - logos-blockchain-node-3: - platform: linux/amd64 - image: ghcr.io/logos-blockchain/logos-blockchain@sha256:2d35c2564e0e64b1181b5158908ec8842c9c540786cdbd665202026b349f61eb - volumes: - - ./scripts:/etc/logos-blockchain/scripts - - ./kzgrs_test_params:/kzgrs_test_params:z - depends_on: - - cfgsync - entrypoint: /etc/logos-blockchain/scripts/run_logos_blockchain_node.sh