Skip to content

Commit

Permalink
e2e: drop custom kind node image
Browse files Browse the repository at this point in the history
The node image does not need dbus installed anymore after
we moved to use host systemctl so the vanilla kind node image
works fine again.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
  • Loading branch information
mythi committed Sep 1, 2023
1 parent bd188a5 commit 194e789
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,9 @@ jobs:
env:
REGISTRY: localhost:5000/reqs-payload

- name: Build custom kind node image
uses: docker/build-push-action@v4
with:
context: tests/e2e/kind
load: true
tags: kindest/node:v1.27.3-coco

- name: Setup kind cluster
run: |
kind create cluster --image "kindest/node:v1.27.3-coco" -n coco-sgx --config tests/e2e/enclave-cc-kind-config.yaml --wait 120s
kind create cluster --image "kindest/node:v1.27.3" -n coco-sgx --config tests/e2e/enclave-cc-kind-config.yaml --wait 120s
kubectl label node coco-sgx-worker node.kubernetes.io/worker=
docker network connect kind registry
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/enclave-cc-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,9 @@ jobs:
env:
IMG: localhost:5000/cc-operator:latest

- name: Build custom kind node image
uses: docker/build-push-action@v4
with:
context: tests/e2e/kind
load: true
tags: kindest/node:v1.27.3-coco

- name: Setup kind cluster
run: |
kind create cluster --image "kindest/node:v1.27.3-coco" -n coco-sgx --config tests/e2e/enclave-cc-kind-config.yaml --wait 120s
kind create cluster --image "kindest/node:v1.27.3" -n coco-sgx --config tests/e2e/enclave-cc-kind-config.yaml --wait 120s
kubectl label node coco-sgx-worker node.kubernetes.io/worker=
- name: Deploy operator from the local registry
Expand Down
10 changes: 0 additions & 10 deletions tests/e2e/kind/Dockerfile

This file was deleted.

0 comments on commit 194e789

Please sign in to comment.