From 0ef84c3bf271bcf338cd42a8d164493a3e24e2b0 Mon Sep 17 00:00:00 2001 From: Yuval Kohavi Date: Sat, 23 Oct 2021 14:12:58 -0400 Subject: [PATCH] do cleanup --- .github/workflows/pull_request.yaml | 1 + Makefile | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 7ad53c1c..70472bad 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -30,6 +30,7 @@ jobs: curl -sSL -O https://releases.hashicorp.com/packer/1.7.7/packer_1.7.7_linux_amd64.zip unzip packer_1.7.7_linux_amd64.zip mv packer /usr/local/bin/packer + rm packer_1.7.7_linux_amd64.zip # make packer make install-local diff --git a/Makefile b/Makefile index 3bccb6fd..84e4af29 100644 --- a/Makefile +++ b/Makefile @@ -41,4 +41,6 @@ testacc: testacc-sudo: cd pkg/builder && \ go test -c . && \ - PACKER_ACC=1 PACKER_CONFIG_DIR=$(HOME) sudo -E bash -c "PATH=$(HOME)/go/bin:$$PATH ./builder.test" + PACKER_ACC=1 PACKER_CONFIG_DIR=$(HOME) sudo -E bash -c "PATH=$(HOME)/go/bin:$$PATH ./builder.test" && \ + rm img.delete builder.test +