From b302008b429e57bdfd6e61120f99d754768475ff Mon Sep 17 00:00:00 2001 From: Horst Gutmann Date: Thu, 27 Jun 2024 08:15:42 +0200 Subject: [PATCH] Add README for acceptance-tests --- Makefile | 5 ++++- acceptance-tests/README.md | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 acceptance-tests/README.md diff --git a/Makefile b/Makefile index 86c32d6e7..6f519ca24 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: lint test static install uninstall cross +.PHONY: lint test static install uninstall cross acceptance-tests GOPATH := $(shell go env GOPATH) VERSION := $(shell git describe --tags --dirty --always) BIN_DIR := $(GOPATH)/bin @@ -14,6 +14,9 @@ lint: $(GOLINTER) test: go test ./... -bench=. -benchmem +acceptance-tests: + dagger call acceptance-tests --root-dir .:core-files + # Compilation dev: go build -ldflags "-X main.Version=dev-${VERSION}" ./cmd/tk diff --git a/acceptance-tests/README.md b/acceptance-tests/README.md new file mode 100644 index 000000000..3c8258716 --- /dev/null +++ b/acceptance-tests/README.md @@ -0,0 +1,11 @@ +# Acceptance tests + +These tests aim to cover some e2e use-cases like creating a new Tanka +environment and pushing it up to an ephemeral Kubernetes cluster. + +To run these, you need to have the Dagger CLI >= 0.11 installed. Then you can +execute the tests like this from the *root directory* of the project: + +``` +make acceptance-tests +```