Skip to content

Commit

Permalink
test: run e2e tests for async flag
Browse files Browse the repository at this point in the history
  • Loading branch information
vadasambar committed Dec 14, 2023
1 parent 8585b14 commit b85962a
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ jobs:
run: ./hack/ci/test.sh
- name: Uninstall the CSI Driver
run: helm uninstall -n kube-system ${HELM_NAME} --wait
- name: Upgrade the CSI Driver with async flag
run: |
helm install ${HELM_NAME} charts/warm-metal-csi-driver -n kube-system \
-f ${VALUE_FILE} \
--set csiPlugin.image.tag=${IMAGE_TAG} \
--set enableAsyncPullMount=true \
--wait \
--debug
- name: Run integration Tests
run: ./hack/ci/test.sh
- name: Uninstall the CSI Driver
run: helm uninstall -n kube-system ${HELM_NAME} --wait
13 changes: 13 additions & 0 deletions .github/workflows/cri-o.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,16 @@ jobs:
run: ./hack/ci/test.sh
- name: Uninstall the CSI Driver
run: helm uninstall -n kube-system ${HELM_NAME} --wait
- name: Upgrade the CSI Driver with async flag
run: |
trap "kubectl -n kube-system describe po" ERR
helm install ${HELM_NAME} charts/warm-metal-csi-driver -n kube-system \
-f ${VALUE_FILE} \
--set csiPlugin.image.tag=${IMAGE_TAG} \
--set enableAsyncPullMount=true \
--wait \
--debug
- name: Run integration Tests
run: ./hack/ci/test.sh
- name: Uninstall the CSI Driver
run: helm uninstall -n kube-system ${HELM_NAME} --wait
13 changes: 13 additions & 0 deletions .github/workflows/restart-ds-containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,16 @@ jobs:
run: ./test/integration/restart-ds.sh
- name: Uninstall the CSI Driver
run: helm uninstall -n kube-system ${HELM_NAME} --wait
- name: Upgrade the CSI Driver with async flag
run: |
trap "kubectl -n kube-system describe po" ERR
helm install ${HELM_NAME} charts/warm-metal-csi-driver -n kube-system \
-f ${VALUE_FILE} \
--set csiPlugin.image.tag=${IMAGE_TAG} \
--set enableAsyncPullMount=true \
--wait \
--debug
- name: Test volumes between the ds restarted
run: ./test/integration/restart-ds.sh
- name: Uninstall the CSI Driver
run: helm uninstall -n kube-system ${HELM_NAME} --wait
13 changes: 13 additions & 0 deletions .github/workflows/restart-ds-crio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,16 @@ jobs:
run: ./test/integration/restart-ds.sh
- name: Uninstall the CSI Driver
run: helm uninstall -n kube-system ${HELM_NAME} --wait
- name: Upgrade the CSI Driver with async flag
run: |
trap "kubectl -n kube-system describe po" ERR
helm install ${HELM_NAME} charts/warm-metal-csi-driver -n kube-system \
-f ${VALUE_FILE} \
--set csiPlugin.image.tag=${IMAGE_TAG} \
--set enableAsyncPullMount=true \
--wait \
--debug
- name: Test volumes between the ds restarted
run: ./test/integration/restart-ds.sh
- name: Uninstall the CSI Driver
run: helm uninstall -n kube-system ${HELM_NAME} --wait

0 comments on commit b85962a

Please sign in to comment.