forked from konflux-ci/e2e-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
76 lines (52 loc) · 1.44 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
E2E_BIN := ./bin/e2e-appstudio
E2E_ARGS_EXEC ?= ""
CONTAINER_TAG ?= next
CONTAINER_IMAGE_NAME ?= quay.io/redhat-appstudio/e2e:$(CONTAINER_TAG)
export CGO_ENABLED := 0
export GOFLAGS := -mod=mod
build:
go test -v -c -o $(E2E_BIN) ./cmd/e2e_test.go
build-container:
podman build -t $(CONTAINER_IMAGE_NAME) .
push-container:
podman push $(CONTAINER_IMAGE_NAME)
run:
$(E2E_BIN) $(E2E_ARGS_EXEC)
test/unit:
go test -v ./pkg/... ./magefiles/...
ci/test/e2e:
./mage -v ci:teste2e
ci/bootstrap:
./mage -v ci:bootstrap
ci/test/openshift-upgrade:
./mage -v ci:performOpenShiftUpgrade
ci/test/upgrade:
./mage -v ci:testUpgrade
ci/prepare/e2e-branch:
./mage -v ci:prepareE2Ebranch
local/cluster/prepare:
./mage -v local:prepareCluster
local/cluster/upgrade:
./mage -v local:testUpgrade
local/test/e2e:
./mage -v local:teste2e
local/template/generate-test-suite:
./mage -v local:generateTestSuiteFile
local/template/generate-test-spec:
./mage -v local:generateTestSpecFile
clean-gitops-repositories:
DRY_RUN=false ./mage -v local:cleanupGithubOrg
clean-github-webhooks:
./mage -v cleanWebHooks
clean-quay-repos-and-robots:
./mage -v local:cleanupQuayReposAndRobots
clean-quay-tags:
./mage -v local:cleanupQuayTags
clean-private-repos:
./mage -v local:cleanupPrivateRepos
clean-registered-servers:
./mage -v CleanupRegisteredPacServers
setup-multi-platform-tests:
./mage -v SetupMultiPlatformTests
setup-source-build:
./mage -v SetupSourceBuild