From e7b21acdc21a16c03ec07185fdd454ad6daba36b Mon Sep 17 00:00:00 2001 From: tosettil-polimi Date: Wed, 13 Nov 2024 17:53:31 +0100 Subject: [PATCH] test(kurtosis): without buildx --- .github/workflows/test-kurtosis-assertoor.yml | 41 +------------------ 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/.github/workflows/test-kurtosis-assertoor.yml b/.github/workflows/test-kurtosis-assertoor.yml index d1ec23fdd63..a86444f8c35 100644 --- a/.github/workflows/test-kurtosis-assertoor.yml +++ b/.github/workflows/test-kurtosis-assertoor.yml @@ -58,12 +58,6 @@ jobs: echo "week_of_the_year=$(/bin/date -u "+%Y-%W")" >> $GITHUB_OUTPUT cd .. - - name: Set up QEMU - uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf ## v3.2.0 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db ## v3.6.1 - - name: Setup GO build and pkg cache for one week only id: cache uses: actions/cache@v4 @@ -73,20 +67,6 @@ jobs: ~/go/pkg ~/.cache - # - name: Build for linux/arm64 - # run: > - # docker run --platform linux/arm64 - # --rm - # -v $(pwd)/erigon:/erigon:ro - # -v ${GITHUB_WORKSPACE}/build-arm64:/erigon-build - # -v ${HOME}/.cache:/root/.cache - # -v ${HOME}/go/pkg/mod:/go/pkg/mod - # -w /erigon --entrypoint /bin/bash - # ${{ env.BUILDER_IMAGE }} - # -c "git config --global --add safe.directory /erigon; - # make GOARCH=arm64 GOBIN=/erigon-build BUILD_TAGS=nosqlite,noboltdb,nosilkworm - # erigon downloader devnet evm caplin diag integration rpcdaemon sentry txpool" - - name: Build for linux/amd64 run: > docker run --platform linux/amd64 @@ -101,27 +81,8 @@ jobs: make GOARCH=amd64 GOAMD64=v1 GOBIN=/erigon-build BUILD_TAGS=nosqlite,noboltdb erigon downloader devnet evm caplin diag integration rpcdaemon sentry txpool; find / -name libsilkworm_capi.so -exec install {} /erigon-build \; " - - - name: Create archives and checksums - env: - RELEASE_VERSION: "local-${{ steps.getCommitId.outputs.short_commit_id }}" - run: | - cd ${GITHUB_WORKSPACE} - mkdir $GITHUB_WORKSPACE/release - for dir in build-*; do - cd $dir - echo Current directory is $(pwd). Checksum file and archive will be created for this directory - # sha256sum * > checksums.txt - tar czvf $GITHUB_WORKSPACE/release/${APPLICATION}_${RELEASE_VERSION}_linux_$(echo $dir | sed 's,build-,,').tar.gz \ - --transform "s,^./,${APPLICATION}_${RELEASE_VERSION}_linux_$(echo $dir | sed 's,build-,,')/," . - cd - - done - cd $GITHUB_WORKSPACE/release - sha256sum * > ${APPLICATION}_${RELEASE_VERSION}_checksums.txt - echo Content of release directory: - find . -type f -ls - - name: Build multi-platform docker image based on the commit id ${{ steps.getCommitId.outputs.short_commit_id }} in the ref branch + - name: Build docker image based on the commit id ${{ steps.getCommitId.outputs.short_commit_id }} in the ref branch env: BUILD_VERSION: "local-${{ steps.getCommitId.outputs.short_commit_id }}" DOCKERFILE_PATH: Dockerfile.release