From cf308f7c10b0b529b0d357e2b8e5df1d024bb57b Mon Sep 17 00:00:00 2001 From: Guangbo Chen Date: Wed, 3 Jun 2020 16:23:27 +0800 Subject: [PATCH] ci: change default repo to cnrancher --- .drone.yml | 15 +++++---------- adaptors/ble/deploy/e2e/all_in_one.yaml | 2 +- .../ble/deploy/manifests/workload/daemonset.yaml | 2 +- adaptors/ble/hack/make-rules/adaptor.sh | 2 +- adaptors/dummy/deploy/e2e/all_in_one.yaml | 2 +- .../manifests/overlays/default/kustomization.yaml | 4 ++-- .../deploy/manifests/workload/daemonset.yaml | 2 +- adaptors/dummy/hack/make-rules/adaptor.sh | 2 +- adaptors/modbus/deploy/e2e/all_in_one.yaml | 2 +- .../deploy/manifests/workload/daemonset.yaml | 2 +- adaptors/modbus/hack/make-rules/adaptor.sh | 2 +- adaptors/mqtt/deploy/e2e/all_in_one.yaml | 2 +- .../mqtt/deploy/manifests/workload/daemonset.yaml | 2 +- adaptors/mqtt/hack/make-rules/adaptor.sh | 2 +- adaptors/opcua/deploy/e2e/all_in_one.yaml | 2 +- .../deploy/manifests/workload/daemonset.yaml | 2 +- adaptors/opcua/hack/make-rules/adaptor.sh | 2 +- deploy/e2e/all_in_one.yaml | 4 ++-- deploy/e2e/all_in_one_without_webhook.yaml | 4 ++-- .../overlays/without_webhook/kustomization.yaml | 4 ++-- deploy/manifests/workload/daemonset.yaml | 2 +- deploy/manifests/workload/deployment.yaml | 2 +- hack/make-rules/octopus.sh | 4 ++-- template/adaptor/deploy/e2e/all_in_one.yaml | 2 +- .../deploy/manifests/workload/daemonset.yaml | 2 +- template/adaptor/hack/make-rules/adaptor.sh | 2 +- 26 files changed, 35 insertions(+), 40 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9b3997cc..1bdd38bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -92,8 +92,7 @@ steps: from_secret: docker_username DOCKER_PASSWORD: from_secret: docker_password - REPO: - from_secret: image_repo + REPO: cnrancher WITHOUT_MANIFEST: true commands: - make all package only @@ -165,8 +164,7 @@ steps: from_secret: docker_username DOCKER_PASSWORD: from_secret: docker_password - REPO: - from_secret: image_repo + REPO: cnrancher WITHOUT_MANIFEST: true commands: - make all package only @@ -225,8 +223,7 @@ steps: privileged: true environment: BY: dapper - REPO: - from_secret: image_repo + REPO: cnrancher commands: - make all build only volumes: @@ -240,8 +237,7 @@ steps: from_secret: docker_username DOCKER_PASSWORD: from_secret: docker_password - REPO: - from_secret: image_repo + REPO: cnrancher WITHOUT_MANIFEST: true commands: - make all package only @@ -293,8 +289,7 @@ steps: from_secret: docker_username DOCKER_PASSWORD: from_secret: docker_password - REPO: - from_secret: image_repo + REPO: cnrancher ONLY_MANIFEST: true CROSS: true commands: diff --git a/adaptors/ble/deploy/e2e/all_in_one.yaml b/adaptors/ble/deploy/e2e/all_in_one.yaml index a0a0976b..8b1ac255 100644 --- a/adaptors/ble/deploy/e2e/all_in_one.yaml +++ b/adaptors/ble/deploy/e2e/all_in_one.yaml @@ -211,7 +211,7 @@ spec: app.kubernetes.io/version: master spec: containers: - - image: rancher/octopus-adaptor-ble:master + - image: cnrancher/octopus-adaptor-ble:master name: octopus securityContext: privileged: true diff --git a/adaptors/ble/deploy/manifests/workload/daemonset.yaml b/adaptors/ble/deploy/manifests/workload/daemonset.yaml index 56615837..c536bfba 100644 --- a/adaptors/ble/deploy/manifests/workload/daemonset.yaml +++ b/adaptors/ble/deploy/manifests/workload/daemonset.yaml @@ -19,7 +19,7 @@ spec: hostNetwork: true containers: - name: octopus - image: rancher/octopus-adaptor-ble:latest + image: cnrancher/octopus-adaptor-ble:master securityContext: privileged: true volumeMounts: diff --git a/adaptors/ble/hack/make-rules/adaptor.sh b/adaptors/ble/hack/make-rules/adaptor.sh index 630faa39..f24fc941 100755 --- a/adaptors/ble/hack/make-rules/adaptor.sh +++ b/adaptors/ble/hack/make-rules/adaptor.sh @@ -217,7 +217,7 @@ function deploy() { cp -f "${CURR_DIR}/deploy/e2e/all_in_one.yaml" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" sed "s#app.kubernetes.io/version: master#app.kubernetes.io/version: ${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" - sed "s#image: rancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ + sed "s#image: cnrancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" else octopus::log::warn "deploying manifest images has been stopped by WITHOUT_MANIFEST" diff --git a/adaptors/dummy/deploy/e2e/all_in_one.yaml b/adaptors/dummy/deploy/e2e/all_in_one.yaml index f407a451..9afd4add 100644 --- a/adaptors/dummy/deploy/e2e/all_in_one.yaml +++ b/adaptors/dummy/deploy/e2e/all_in_one.yaml @@ -350,7 +350,7 @@ spec: app.kubernetes.io/version: master spec: containers: - - image: rancher/octopus-adaptor-dummy:master + - image: cnrancher/octopus-adaptor-dummy:master name: octopus volumeMounts: - mountPath: /var/lib/octopus/adaptors/ diff --git a/adaptors/dummy/deploy/manifests/overlays/default/kustomization.yaml b/adaptors/dummy/deploy/manifests/overlays/default/kustomization.yaml index 9a4084df..cc551ef4 100644 --- a/adaptors/dummy/deploy/manifests/overlays/default/kustomization.yaml +++ b/adaptors/dummy/deploy/manifests/overlays/default/kustomization.yaml @@ -15,8 +15,8 @@ commonLabels: ## Images to overwrite the default images. images: - - name: rancher/octopus-adaptor-dummy - newName: rancher/octopus-adaptor-dummy + - name: cnrancher/octopus-adaptor-dummy + newName: cnrancher/octopus-adaptor-dummy newTag: master ## NB(thxCode) Since kustomize v2.1.0, the `bases` field has been deprecated by `resources`, ref to: diff --git a/adaptors/dummy/deploy/manifests/workload/daemonset.yaml b/adaptors/dummy/deploy/manifests/workload/daemonset.yaml index a24ef912..07ee0c6d 100644 --- a/adaptors/dummy/deploy/manifests/workload/daemonset.yaml +++ b/adaptors/dummy/deploy/manifests/workload/daemonset.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: octopus - image: rancher/octopus-adaptor-dummy:latest + image: cnrancher/octopus-adaptor-dummy:master volumeMounts: - mountPath: /var/lib/octopus/adaptors/ name: sockets diff --git a/adaptors/dummy/hack/make-rules/adaptor.sh b/adaptors/dummy/hack/make-rules/adaptor.sh index 98627daf..16d8a575 100755 --- a/adaptors/dummy/hack/make-rules/adaptor.sh +++ b/adaptors/dummy/hack/make-rules/adaptor.sh @@ -217,7 +217,7 @@ function deploy() { cp -f "${CURR_DIR}/deploy/e2e/all_in_one.yaml" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" sed "s#app.kubernetes.io/version: master#app.kubernetes.io/version: ${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" - sed "s#image: rancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ + sed "s#image: cnrancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" else octopus::log::warn "deploying manifest images has been stopped by WITHOUT_MANIFEST" diff --git a/adaptors/modbus/deploy/e2e/all_in_one.yaml b/adaptors/modbus/deploy/e2e/all_in_one.yaml index ba4753c9..8b308565 100644 --- a/adaptors/modbus/deploy/e2e/all_in_one.yaml +++ b/adaptors/modbus/deploy/e2e/all_in_one.yaml @@ -288,7 +288,7 @@ spec: app.kubernetes.io/version: master spec: containers: - - image: rancher/octopus-adaptor-modbus:master + - image: cnrancher/octopus-adaptor-modbus:master name: octopus securityContext: privileged: true diff --git a/adaptors/modbus/deploy/manifests/workload/daemonset.yaml b/adaptors/modbus/deploy/manifests/workload/daemonset.yaml index bb83ce93..f7aab564 100644 --- a/adaptors/modbus/deploy/manifests/workload/daemonset.yaml +++ b/adaptors/modbus/deploy/manifests/workload/daemonset.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: octopus - image: rancher/octopus-adaptor-modbus:latest + image: cnrancher/octopus-adaptor-modbus:master volumeMounts: - mountPath: /var/lib/octopus/adaptors/ name: sockets diff --git a/adaptors/modbus/hack/make-rules/adaptor.sh b/adaptors/modbus/hack/make-rules/adaptor.sh index 630faa39..f24fc941 100755 --- a/adaptors/modbus/hack/make-rules/adaptor.sh +++ b/adaptors/modbus/hack/make-rules/adaptor.sh @@ -217,7 +217,7 @@ function deploy() { cp -f "${CURR_DIR}/deploy/e2e/all_in_one.yaml" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" sed "s#app.kubernetes.io/version: master#app.kubernetes.io/version: ${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" - sed "s#image: rancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ + sed "s#image: cnrancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" else octopus::log::warn "deploying manifest images has been stopped by WITHOUT_MANIFEST" diff --git a/adaptors/mqtt/deploy/e2e/all_in_one.yaml b/adaptors/mqtt/deploy/e2e/all_in_one.yaml index 263dfa90..8a6acf2c 100644 --- a/adaptors/mqtt/deploy/e2e/all_in_one.yaml +++ b/adaptors/mqtt/deploy/e2e/all_in_one.yaml @@ -291,7 +291,7 @@ spec: app.kubernetes.io/version: master spec: containers: - - image: rancher/octopus-adaptor-mqtt:master + - image: cnrancher/octopus-adaptor-mqtt:master name: octopus volumeMounts: - mountPath: /var/lib/octopus/adaptors/ diff --git a/adaptors/mqtt/deploy/manifests/workload/daemonset.yaml b/adaptors/mqtt/deploy/manifests/workload/daemonset.yaml index 17b82a01..b388b56b 100644 --- a/adaptors/mqtt/deploy/manifests/workload/daemonset.yaml +++ b/adaptors/mqtt/deploy/manifests/workload/daemonset.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: octopus - image: rancher/octopus-adaptor-mqtt:latest + image: cnrancher/octopus-adaptor-mqtt:master volumeMounts: - mountPath: /var/lib/octopus/adaptors/ name: sockets diff --git a/adaptors/mqtt/hack/make-rules/adaptor.sh b/adaptors/mqtt/hack/make-rules/adaptor.sh index 36e038ba..0e4916be 100755 --- a/adaptors/mqtt/hack/make-rules/adaptor.sh +++ b/adaptors/mqtt/hack/make-rules/adaptor.sh @@ -220,7 +220,7 @@ function deploy() { cp -f "${CURR_DIR}/deploy/e2e/all_in_one.yaml" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" sed "s#app.kubernetes.io/version: master#app.kubernetes.io/version: ${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" - sed "s#image: rancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ + sed "s#image: cnrancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" else octopus::log::warn "deploying manifest images has been stopped by WITHOUT_MANIFEST" diff --git a/adaptors/opcua/deploy/e2e/all_in_one.yaml b/adaptors/opcua/deploy/e2e/all_in_one.yaml index 408c8294..1b468f1e 100644 --- a/adaptors/opcua/deploy/e2e/all_in_one.yaml +++ b/adaptors/opcua/deploy/e2e/all_in_one.yaml @@ -249,7 +249,7 @@ spec: app.kubernetes.io/version: master spec: containers: - - image: rancher/octopus-adaptor-opcua:master + - image: cnrancher/octopus-adaptor-opcua:master name: octopus volumeMounts: - mountPath: /var/lib/octopus/adaptors/ diff --git a/adaptors/opcua/deploy/manifests/workload/daemonset.yaml b/adaptors/opcua/deploy/manifests/workload/daemonset.yaml index 5d28d039..54203e84 100644 --- a/adaptors/opcua/deploy/manifests/workload/daemonset.yaml +++ b/adaptors/opcua/deploy/manifests/workload/daemonset.yaml @@ -20,7 +20,7 @@ spec: beta.kubernetes.io/os: linux containers: - name: octopus - image: rancher/octopus-adaptor-opcua:latest + image: cnrancher/octopus-adaptor-opcua:master volumeMounts: - mountPath: /var/lib/octopus/adaptors/ name: sockets diff --git a/adaptors/opcua/hack/make-rules/adaptor.sh b/adaptors/opcua/hack/make-rules/adaptor.sh index 630faa39..f24fc941 100755 --- a/adaptors/opcua/hack/make-rules/adaptor.sh +++ b/adaptors/opcua/hack/make-rules/adaptor.sh @@ -217,7 +217,7 @@ function deploy() { cp -f "${CURR_DIR}/deploy/e2e/all_in_one.yaml" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" sed "s#app.kubernetes.io/version: master#app.kubernetes.io/version: ${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" - sed "s#image: rancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ + sed "s#image: cnrancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" else octopus::log::warn "deploying manifest images has been stopped by WITHOUT_MANIFEST" diff --git a/deploy/e2e/all_in_one.yaml b/deploy/e2e/all_in_one.yaml index 2c2d9b65..0d3156d3 100644 --- a/deploy/e2e/all_in_one.yaml +++ b/deploy/e2e/all_in_one.yaml @@ -510,7 +510,7 @@ spec: - brain - --admission-webhook-addr=443 - --enable-leader-election - image: rancher/octopus:master + image: cnrancher/octopus:master imagePullPolicy: Always name: octopus ports: @@ -574,7 +574,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: rancher/octopus:master + image: cnrancher/octopus:master imagePullPolicy: Always name: octopus ports: diff --git a/deploy/e2e/all_in_one_without_webhook.yaml b/deploy/e2e/all_in_one_without_webhook.yaml index 23d6cc01..c91dda9d 100644 --- a/deploy/e2e/all_in_one_without_webhook.yaml +++ b/deploy/e2e/all_in_one_without_webhook.yaml @@ -409,7 +409,7 @@ spec: - brain - --enable-leader-election - --disable-admission-webhook - image: rancher/octopus:master + image: cnrancher/octopus:master imagePullPolicy: Always name: octopus ports: @@ -461,7 +461,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: rancher/octopus:master + image: cnrancher/octopus:master imagePullPolicy: Always name: octopus ports: diff --git a/deploy/manifests/overlays/without_webhook/kustomization.yaml b/deploy/manifests/overlays/without_webhook/kustomization.yaml index ccfb5e80..eccc6d64 100644 --- a/deploy/manifests/overlays/without_webhook/kustomization.yaml +++ b/deploy/manifests/overlays/without_webhook/kustomization.yaml @@ -15,8 +15,8 @@ commonLabels: ## Images to overwrite the default images. images: - - name: rancher/octopus - newName: rancher/octopus + - name: cnrancher/octopus + newName: cnrancher/octopus newTag: master ## NB(thxCode) Since kustomize v2.1.0, the `bases` field has been deprecated by `resources`, ref to: diff --git a/deploy/manifests/workload/daemonset.yaml b/deploy/manifests/workload/daemonset.yaml index 6fd526d4..0308ca03 100644 --- a/deploy/manifests/workload/daemonset.yaml +++ b/deploy/manifests/workload/daemonset.yaml @@ -53,7 +53,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: rancher/octopus:latest + image: cnrancher/octopus:master imagePullPolicy: Always ports: - containerPort: 8080 diff --git a/deploy/manifests/workload/deployment.yaml b/deploy/manifests/workload/deployment.yaml index d72933c9..52bf7999 100644 --- a/deploy/manifests/workload/deployment.yaml +++ b/deploy/manifests/workload/deployment.yaml @@ -51,7 +51,7 @@ spec: - brain - --enable-leader-election - --disable-admission-webhook - image: rancher/octopus:latest + image: cnrancher/octopus:master imagePullPolicy: Always ports: - containerPort: 8080 diff --git a/hack/make-rules/octopus.sh b/hack/make-rules/octopus.sh index 005651eb..2a7cca67 100755 --- a/hack/make-rules/octopus.sh +++ b/hack/make-rules/octopus.sh @@ -242,13 +242,13 @@ function deploy() { cp -f "${CURR_DIR}/deploy/e2e/all_in_one.yaml" "${CURR_DIR}/dist/octopus_all_in_one.yaml" sed "s#app.kubernetes.io/version: master#app.kubernetes.io/version: ${tag}#g" \ "${CURR_DIR}/dist/octopus_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_all_in_one.yaml" - sed "s#image: rancher/octopus:master#image: ${repo}/${image_name}:${tag}#g" \ + sed "s#image: cnrancher/octopus:master#image: ${repo}/${image_name}:${tag}#g" \ "${CURR_DIR}/dist/octopus_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_all_in_one.yaml" cp -f "${CURR_DIR}/deploy/e2e/all_in_one_without_webhook.yaml" "${CURR_DIR}/dist/octopus_all_in_one_without_webhook.yaml" sed "s#app.kubernetes.io/version: master#app.kubernetes.io/version: ${tag}#g" \ "${CURR_DIR}/dist/octopus_all_in_one_without_webhook.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_all_in_one_without_webhook.yaml" - sed "s#image: rancher/octopus:master#image: ${repo}/${image_name}:${tag}#g" \ + sed "s#image: cnrancher/octopus:master#image: ${repo}/${image_name}:${tag}#g" \ "${CURR_DIR}/dist/octopus_all_in_one_without_webhook.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_all_in_one_without_webhook.yaml" cp -f "${CURR_DIR}/deploy/e2e/integrate_with_prometheus_operator.yaml" "${CURR_DIR}/dist/octopus_integrate_with_prometheus_operator.yaml" diff --git a/template/adaptor/deploy/e2e/all_in_one.yaml b/template/adaptor/deploy/e2e/all_in_one.yaml index 7fdc926e..36e925d7 100644 --- a/template/adaptor/deploy/e2e/all_in_one.yaml +++ b/template/adaptor/deploy/e2e/all_in_one.yaml @@ -127,7 +127,7 @@ spec: app.kubernetes.io/version: master spec: containers: - - image: rancher/octopus-adaptor-template:master + - image: cnrancher/octopus-adaptor-template:master name: octopus volumeMounts: - mountPath: /var/lib/octopus/adaptors/ diff --git a/template/adaptor/deploy/manifests/workload/daemonset.yaml b/template/adaptor/deploy/manifests/workload/daemonset.yaml index 6f37c784..46d65c08 100644 --- a/template/adaptor/deploy/manifests/workload/daemonset.yaml +++ b/template/adaptor/deploy/manifests/workload/daemonset.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: octopus - image: rancher/octopus-adaptor-template:latest + image: cnrancher/octopus-adaptor-template:master volumeMounts: - mountPath: /var/lib/octopus/adaptors/ name: sockets diff --git a/template/adaptor/hack/make-rules/adaptor.sh b/template/adaptor/hack/make-rules/adaptor.sh index 36e038ba..0e4916be 100755 --- a/template/adaptor/hack/make-rules/adaptor.sh +++ b/template/adaptor/hack/make-rules/adaptor.sh @@ -220,7 +220,7 @@ function deploy() { cp -f "${CURR_DIR}/deploy/e2e/all_in_one.yaml" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" sed "s#app.kubernetes.io/version: master#app.kubernetes.io/version: ${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" - sed "s#image: rancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ + sed "s#image: cnrancher/octopus-adaptor-${adaptor}:master#image: ${repo}/${image_name}:${tag}#g" \ "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" >"${tmpfile}" && mv "${tmpfile}" "${CURR_DIR}/dist/octopus_adaptor_${adaptor}_all_in_one.yaml" else octopus::log::warn "deploying manifest images has been stopped by WITHOUT_MANIFEST"