Skip to content

Commit

Permalink
e2e job should test last built image - for #58
Browse files Browse the repository at this point in the history
not the best solution, but better than failing

Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Aug 10, 2023
1 parent 09ace63 commit 9a2dc0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
- uses: actions/checkout@v3
- uses: nolar/setup-k3d-k3s@v1
with:
version: v1.25
version: v1.26
k3d-name: kube
k3d-args: "--no-lb --no-rollback --k3s-arg --disable=traefik,servicelb,metrics-server@server:*"
- run: kubectl apply -f yaml/crd.yaml
Expand All @@ -156,8 +156,8 @@ jobs:
path: /tmp
- name: Load docker image from tarball
run: docker load --input /tmp/image.tar
- run: helm template charts/doc-controller | kubectl apply -f -
- run: kubectl wait --for=condition=available deploy/doc-controller --timeout=20s
- run: helm template charts/doc-controller --set version="latest" | kubectl apply -f -
- run: kubectl wait --for=condition=available deploy/doc-controller --timeout=30s
- run: kubectl apply -f yaml/instance-samuel.yaml
- run: sleep 2 # TODO: add condition on status and wait for it instead
# verify reconcile actions have happened
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ telemetry = ["tonic", "opentelemetry-otlp"]
actix-web = "4.3.1"
futures = "0.3.28"
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
k8s-openapi = { version = "0.19.0", features = ["v1_25"], default-features = false }
k8s-openapi = { version = "0.19.0", features = ["v1_26"], default-features = false }
schemars = { version = "0.8.12", features = ["chrono"] }
serde = { version = "1.0.182", features = ["derive"] }
serde_json = "1.0.104"
Expand Down

0 comments on commit 9a2dc0f

Please sign in to comment.