Skip to content

Commit

Permalink
Add a prune statement to the flux repository test (#1967)
Browse files Browse the repository at this point in the history
## Description

This adds the new prune command to the flux test as well to reduce disk
pressure.

## 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

- [X] 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 authored Aug 11, 2023
1 parent b5cf624 commit 4f3d38f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/e2e/22_git_and_flux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,8 @@ func waitFluxPodInfoDeployment(t *testing.T) {
// Remove the flux example when deployment completes
stdOut, stdErr, err = e2e.Zarf("package", "remove", "podinfo-flux", "--confirm")
require.NoError(t, err, stdOut, stdErr)

// Prune the flux images to reduce disk pressure
stdOut, stdErr, err = e2e.Zarf("tools", "registry", "prune", "--confirm")
require.NoError(t, err, stdOut, stdErr)
}

0 comments on commit 4f3d38f

Please sign in to comment.