Skip to content

Commit

Permalink
Make release process cleanup more aggressive (#1701)
Browse files Browse the repository at this point in the history
## Description

Reduce release space even further.

## Related Issue

Fixes #N/A

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [X] Other (security config, docs update, etc)

## Checklist before merging

- [N/A] Test, docs, adr added or updated as needed
- [X] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed
  • Loading branch information
Racer159 committed May 11, 2023
1 parent 07e7de3 commit c782eb1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,18 @@ jobs:
- name: Run Tests
run: |
sudo env "PATH=$PATH" CI=true APPLIANCE_MODE=true make test-e2e ARCH=amd64
sudo rm -rf zarf-sbom
sudo rm -rf build/zarf-package-*
sudo build/zarf tools clear-cache
sudo chown $USER /tmp/zarf-*.log
- name: Save logs
if: always()
uses: ./.github/actions/save-logs

- name: Cleanup files
run: |
sudo rm -rf zarf-sbom /tmp/zarf-*
sudo env "PATH=$PATH" CI=true make delete-packages
sudo build/zarf tools clear-cache
# Builds init packages since GoReleaser won't handle this for us
- name: Create release time CVE report
run: "make cve-report"
Expand Down

0 comments on commit c782eb1

Please sign in to comment.