forked from containerd/nydus-snapshotter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: apostasie <[email protected]>
- Loading branch information
Showing
7 changed files
with
47 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ jobs: | |
uses: engineerd/[email protected] | ||
with: | ||
version: v0.16.0 | ||
# version: v0.23.0 | ||
config: tests/e2e/k8s/kind.yaml | ||
- name: Build nydus snapshotter dev image | ||
run: | | ||
|
@@ -115,11 +116,20 @@ jobs: | |
if [[ "${{ inputs.auth-type }}" == "cri" ]]; then | ||
docker exec kind-control-plane sh -c 'echo " --image-service-endpoint=unix:///run/containerd-nydus/containerd-nydus-grpc.sock" >> /etc/default/kubelet' | ||
docker exec kind-control-plane sh -c 'systemctl daemon-reload && systemctl restart kubelet' | ||
fi | ||
# MountVolume.SetUp failed for volume "kube-api-access-rfppq" : configmap "kube-root-ca.crt" not found | ||
# Debug: giving it a restart as the cri auth type exhibits no such issue | ||
docker exec kind-control-plane sh -c 'systemctl daemon-reload && systemctl restart kubelet' | ||
kubectl apply -f tests/e2e/k8s/test-pod.yaml | ||
kubectl wait po test-pod -n nydus-system --for=condition=ready --timeout=1m | ||
kubectl wait po test-pod -n nydus-system --for=condition=ready --timeout=1m || { | ||
kubectl -n nydus-system get events | ||
exit 1 | ||
} | ||
# Debug | ||
kubectl -n nydus-system get events | ||
# Debug | ||
kubectl delete -f tests/e2e/k8s/test-pod.yaml | ||
- name: Dump logs | ||
if: failure() | ||
|
@@ -149,6 +159,7 @@ jobs: | |
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
overwrite: true | ||
name: k8s-e2e-tests-logs | ||
path: | | ||
/tmp/nydus-log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters