1
+ # Copyright 2024 Flant JSC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
name : e2e
2
16
3
17
env :
4
18
CI_COMMIT_REF_NAME : ${{ github.ref_name }}
5
19
6
20
on :
21
+ workflow_dispatch :
7
22
pull_request :
8
23
branches :
9
24
- ci/tests/e2e-workflow
@@ -22,13 +37,19 @@ concurrency:
22
37
jobs :
23
38
show_dev_manifest :
24
39
runs-on : ubuntu-latest
25
- name : Show manifest
40
+ name : Run e2e
26
41
steps :
42
+ - name : Set up Go 1.21
43
+ uses : actions/setup-go@v5
44
+ with :
45
+ go-version : " 1.21"
46
+
27
47
- name : Install Task
28
48
uses : arduino/setup-task@v2
29
-
30
- - uses : azure/setup-kubectl@v3
31
- # default is latest stable
49
+
50
+ - uses :
51
+ azure/setup-kubectl@v3
52
+ # default is latest stable
32
53
id : install
33
54
34
55
- uses : actions/checkout@v4
38
59
method : service-account
39
60
k8s-url : https://api.e2e.virtlab.flant.com
40
61
k8s-secret : ${{ secrets.E2E_VIRTUALIZATION_SA_SECRET }}
41
- # token: ${{ secrets.E2E_VIRTUALIZATION_SA_TOKEN }}
42
-
43
- - name : Create Namespace
44
- run : |
45
- kubectl create namespace testgh
46
-
47
- - name : Get ns and delete
62
+
63
+ - name : e2e
48
64
run : |
49
- kubectl get ns | grep testgh
50
- kubectl delete namespace testgh
65
+ export E2E_CLUSTERTRANSPORT_KUBECONFIG=$KUBECONFIG
66
+ task run_local
0 commit comments