Skip to content

Commit

Permalink
Created make targets for the smoke tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
cranzy committed Mar 5, 2024
1 parent 3330050 commit c84b5fd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ dist/

.tfstate

github-release
github-release
20 changes: 17 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ sign-win:
clean:
rm -f dist

unit-test:
$(GO) test -v ./...

# build all the binaries for release, using goreleaser, but
# don't use any of the other features of goreleaser - because
# we need to use digicert to sign the binaries first, and
Expand All @@ -30,6 +27,22 @@ unit-test:
build-release:
goreleaser build --clean --config=.goreleaser.build.yml

.PHONY: unit-test
unit-test:
$(GO) test -v ./pkg/...

.PHONY: smoke-small
smoke-small:
go test -v ./test/smoke/... -run TestSmallCluster -timeout 20m

.PHONY: smoke-full
smoke-full:
go test -v ./test/smoke/... -run TestSupportedMatrixCluster -timeout 30m

.PHONY: clean-launchpad-chart
clean-launchpad-chart:
terraform -chdir=./examples/tf-aws/launchpad apply --auto-approve --destroy

checksum-release: build-release
cd $(ARTIFACTS_FOLDER) && rm -rf $(CHECKSUM_FILE) && $(CHECKSUM) * > $(CHECKSUM_FILE)

Expand All @@ -44,5 +57,6 @@ local:
release: build-release sign-win checksum-release
./release.sh

.PHONY: lint
lint:
$(GOLANGCI_LINT) run
37 changes: 0 additions & 37 deletions test/Makefile

This file was deleted.

0 comments on commit c84b5fd

Please sign in to comment.