Skip to content

Commit 6b35eff

Browse files
committed
ci(e2e-kind): build and load local images before smoke tests
1 parent 22d8fb6 commit 6b35eff

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,15 @@ jobs:
128128
- name: Install Helm
129129
uses: azure/setup-helm@v4
130130

131+
- name: Build E2E images
132+
run: |
133+
docker build -f Dockerfile.operator -t local/imp-operator:e2e .
134+
docker build -f Dockerfile.agent -t local/imp-agent:e2e .
135+
136+
- name: Load E2E images into Kind
137+
run: |
138+
kind load docker-image local/imp-operator:e2e --name imp-e2e
139+
kind load docker-image local/imp-agent:e2e --name imp-e2e
140+
131141
- name: Run E2E tests
132142
run: go test -tags e2e ./test/e2e/... -v -timeout 15m -ginkgo.label-filter="smoke"

0 commit comments

Comments
 (0)