Skip to content

Commit c094c34

Browse files
chore: add install d8
Signed-off-by: Nikita Korolev <[email protected]>
1 parent c9b5a79 commit c094c34

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

Diff for: .github/workflows/e2e.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
method: service-account
6363
k8s-url: https://api.e2e.virtlab.flant.com
6464
k8s-secret: ${{ secrets.E2E_VIRTUALIZATION_SA_SECRET }}
65+
66+
- name: Test cluster connection
67+
run: |
68+
kubectl get no
6569
6670
- name: e2e
6771
run: |
@@ -74,8 +78,8 @@ jobs:
7478
cd ./tests/e2e/
7579
7680
echo "Show tasks"
77-
task
81+
task || true
7882
echo "--"
7983
8084
echo "Run task local"
81-
task run_local
85+
task run_local -vvvvv

Diff for: tests/e2e/Taskfile.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@ tasks:
2121
cp -a testdata/vm-migration /tmp/testdata/vm-migration
2222
cp -a testdata/vm-disk-attachment /tmp/testdata/vm-disk-attachment
2323
cp -a testdata/sshkeys /tmp/testdata/sshkeys
24+
2425
ginkgo:
2526
cmds:
2627
- |
28+
echo "Run ginkgo install"
2729
v=($(ginkgo version 2>/dev/null))
2830
if [ "${v[2]}" != "{{ .GINKGO_VERSION }}" ]; then
2931
go install github.com/onsi/ginkgo/v2/ginkgo@v"{{ .GINKGO_VERSION }}" ;
3032
fi
33+
ginkgo version
34+
3135
run:
3236
desc: "Run e2e tests"
3337
deps:
@@ -43,6 +47,11 @@ tasks:
4347
- ginkgo
4448
cmds:
4549
- |
50+
echo "Install d8"
51+
curl -fsSL -o d8-install.sh https://raw.githubusercontent.com/deckhouse/deckhouse-cli/main/d8-install.sh
52+
bash d8-install.sh
53+
54+
echo "Run run_local"
4655
export E2E_CLUSTERTRANSPORT_KUBECONFIG={{.E2E_CLUSTERTRANSPORT_KUBECONFIG}}
4756
ginkgo \
4857
--skip-file vm_test.go \

0 commit comments

Comments
 (0)