Skip to content

Commit

Permalink
Merge pull request #221 from EmilienM/rm_tmp
Browse files Browse the repository at this point in the history
hack/e2e: cleanup tmp dir
  • Loading branch information
openshift-merge-robot authored Feb 9, 2022
2 parents 905b064 + e36d1cf commit a384cbe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hack/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ set -euo pipefail
unset GOFLAGS
tmp="$(mktemp -d)"

git clone "https://github.com/openshift/cluster-api-actuator-pkg.git" "$tmp"
cleanup() {
rm -rf "${tmp}"
}

trap cleanup EXIT
git clone "https://github.com/openshift/cluster-api-actuator-pkg.git" "$tmp"
exec make -C "$tmp" test-e2e

0 comments on commit a384cbe

Please sign in to comment.