Skip to content

Commit 5c6f394

Browse files
committed
e2e: run specs in parallel (#2375)
1 parent 437f8df commit 5c6f394

File tree

1 file changed

+33
-6
lines changed

1 file changed

+33
-6
lines changed

.github/workflows/build-x86-image.yaml

+33-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: Build x86 Image
22

33
on:
44
pull_request:
5-
types:
6-
- opened
7-
- synchronize
8-
- reopened
9-
- labeled
105
branches:
116
- master
127
- release-*
@@ -167,7 +162,11 @@ jobs:
167162
key: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-${{ hashFiles(format('{0}/**/go.sum', env.E2E_DIR)) }}
168163
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-
169164

170-
- run: make e2e-compile
165+
- name: Install ginkgo
166+
working-directory: ${{ env.E2E_DIR }}
167+
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo
168+
169+
- run: make e2e-build
171170
working-directory: ${{ env.E2E_DIR }}
172171

173172
k8s-conformance-e2e:
@@ -237,6 +236,10 @@ jobs:
237236
with:
238237
install_only: true
239238

239+
- name: Install ginkgo
240+
working-directory: ${{ env.E2E_DIR }}
241+
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo
242+
240243
- name: Download image
241244
uses: actions/download-artifact@v3
242245
with:
@@ -329,6 +332,10 @@ jobs:
329332
with:
330333
install_only: true
331334

335+
- name: Install ginkgo
336+
working-directory: ${{ env.E2E_DIR }}
337+
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo
338+
332339
- name: Download image
333340
uses: actions/download-artifact@v3
334341
with:
@@ -393,6 +400,10 @@ jobs:
393400
with:
394401
install_only: true
395402

403+
- name: Install ginkgo
404+
working-directory: ${{ env.E2E_DIR }}
405+
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo
406+
396407
- name: Download image
397408
uses: actions/download-artifact@v3
398409
with:
@@ -475,6 +486,10 @@ jobs:
475486
with:
476487
install_only: true
477488

489+
- name: Install ginkgo
490+
working-directory: ${{ env.E2E_DIR }}
491+
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo
492+
478493
- name: Download image
479494
uses: actions/download-artifact@v3
480495
with:
@@ -553,6 +568,10 @@ jobs:
553568
with:
554569
install_only: true
555570

571+
- name: Install ginkgo
572+
working-directory: ${{ env.E2E_DIR }}
573+
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo
574+
556575
- name: Download image
557576
uses: actions/download-artifact@v3
558577
with:
@@ -815,6 +834,10 @@ jobs:
815834
with:
816835
install_only: true
817836

837+
- name: Install ginkgo
838+
working-directory: ${{ env.E2E_DIR }}
839+
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo
840+
818841
- name: Download image
819842
uses: actions/download-artifact@v3
820843
with:
@@ -906,6 +929,10 @@ jobs:
906929
with:
907930
install_only: true
908931

932+
- name: Install ginkgo
933+
working-directory: ${{ env.E2E_DIR }}
934+
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo
935+
909936
- name: Download image
910937
uses: actions/download-artifact@v3
911938
with:

0 commit comments

Comments
 (0)