Skip to content

Commit

Permalink
chore: separate integration and e2e Makefile tasks
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Mar 18, 2022
1 parent 69e1bb0 commit 40bd0c6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Expand Up @@ -8,11 +8,17 @@ werf:
buildah-test:
CGO_ENABLED=1 go install -compiler gc -ldflags="-linkmode external -extldflags=-static" -tags="dfrunmount dfssh containers_image_openpgp osusergo exclude_graphdriver_devicemapper netgo no_devmapper static_build" github.com/werf/werf/cmd/buildah-test

acceptance-tests:
integration-tests:
export WERF_TEST_K8S_DOCKER_REGISTRY="localhost:5000"
export WERF_TEST_K8S_DOCKER_REGISTRY_USERNAME="nobody"
export WERF_TEST_K8S_DOCKER_REGISTRY_PASSWORD=""
CGO_ENABLED=1 ginkgo -r -v -compiler gc -ldflags="-linkmode external -extldflags=-static" -tags="dfrunmount dfssh containers_image_openpgp osusergo exclude_graphdriver_devicemapper netgo no_devmapper static_build" integration/suites test/e2e
CGO_ENABLED=1 ginkgo -r -v -compiler gc -ldflags="-linkmode external -extldflags=-static" -tags="dfrunmount dfssh containers_image_openpgp osusergo exclude_graphdriver_devicemapper netgo no_devmapper static_build" integration/suites

e2e-tests:
export WERF_TEST_K8S_DOCKER_REGISTRY="localhost:5000"
export WERF_TEST_K8S_DOCKER_REGISTRY_USERNAME="nobody"
export WERF_TEST_K8S_DOCKER_REGISTRY_PASSWORD=""
CGO_ENABLED=1 ginkgo -r -v -compiler gc -ldflags="-linkmode external -extldflags=-static" -tags="dfrunmount dfssh containers_image_openpgp osusergo exclude_graphdriver_devicemapper netgo no_devmapper static_build" test/e2e

.PHONY: unit-tests
unit-tests:
Expand Down

0 comments on commit 40bd0c6

Please sign in to comment.