File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 46
46
tty : true
47
47
# the version of the image should be same the
48
48
# version of cstor-operator installed.
49
- image : openebs /migrate-amd64:ci
49
+ image : imageorg /migrate-amd64:ci
50
50
restartPolicy : Never
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ kubectl wait --for=delete pod -l lkey=lvalue --timeout=600s
23
23
24
24
echo " Migrating pool to cspc"
25
25
26
+ sed " s|imageorg|$IMAGE_ORG |g" ./ci/migrate/pool.tmp.yaml > ./ci/migrate/pool.yaml
26
27
kubectl apply -f ./ci/migrate/pool.yaml
27
28
sleep 5
28
29
kubectl wait --for=condition=complete job/migrate-pool -n openebs --timeout=550s
@@ -31,7 +32,7 @@ kubectl logs --tail=50 -l job-name=migrate-pool -n openebs
31
32
echo " Migrating extetnal volume to csi volume"
32
33
33
34
pvname=$( kubectl get pvc testclaim-busybox-0 -o jsonpath=" {.spec.volumeName}" )
34
- sed " s/ PVNAME/ $pvname / " ./ci/migrate/volume.tmp.yaml > ./ci/migrate/volume.yaml
35
+ sed " s| PVNAME| $pvname |g " ./ci/migrate/volume.tmp.yaml | sed " s|imageorg| $IMAGE_ORG |g " > ./ci/migrate/volume.yaml
35
36
kubectl apply -f ./ci/migrate/volume.yaml
36
37
sleep 5
37
38
kubectl wait --for=condition=complete job/migrate-volume -n openebs --timeout=550s
Original file line number Diff line number Diff line change 45
45
tty : true
46
46
# the version of the image should be same the
47
47
# version of cstor-operator installed.
48
- image : openebs /migrate-amd64:ci
48
+ image : imageorg /migrate-amd64:ci
49
49
restartPolicy : OnFailure
50
50
---
51
51
You can’t perform that action at this time.
0 commit comments