Skip to content

Commit

Permalink
adding prune
Browse files Browse the repository at this point in the history
  • Loading branch information
dgershman committed Aug 12, 2023
1 parent e0b3dfc commit 9744ade
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/argocd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import ExampleYAML from "@site/src/components/ExampleYAML";

# ArgoCD (with Podinfo)

This example demonstrates how to use ArgoCD with Zarf to deploy the `stefanprodan/podinfo` app using GitOps.

It uses a vanilla configuration of ArgoCD with upstream containers.

If you want to learn more about how Zarf handles `git` repositories, see the [git-data](../git-data/) example.

## `zarf.yaml` {#zarf.yaml}

:::info

To view the example in its entirety, select the `Edit this page` link below the article and select the parent folder.

:::

<ExampleYAML src={require('./zarf.yaml')} showLink={false} />
4 changes: 4 additions & 0 deletions src/test/e2e/22_git_and_gitops_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,8 @@ func waitArgoDeployment(t *testing.T) {
// Remove the argocd example when deployment completes
stdOut, stdErr, err = e2e.Zarf("package", "remove", "argocd", "--confirm")
require.NoError(t, err, stdOut, stdErr)

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

0 comments on commit 9744ade

Please sign in to comment.