Skip to content

Commit

Permalink
ci: remove wavm machine release
Browse files Browse the repository at this point in the history
We are not planning to have an STF that differs from upstream. So this
shouldn't be needed anymore.
  • Loading branch information
sveitser committed Nov 22, 2024
1 parent 8bfaa7c commit 65d6f98
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 66 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/espresso-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
# so it's possible this was always the culprit.
#
# After building, the images are merged together to make a multiplatform image.
#
# The latest wavm machine is also copied and exported as an artifact. In nitro
# this seems to be later used as machine for the non-dev nitro-node build.
# For more details on that see the Dockerfile and ./scripts/download.sh
name: Espresso Docker build CI
run-name: Docker build CI triggered from @${{ github.actor }} of ${{ github.head_ref }}

Expand Down Expand Up @@ -121,36 +117,6 @@ jobs:
platforms: ${{ matrix.platform }}
push: ${{ github.event_name != 'pull_request' }}

# The module root is not identical for the ARM build so we upload
# the binary only for AMD64.
- name: Extract WAVM machine from container and print its root
if: ${{ matrix.platform == 'linux/amd64' && github.event_name != 'pull_request' }}
id: module-root
run: |
# Unfortunately, `docker cp` seems to always result in a "permission denied"
# We work around this by piping a tarball through stdout
digest="${{ steps.nitro-node-dev.outputs.digest }}"
image=ghcr.io/espressosystems/nitro-espresso-integration/nitro-node-dev@$digest
docker run --rm --entrypoint tar $image -cf - target/machines/latest | tar xf -
ls -lah target/machines/latest
module_root="$(cat "target/machines/latest/module-root.txt")"
echo "module-root=$module_root" >> $GITHUB_OUTPUT
echo -e "\x1b[1;34mWAVM module root:\x1b[0m $module_root"
- name: Upload WAVM machine as artifact
uses: actions/upload-artifact@v3
if: ${{ matrix.platform == 'linux/amd64' && github.event_name != 'pull_request' }}
with:
name: wavm-machine-${{ steps.module-root.outputs.module-root }}
path: target/machines/latest/*
if-no-files-found: error

- name: Release wasm binary
uses: softprops/action-gh-release@v1
if: matrix.platform == 'linux/amd64' && startsWith(github.ref, 'refs/tags/')
with:
files: target/machines/latest/*

- name: Check available space after CI run
if: "!cancelled()"
run: |
Expand Down
32 changes: 0 additions & 32 deletions scripts/download-machine-espresso.sh

This file was deleted.

0 comments on commit 65d6f98

Please sign in to comment.