Skip to content

Commit

Permalink
chore: add integration with cache task (#415)
Browse files Browse the repository at this point in the history
[#181404975]

Signed-off-by: James Norman <normanja@vmware.com>
  • Loading branch information
tinygrasshopper authored Mar 10, 2022
1 parent 462aa9e commit 60b9f67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ acceptance-tests/gcp/storage-spring-test-app/.project
acceptance-tests/gcp/storage-spring-test-app/.settings/
acceptance-tests/gcp/storage-spring-test-app/HELP.md
acceptance-tests/gcp/storage-spring-test-app/target/

.pak-cache/
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ SHELL = /bin/bash
GO-VERSION = 1.17
GO-VER = go$(GO-VERSION)

PAK_CACHE=$(PWD)/.pak-cache

OSFAMILY=$(shell uname)
ifeq ($(OSFAMILY),Darwin)
OSFAMILY=darwin
Expand Down Expand Up @@ -57,6 +59,12 @@ test-units: deps-go-binary ## run unit tests
test-integration: deps-go-binary ## run integration tests
$(GO) run github.com/onsi/ginkgo/v2/ginkgo -p integrationtest/...

.PHONY: test-integration-with-cache
test-integration-with-cache: deps-go-binary .pak_cache ## run integration with local cache
PAK_BUILD_CACHE_PATH=$(PAK_CACHE) $(GO) run github.com/onsi/ginkgo/v2/ginkgo -p integrationtest/...

.pak-cache:
mkdir -p $(PAK_CACHE)
###### Build ##################################################################

./build/cloud-service-broker.linux: $(SRC)
Expand Down

0 comments on commit 60b9f67

Please sign in to comment.