Skip to content

Commit 9a2dc0f

Browse files
committed
e2e job should test last built image - for #58
not the best solution, but better than failing Signed-off-by: clux <sszynrae@gmail.com>
1 parent 09ace63 commit 9a2dc0f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
- uses: actions/checkout@v3
144144
- uses: nolar/setup-k3d-k3s@v1
145145
with:
146-
version: v1.25
146+
version: v1.26
147147
k3d-name: kube
148148
k3d-args: "--no-lb --no-rollback --k3s-arg --disable=traefik,servicelb,metrics-server@server:*"
149149
- run: kubectl apply -f yaml/crd.yaml
@@ -156,8 +156,8 @@ jobs:
156156
path: /tmp
157157
- name: Load docker image from tarball
158158
run: docker load --input /tmp/image.tar
159-
- run: helm template charts/doc-controller | kubectl apply -f -
160-
- run: kubectl wait --for=condition=available deploy/doc-controller --timeout=20s
159+
- run: helm template charts/doc-controller --set version="latest" | kubectl apply -f -
160+
- run: kubectl wait --for=condition=available deploy/doc-controller --timeout=30s
161161
- run: kubectl apply -f yaml/instance-samuel.yaml
162162
- run: sleep 2 # TODO: add condition on status and wait for it instead
163163
# verify reconcile actions have happened

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ telemetry = ["tonic", "opentelemetry-otlp"]
2929
actix-web = "4.3.1"
3030
futures = "0.3.28"
3131
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
32-
k8s-openapi = { version = "0.19.0", features = ["v1_25"], default-features = false }
32+
k8s-openapi = { version = "0.19.0", features = ["v1_26"], default-features = false }
3333
schemars = { version = "0.8.12", features = ["chrono"] }
3434
serde = { version = "1.0.182", features = ["derive"] }
3535
serde_json = "1.0.104"

0 commit comments

Comments
 (0)