Skip to content

Commit

Permalink
test(kurtosis): without buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
tosettil-polimi committed Nov 13, 2024
1 parent 430c820 commit e7b21ac
Showing 1 changed file with 1 addition and 40 deletions.
41 changes: 1 addition & 40 deletions .github/workflows/test-kurtosis-assertoor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e7b21ac

Please sign in to comment.