Commit 41beaad0 authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

change delimiter to | in sed

parent 7cef0d78
...@@ -114,7 +114,7 @@ deploy:spot.eeo.one.backend1: ...@@ -114,7 +114,7 @@ deploy:spot.eeo.one.backend1:
&& sed -i 's/MORTY_PORT=8089/MORTY_PORT=$MORTY_PORT/g' .env && sed -i 's/MORTY_PORT=8089/MORTY_PORT=$MORTY_PORT/g' .env
&& sed -i 's/INTERNAL_NETWORK_NAME=default/INTERNAL_NETWORK_NAME=$INTERNAL_NETWORK_NAME/g' .env && sed -i 's/INTERNAL_NETWORK_NAME=default/INTERNAL_NETWORK_NAME=$INTERNAL_NETWORK_NAME/g' .env
&& sed -i 's/NODE_NAME=spot11/NODE_NAME=$NODE_NAME/g' .env && sed -i 's/NODE_NAME=spot11/NODE_NAME=$NODE_NAME/g' .env
&& sed -i 's/CI_REGISTRY_IMAGE=image/CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE/g' .env && sed -i 's|CI_REGISTRY_IMAGE=image|CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE|g' .env
&& docker-compose pull && docker-compose stop filtron && sleep 2 && docker-compose up -d" && docker-compose pull && docker-compose stop filtron && sleep 2 && docker-compose up -d"
deploy:spot.eeo.one.backend2: deploy:spot.eeo.one.backend2:
...@@ -157,7 +157,7 @@ deploy:spot.eeo.one.backend2: ...@@ -157,7 +157,7 @@ deploy:spot.eeo.one.backend2:
&& sed -i 's/MORTY_PORT=8089/MORTY_PORT=$MORTY_PORT/g' .env && sed -i 's/MORTY_PORT=8089/MORTY_PORT=$MORTY_PORT/g' .env
&& sed -i 's/INTERNAL_NETWORK_NAME=default/INTERNAL_NETWORK_NAME=$INTERNAL_NETWORK_NAME/g' .env && sed -i 's/INTERNAL_NETWORK_NAME=default/INTERNAL_NETWORK_NAME=$INTERNAL_NETWORK_NAME/g' .env
&& sed -i 's/NODE_NAME=spot11/NODE_NAME=$NODE_NAME/g' .env && sed -i 's/NODE_NAME=spot11/NODE_NAME=$NODE_NAME/g' .env
&& sed -i 's/CI_REGISTRY_IMAGE=image/CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE/g' .env && sed -i 's|CI_REGISTRY_IMAGE=image|CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE|g' .env
&& docker-compose pull && docker-compose stop filtron && sleep 5 && docker-compose up -d" && docker-compose pull && docker-compose stop filtron && sleep 5 && docker-compose up -d"
deploy:spot.ecloud.global.backend1: deploy:spot.ecloud.global.backend1:
...@@ -199,7 +199,7 @@ deploy:spot.ecloud.global.backend1: ...@@ -199,7 +199,7 @@ deploy:spot.ecloud.global.backend1:
&& sed -i 's/MORTY_PORT=8089/MORTY_PORT=$MORTY_PORT/g' .env && sed -i 's/MORTY_PORT=8089/MORTY_PORT=$MORTY_PORT/g' .env
&& sed -i 's/INTERNAL_NETWORK_NAME=default/INTERNAL_NETWORK_NAME=$INTERNAL_NETWORK_NAME/g' .env && sed -i 's/INTERNAL_NETWORK_NAME=default/INTERNAL_NETWORK_NAME=$INTERNAL_NETWORK_NAME/g' .env
&& sed -i 's/NODE_NAME=spot11/NODE_NAME=$NODE_NAME/g' .env && sed -i 's/NODE_NAME=spot11/NODE_NAME=$NODE_NAME/g' .env
&& sed -i 's/CI_REGISTRY_IMAGE=image/CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE/g' .env && sed -i 's|CI_REGISTRY_IMAGE=image|CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE|g' .env
&& docker-compose pull && docker-compose stop filtron && sleep 2 && docker-compose up -d" && docker-compose pull && docker-compose stop filtron && sleep 2 && docker-compose up -d"
deploy:spot.ecloud.global.backend2: deploy:spot.ecloud.global.backend2:
...@@ -241,6 +241,6 @@ deploy:spot.ecloud.global.backend2: ...@@ -241,6 +241,6 @@ deploy:spot.ecloud.global.backend2:
&& sed -i 's/MORTY_PORT=8089/MORTY_PORT=$MORTY_PORT/g' .env && sed -i 's/MORTY_PORT=8089/MORTY_PORT=$MORTY_PORT/g' .env
&& sed -i 's/INTERNAL_NETWORK_NAME=default/INTERNAL_NETWORK_NAME=$INTERNAL_NETWORK_NAME/g' .env && sed -i 's/INTERNAL_NETWORK_NAME=default/INTERNAL_NETWORK_NAME=$INTERNAL_NETWORK_NAME/g' .env
&& sed -i 's/NODE_NAME=spot11/NODE_NAME=$NODE_NAME/g' .env && sed -i 's/NODE_NAME=spot11/NODE_NAME=$NODE_NAME/g' .env
&& sed -i 's/CI_REGISTRY_IMAGE=image/CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE/g' .env && sed -i 's|CI_REGISTRY_IMAGE=image|CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE|g' .env
&& docker-compose pull && docker-compose stop filtron && sleep 2 && docker-compose up -d" && docker-compose pull && docker-compose stop filtron && sleep 2 && docker-compose up -d"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment