]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: custom image for kcli bootstrap script 50917/head
authorNizamudeen A <nia@redhat.com>
Thu, 9 Mar 2023 11:51:44 +0000 (17:21 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 6 Apr 2023 11:24:59 +0000 (16:54 +0530)
the stable branches like quincy pulls from the quay.io/ceph/ceph:v17 to
bootstrap the ceph cluster in test environments. This will cause issues
because the branches are changing constantly but the image is not. So
using the quay.ceph.io repo to bring the cluster in test environment.

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit be8f1e7f4a81dbf04692446edcc429d93d59e09d)

 Conflicts:
src/pybind/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh
  - Reject the incoming changes and change the image tag to quincy

(cherry picked from commit 826ce66c5a868e7940a0f24aa385c9f9b38acafc)

src/pybind/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh

index bd36644ec4fa3797592b87425d56e32506c12ef0..fed0e25559fcfb148360db8d3c2a7c970b929910 100755 (executable)
@@ -5,6 +5,8 @@ set -x
 export PATH=/root/bin:$PATH
 mkdir /root/bin
 
+export CEPHADM_IMAGE='quay.ceph.io/ceph-ci/ceph:pacific'
+
 cp /mnt/{{ ceph_dev_folder }}/src/cephadm/cephadm /root/bin/cephadm
 chmod +x /root/bin/cephadm
 mkdir -p /etc/ceph