Skip to content

Commit

Permalink
chore: add install d8
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Korolev <[email protected]>
  • Loading branch information
universal-itengineer committed Oct 18, 2024
1 parent c9b5a79 commit fa12a01
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
cd ./tests/e2e/
echo "Show tasks"
task
task || true
echo "--"
echo "Run task local"
task run_local
task run_local -vvvvv
9 changes: 9 additions & 0 deletions tests/e2e/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ tasks:
cp -a testdata/vm-migration /tmp/testdata/vm-migration
cp -a testdata/vm-disk-attachment /tmp/testdata/vm-disk-attachment
cp -a testdata/sshkeys /tmp/testdata/sshkeys
ginkgo:
cmds:
- |
echo "Run ginkgo install"
v=($(ginkgo version 2>/dev/null))
if [ "${v[2]}" != "{{ .GINKGO_VERSION }}" ]; then
go install github.com/onsi/ginkgo/v2/ginkgo@v"{{ .GINKGO_VERSION }}" ;
fi
ginkgo version
run:
desc: "Run e2e tests"
deps:
Expand All @@ -43,6 +47,11 @@ tasks:
- ginkgo
cmds:
- |
echo "Install d8"
curl -fsSL -o d8-install.sh https://raw.githubusercontent.com/deckhouse/deckhouse-cli/main/d8-install.sh
bash d8-install.sh
echo "Run run_local"
export E2E_CLUSTERTRANSPORT_KUBECONFIG={{.E2E_CLUSTERTRANSPORT_KUBECONFIG}}
ginkgo \
--skip-file vm_test.go \
Expand Down

0 comments on commit fa12a01

Please sign in to comment.