Skip to content

Commit

Permalink
use local docker spin-operator image
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat Jindal <[email protected]>
  • Loading branch information
rajatjindal committed Feb 22, 2024
1 parent 841cf3f commit f95fbf2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/helm-install-smoketest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,21 @@ jobs:
name: k3d
url: https://github.com/k3d-io/k3d/releases/download/v5.6.0/k3d-linux-amd64

- name: create spin-operator docker image
run: make docker-build IMG=spin-operator:latest
name: k3d
url: https://github.com/k3d-io/k3d/releases/download/v5.6.0/k3d-linux-amd64

- name: start k3d cluster
run: |
k3d cluster create wasm-cluster \
--image ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:v0.11.0 \
--port "8081:80@loadbalancer" \
--agents 2
- name: import operator image into k3d cluster
run: k3d image import -c wasm-cluster spin-operator:latest

- name: install crd
run: make install

Expand All @@ -53,7 +61,7 @@ jobs:
run: |
helm repo add kwasm-operator http://kwasm.sh/kwasm-operator
helm dependency build charts/spin-operator
IMG=rg.fr-par.scw.cloud/dlancshire-public/tmp-spoperator:20240219-162838-gff68ce4 make helm-install
IMG=spin-operator:latest make helm-install
- name: debug
if: failure()
Expand Down

0 comments on commit f95fbf2

Please sign in to comment.