From f26b263bd914a22fc723f632ce5d93a93eb3b4f4 Mon Sep 17 00:00:00 2001 From: Dharmjit Singh Date: Tue, 18 Jan 2022 07:09:30 +0000 Subject: [PATCH] Bump ginkgo version in gh actions workflows ginkgo is bumped to v1.16.5 as apt-get command is installing an older version --- .github/workflows/e2e.yml | 2 +- .github/workflows/test-agent.yml | 2 +- .github/workflows/test-controller.yml | 2 +- .github/workflows/test-webhook.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index e802f0bcf..89a140512 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -17,7 +17,7 @@ jobs: go-version: 1.16 - name: Install ginkgo - run: sudo apt-get install golang-ginkgo-dev + run: go get github.com/onsi/ginkgo/ginkgo@v1.16.5 - name: turn off swap run: sudo swapoff -a diff --git a/.github/workflows/test-agent.yml b/.github/workflows/test-agent.yml index 5f9cccea7..57aeee190 100644 --- a/.github/workflows/test-agent.yml +++ b/.github/workflows/test-agent.yml @@ -32,7 +32,7 @@ jobs: go-version: 1.16 - name: Install ginkgo - run: sudo apt-get install golang-ginkgo-dev + run: go get github.com/onsi/ginkgo/ginkgo@v1.16.5 - name: make sure it has permission to clean up directory run: sudo chmod -R 755 /etc diff --git a/.github/workflows/test-controller.yml b/.github/workflows/test-controller.yml index 34b296653..cb4fed657 100644 --- a/.github/workflows/test-controller.yml +++ b/.github/workflows/test-controller.yml @@ -18,7 +18,7 @@ jobs: go-version: 1.16 - name: Install ginkgo - run: sudo apt-get install golang-ginkgo-dev + run: go get github.com/onsi/ginkgo/ginkgo@v1.16.5 - name: test byoh controllers run: make controller-test \ No newline at end of file diff --git a/.github/workflows/test-webhook.yml b/.github/workflows/test-webhook.yml index 1a50c6afe..da22b147d 100644 --- a/.github/workflows/test-webhook.yml +++ b/.github/workflows/test-webhook.yml @@ -18,7 +18,7 @@ jobs: go-version: 1.16 - name: Install ginkgo - run: sudo apt-get install golang-ginkgo-dev + run: go get github.com/onsi/ginkgo/ginkgo@v1.16.5 - name: test byoh webhook run: make webhook-test \ No newline at end of file