Skip to content

Commit

Permalink
fix: loading image into kind for e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
KevFan committed Oct 17, 2023
1 parent 6127331 commit 9b0031b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ Dockerfile
*.swp
.dockerignore
.git
.github
doc
README.md
RELEASE.md

*.yaml
*.md
*.json
*.sh
*.png
*.svg
# OSX files
.DS_Store
5 changes: 3 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ jobs:
kubectl cluster-info dump
- name: Load limitador docker image
run: |
docker save -o image.tar ${{ steps.meta.outputs.tags }}
kind load image-archive --name limitador-local image.tar
kind load docker-image ${{ steps.meta.outputs.tags }} -n limitador-local
# docker save -o image.tar ${{ steps.meta.outputs.tags }}
# kind load image-archive --name limitador-local image.tar
- name: Deploy limitador
run: |
kubectl apply -f limitador-server/e2e/file-watcher/configmap.yaml
Expand Down
2 changes: 1 addition & 1 deletion limitador-server/e2e/file-watcher/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: limitador
image: localhost/limitador-testing:latest
image: limitador-testing:latest
imagePullPolicy: IfNotPresent
env:
- name: RUST_LOG
Expand Down

0 comments on commit 9b0031b

Please sign in to comment.