We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2441f92 commit c2d8b52Copy full SHA for c2d8b52
scripts/ci-nvidia-device-plugin/tests/04-verify-device-plugin.sh
@@ -2,9 +2,15 @@
2
3
set -xeuo pipefail
4
5
-sudo microshift healthcheck \
6
- --namespace nvidia-device-plugin \
7
- --daemonsets nvidia-device-plugin-daemonset
+if microshift --help | grep -q "healthcheck"; then
+ sudo microshift healthcheck \
+ --namespace nvidia-device-plugin \
8
+ --daemonsets nvidia-device-plugin-daemonset
9
+else
10
+ oc rollout status \
11
+ --timeout=180s \
12
+ -n nvidia-device-plugin daemonset/nvidia-device-plugin-daemonset
13
+fi
14
15
retries=20
16
while [ ${retries} -gt 0 ] ; do
0 commit comments