From b2e33f9439898819eceb218046f5edea993eb4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Wed, 11 Dec 2024 09:57:38 +0000 Subject: [PATCH 1/3] Revert "ci/test-ledger-app: skip unnecessary steps" This reverts commit 0cb4915ee91b7ad7178abe9e4f4919f9f028d7ec. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0dad9ea6f4..80124996cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -679,12 +679,14 @@ jobs: cd ../ledger-namada git checkout "v$LEDGER_APP_VERSION" git submodule update --init --recursive + sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 make deps - name: Generate test vectors run: | # The path where the Ledger app test suite will locate test vectors TESTVEC_PATH="../ledger-namada/tests/testvectors.json" TESTDBG_PATH="../ledger-namada/tests/testdebugs.txt" + sudo apt-get install -y protobuf-compiler cargo run --example generate-txs -- $TESTVEC_PATH $TESTDBG_PATH - name: Check test vectors run: | From 69fbdf88b11b33a7c6d721a47e853bb9b8b995dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Wed, 11 Dec 2024 09:57:48 +0000 Subject: [PATCH 2/3] Revert "ci/test-ledger-app: specify container image" This reverts commit 3291544853c35929d8bc39eb13e02e4013e05a7a. --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80124996cf..8999fa3210 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -655,8 +655,6 @@ jobs: test-ledger-app: timeout-minutes: 30 runs-on: [self-hosted, 4vcpu-8ram-ubuntu22-namada-x86] - container: - image: ghcr.io/heliaxdev/namada-ci:namada-main steps: - name: Checkout repo From 52d0ebbd7c2b44417a06f98b0a54697d6530ed38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Wed, 11 Dec 2024 09:59:37 +0000 Subject: [PATCH 3/3] Revert "ci: minors" This reverts commit 41ef4544ee7a845727a1a0a39eb7244ae0e42434. --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8999fa3210..0becb455ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -654,7 +654,10 @@ jobs: test-ledger-app: timeout-minutes: 30 - runs-on: [self-hosted, 4vcpu-8ram-ubuntu22-namada-x86] + runs-on: [ubuntu-latest] + + env: + RUSTC_WRAPPER: "" steps: - name: Checkout repo @@ -665,11 +668,6 @@ jobs: if: ${{ github.event_name == 'pull_request_target' }} with: ref: ${{ github.event.pull_request.head.sha }} - - name: Configure AWS - uses: aws-actions/configure-aws-credentials@v4 - with: - aws-region: ${{ env.AWS_REGION }} - role-to-assume: ${{ secrets.AWS_ROLE }} - name: Checkout ledger-namada run: | echo "Using Namada Ledger App version: v${LEDGER_APP_VERSION}" @@ -679,6 +677,10 @@ jobs: git submodule update --init --recursive sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 make deps + - name: Install rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable - name: Generate test vectors run: | # The path where the Ledger app test suite will locate test vectors