From f5be5b1fff2eff812a654727ced0dd40ef62307d Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Fri, 22 Dec 2023 10:22:55 +0530 Subject: [PATCH] ci: in arm64 daily test update livenessprobe currently, in the cluster-test yaml, file we have both cephCluster CR and cephBlockPool CR and we're trying to update the cephCluster CR to disable the livnessProbe of mon, osd, mgr but since we had `yq write -d1` it was updating the second instance of `spec` which is cephBlockPool instead we have to do `yq write -d0` to update the cephCluster `spec`. Signed-off-by: subhamkrai --- .github/workflows/daily-nightly-jobs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/daily-nightly-jobs.yml b/.github/workflows/daily-nightly-jobs.yml index 0a30704c8..a10d5e8a5 100644 --- a/.github/workflows/daily-nightly-jobs.yml +++ b/.github/workflows/daily-nightly-jobs.yml @@ -73,9 +73,9 @@ jobs: # Use the official build images for the nightly arm tests instead of rebuilding export USE_LOCAL_BUILD=false # removing liveness probes since the env is slow and the probe is killing the daemons - yq write -d1 -i deploy/examples/cluster-test.yaml "spec.healthCheck.livenessProbe.mon.disabled" true - yq write -d1 -i deploy/examples/cluster-test.yaml "spec.healthCheck.livenessProbe.mgr.disabled" true - yq write -d1 -i deploy/examples/cluster-test.yaml "spec.healthCheck.livenessProbe.osd.disabled" true + yq write -d0 -i deploy/examples/cluster-test.yaml "spec.healthCheck.livenessProbe.mon.disabled" true + yq write -d0 -i deploy/examples/cluster-test.yaml "spec.healthCheck.livenessProbe.mgr.disabled" true + yq write -d0 -i deploy/examples/cluster-test.yaml "spec.healthCheck.livenessProbe.osd.disabled" true tests/scripts/github-action-helper.sh deploy_cluster # there are no package for arm64 nfs-ganesha kubectl delete -f deploy/examples/nfs-test.yaml