File tree 9 files changed +24
-19
lines changed
linodecluster-controller/minimal-linodecluster
linodeobjectstoragebucket-controller/minimal-linodeobjectstoragebucket
linodevpc-controller/minimal-linodevpc
9 files changed +24
-19
lines changed Original file line number Diff line number Diff line change @@ -172,8 +172,9 @@ jobs:
172
172
GITHUB_TOKEN : ${{ secrets.github_token }}
173
173
LINODE_TOKEN : ${{ secrets.LINODE_TOKEN }}
174
174
175
- - name : Partial E2E Test
176
- run : make e2etest-pr
175
+ - name : Quick E2E Test
176
+ if : github.ref != 'refs/heads/main'
177
+ run : make e2etest-quick
177
178
env :
178
179
GITHUB_TOKEN : ${{ secrets.github_token }}
179
180
LINODE_TOKEN : ${{ secrets.LINODE_TOKEN }}
Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ test: generate fmt vet envtest ## Run tests.
147
147
148
148
.PHONY : e2etest
149
149
e2etest : generate local-deploy chainsaw
150
- GIT_REF=$(GIT_REF ) $(CHAINSAW ) test ./e2e --assert-timeout 600s
150
+ GIT_REF=$(GIT_REF ) $(CHAINSAW ) test ./e2e/default-capl-cluster --assert-timeout 600s --cluster child-cluster=/e2e/default-capl-cluster/child-cluster-kubeconfig.yaml
151
151
152
152
.PHONY : e2etest-pr
153
- e2etest-pr : generate local-deploy chainsaw
154
- GIT_REF=$(GIT_REF ) $(CHAINSAW ) test ./e2e --selector on-pr
153
+ e2etest-quick : generate local-deploy chainsaw
154
+ GIT_REF=$(GIT_REF ) $(CHAINSAW ) test ./e2e --selector quick
155
155
156
156
local-deploy : kind ctlptl tilt kustomize clusterctl
157
157
@echo -n " LINODE_TOKEN=$( LINODE_TOKEN) " > config/default/.env.linode
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 47
47
($error) : ~
48
48
(json_parse($stdout)) :
49
49
results : 2
50
+ - name : step-02b - get child cluster kubeconfig
51
+ try :
52
+ - script :
53
+ content : |
54
+ clusterctl get kubeconfig ($cluster) > child-cluster-kubeconfig.yaml
55
+ check :
56
+ ($error == null) : true
57
+ # - name: step-02c - check child cluster
58
+ # try:
59
+ # - script:
60
+ # cluster: child-cluster
61
+ # content: |
62
+ # kubectl get nodes -o wide
50
63
- name : step-03
51
64
try :
52
65
- delete :
79
92
($error) : ~
80
93
(json_parse($stdout)) :
81
94
results : 0
82
- - name : step-05
83
- try :
84
- - apply :
85
- file : 04-cleanup-cluster.yaml
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
name : minimal-linodecluster
7
7
# Label to trigger the test on every PR
8
8
labels :
9
- on-pr :
9
+ quick :
10
10
spec :
11
11
bindings :
12
12
# A short identifier for the E2E test run
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
name : minimal-linodemachine
7
7
# Label to trigger the test on every PR
8
8
labels :
9
- on-pr :
9
+ quick :
10
10
spec :
11
11
bindings :
12
12
# A short identifier for the E2E test run
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
name : vpc-integration
7
7
# Label to trigger the test on every PR
8
8
labels :
9
- on-pr :
9
+ quick :
10
10
spec :
11
11
bindings :
12
12
# A short identifier for the E2E test run
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
name : minimal-linodeobjectstoragebucket
6
6
# Label to trigger the test on every PR
7
7
labels :
8
- on-pr :
8
+ quick :
9
9
spec :
10
10
bindings :
11
11
# A short identifier for the E2E test run
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
name : minimal-linodevpc
6
6
# Label to trigger the test on every PR
7
7
labels :
8
- on-pr :
8
+ quick :
9
9
spec :
10
10
bindings :
11
11
# A short identifier for the E2E test run
You can’t perform that action at this time.
0 commit comments