mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 15:46:31 +01:00
chore: use helm/kind-action
helm/kind-action seems to be more maintained than engineerd/setup-kind. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
15
.github/workflows/e2e.yaml
vendored
15
.github/workflows/e2e.yaml
vendored
@@ -63,13 +63,14 @@ jobs:
|
||||
run: |
|
||||
export SHELL=/bin/bash
|
||||
make build image
|
||||
- name: Start KinD
|
||||
uses: engineerd/setup-kind@v0.5.0
|
||||
- name: Start kind cluster
|
||||
uses: helm/kind-action@v1.7.0
|
||||
with:
|
||||
version: ${{ env.kind-version }}
|
||||
image: ${{ env.kind-image }}
|
||||
node_image: ${{ env.kind-image }}
|
||||
wait: 300s
|
||||
config: /test/e2e/kind-conf.yaml
|
||||
config: ./test/e2e/kind-conf.yaml
|
||||
cluster_name: e2e
|
||||
- name: Wait for cluster to finish bootstraping
|
||||
run: |
|
||||
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=300s
|
||||
@@ -77,9 +78,9 @@ jobs:
|
||||
kubectl get pods -A
|
||||
- name: Load images
|
||||
run: |
|
||||
kind load docker-image quay.io/prometheus-operator/prometheus-operator:$(git rev-parse --short HEAD)
|
||||
kind load docker-image quay.io/prometheus-operator/prometheus-config-reloader:$(git rev-parse --short HEAD)
|
||||
kind load docker-image quay.io/prometheus-operator/admission-webhook:$(git rev-parse --short HEAD)
|
||||
kind load docker-image -n e2e quay.io/prometheus-operator/prometheus-operator:$(git rev-parse --short HEAD)
|
||||
kind load docker-image -n e2e quay.io/prometheus-operator/prometheus-config-reloader:$(git rev-parse --short HEAD)
|
||||
kind load docker-image -n e2e quay.io/prometheus-operator/admission-webhook:$(git rev-parse --short HEAD)
|
||||
kubectl apply -f scripts/kind-rbac.yaml
|
||||
- name: Run tests
|
||||
run: >
|
||||
|
||||
Reference in New Issue
Block a user