diff --git a/.github/actions/install-tools/action.yaml b/.github/actions/install-tools/action.yaml index 21e346048d..423e4aeab2 100644 --- a/.github/actions/install-tools/action.yaml +++ b/.github/actions/install-tools/action.yaml @@ -6,8 +6,6 @@ runs: steps: - uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # v2.8.1 - - uses: anchore/sbom-action/download-syft@78fc58e266e87a38d4194b2137a3d4e9bcaf7ca1 # v0.14.3 - - run: "curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin" shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 321ec9ab8e..9e73de4b60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,6 +61,18 @@ jobs: make release-init-package ARCH=amd64 AGENT_IMAGE_TAG=$GITHUB_REF_NAME make release-init-package ARCH=arm64 AGENT_IMAGE_TAG=$GITHUB_REF_NAME + # Before we run the tests we need to aggressively cleanup files to reduce disk pressure + - name: Cleanup files + run: | + lsblk -f + + sudo rm -rf zarf-sbom /tmp/zarf-* src/ui/node_modules + sudo build/zarf tools clear-cache + sudo docker system prune --all --force + go clean -cache + + lsblk -f + - name: Run Tests run: | sudo env "PATH=$PATH" CI=true APPLIANCE_MODE=true make test-e2e ARCH=amd64 @@ -74,17 +86,17 @@ jobs: - name: Create release time CVE report run: "make cve-report" - # Before we run GoReleaser we need to aggressively cleanup files to reduce disk pressure + # Before we run GoReleaser we need to (again) aggressively cleanup files to reduce disk pressure - name: Cleanup files run: | lsblk -f - sudo rm -rf zarf-sbom /tmp/zarf-* src/ui/node_modules + sudo rm -rf zarf-sbom /tmp/zarf-* sudo env "PATH=$PATH" CI=true make delete-packages sudo build/zarf tools clear-cache sudo docker system prune --all --force go clean -cache - + lsblk -f # Set up AWS credentials for GoReleaser to upload backups of artifacts to S3