Skip to content

Commit 7e177ac

Browse files
chore: resolve conflicts
Signed-off-by: Nikita Korolev <[email protected]>
1 parent 7428092 commit 7e177ac

File tree

1 file changed

+29
-13
lines changed

1 file changed

+29
-13
lines changed

.github/workflows/e2e.yaml

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
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+
115
name: e2e
216

317
env:
418
CI_COMMIT_REF_NAME: ${{ github.ref_name }}
519

620
on:
21+
workflow_dispatch:
722
pull_request:
823
branches:
924
- ci/tests/e2e-workflow
@@ -22,13 +37,19 @@ concurrency:
2237
jobs:
2338
show_dev_manifest:
2439
runs-on: ubuntu-latest
25-
name: Show manifest
40+
name: Run e2e
2641
steps:
42+
- name: Set up Go 1.21
43+
uses: actions/setup-go@v5
44+
with:
45+
go-version: "1.21"
46+
2747
- name: Install Task
2848
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
3253
id: install
3354

3455
- uses: actions/checkout@v4
@@ -38,13 +59,8 @@ jobs:
3859
method: service-account
3960
k8s-url: https://api.e2e.virtlab.flant.com
4061
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
4864
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

Comments
 (0)