Skip to content

Commit 59e377f

Browse files
fix(travis): update migrate jobs to use correct imageorg images (openebs-archive#61)
Signed-off-by: shubham <[email protected]>
1 parent 22179cc commit 59e377f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

ci/migrate/pool.yaml renamed to ci/migrate/pool.tmp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ spec:
4646
tty: true
4747
# the version of the image should be same the
4848
# version of cstor-operator installed.
49-
image: openebs/migrate-amd64:ci
49+
image: imageorg/migrate-amd64:ci
5050
restartPolicy: Never

ci/migrate/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ kubectl wait --for=delete pod -l lkey=lvalue --timeout=600s
2323

2424
echo "Migrating pool to cspc"
2525

26+
sed "s|imageorg|$IMAGE_ORG|g" ./ci/migrate/pool.tmp.yaml > ./ci/migrate/pool.yaml
2627
kubectl apply -f ./ci/migrate/pool.yaml
2728
sleep 5
2829
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
3132
echo "Migrating extetnal volume to csi volume"
3233

3334
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
3536
kubectl apply -f ./ci/migrate/volume.yaml
3637
sleep 5
3738
kubectl wait --for=condition=complete job/migrate-volume -n openebs --timeout=550s

ci/migrate/volume.tmp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
tty: true
4646
# the version of the image should be same the
4747
# version of cstor-operator installed.
48-
image: openebs/migrate-amd64:ci
48+
image: imageorg/migrate-amd64:ci
4949
restartPolicy: OnFailure
5050
---
5151

0 commit comments

Comments
 (0)