Skip to content

Commit

Permalink
Merge pull request #538 from gsunner/cicd-demo-updates
Browse files Browse the repository at this point in the history
add script to delete completed argo jobs
  • Loading branch information
gsunner authored May 1, 2019
2 parents 4cea5e3 + b8a0e9e commit d15e358
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Empty file modified examples/cicd-argocd/README.md
100755 → 100644
Empty file.
14 changes: 14 additions & 0 deletions examples/cicd-argocd/argo/wf-delete-completed
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

set -o nounset
set -o errexit
set -o pipefail
set -o noclobber
set -o noglob

STARTUP_DIR="$( cd "$( dirname "$0" )" && pwd )"

source ${STARTUP_DIR}/../settings.sh

argo delete --context "${KUBE_CONTEXT}" --completed

Empty file modified examples/cicd-argocd/settings.sh.example
100755 → 100644
Empty file.

0 comments on commit d15e358

Please sign in to comment.