From b053bec033b6407d08190f4211cafdd44e440571 Mon Sep 17 00:00:00 2001 From: Kirill Azovtsev Date: Mon, 22 Apr 2024 17:07:04 +0300 Subject: [PATCH] setup buildx test --- .github/workflows/autotests-custom.yaml | 71 +++++++++++++------------ 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/.github/workflows/autotests-custom.yaml b/.github/workflows/autotests-custom.yaml index 243fa47993..baf18ba7ed 100644 --- a/.github/workflows/autotests-custom.yaml +++ b/.github/workflows/autotests-custom.yaml @@ -10,37 +10,42 @@ on: jobs: autotests: - runs-on: ubuntu-latest - container: soramitsu/kagome-autotests:latest + runs-on: [ actions-runner-controller ] + container: qdrvm/kagome-dev@sha256:2d70246c32418a3dd45c246d3f5c2dd99bdafde145b903271849affe476c4cfc steps: - - name: Set commit status as pending - uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a - with: - token: ${{ secrets.GITHUB_TOKEN }} - status: pending - context: Autotests - sha: ${{ github.sha }} - - name: Run autotests - working-directory: /kagome-autotests - run: python3 -m pytest - shell: sh - - name: Set commit status as failure - if: failure() - uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a - with: - token: ${{ secrets.GITHUB_TOKEN }} - status: failure - context: Autotests - sha: ${{ github.sha }} - - name: Set commit status as success - if: success() - uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a - with: - token: ${{ secrets.GITHUB_TOKEN }} - status: success - context: Autotests - sha: ${{ github.sha }} - env: - KAGOME_S1: ${{ secrets.KAGOME_S1 }} - SUBSTRATE_S2: ${{ secrets.SUBSTRATE_S2 }} - ALICE_ED: ${{ secrets.ALICE_ED }} + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 +# runs-on: ubuntu-latest +# container: soramitsu/kagome-autotests:latest +# steps: +# - name: Set commit status as pending +# uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a +# with: +# token: ${{ secrets.GITHUB_TOKEN }} +# status: pending +# context: Autotests +# sha: ${{ github.sha }} +# - name: Run autotests +# working-directory: /kagome-autotests +# run: python3 -m pytest +# shell: sh +# - name: Set commit status as failure +# if: failure() +# uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a +# with: +# token: ${{ secrets.GITHUB_TOKEN }} +# status: failure +# context: Autotests +# sha: ${{ github.sha }} +# - name: Set commit status as success +# if: success() +# uses: myrotvorets/set-commit-status-action@7d7fe9a321fbe56a1339449c19422e95a025c65a +# with: +# token: ${{ secrets.GITHUB_TOKEN }} +# status: success +# context: Autotests +# sha: ${{ github.sha }} +# env: +# KAGOME_S1: ${{ secrets.KAGOME_S1 }} +# SUBSTRATE_S2: ${{ secrets.SUBSTRATE_S2 }} +# ALICE_ED: ${{ secrets.ALICE_ED }}