Commit 0109688a authored by ymir's avatar ymir

install to DEV console

parent c00a296d
Pipeline #62257 passed with stages
in 3 minutes and 10 seconds
......@@ -43,12 +43,12 @@ deploy_development:
- sed -i s/"{ENVIRONMENT}"/DEV/g install.sh
# copy install script
- sshpass -e scp -o stricthostkeychecking=no -P ${SSH_PORT} install.sh ${SSH_USER_NAME}@91.121.9.53:/tmp/install.sh
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 docker cp /tmp/install.sh ymirfrostgiant_bare_ubuntu_test:/tmp/install.sh
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 docker cp /tmp/install.sh ymirfrostgiant_dev_console:/tmp/install.sh
# start container & run install
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 docker start ymirfrostgiant_bare_ubuntu_test
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 docker exec -t ymirfrostgiant_bare_ubuntu_test bash /tmp/install.sh
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 docker start ymirfrostgiant_dev_console
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 docker exec -t ymirfrostgiant_dev_console bash /tmp/install.sh
# remove install script
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 docker exec -t ymirfrostgiant_bare_ubuntu_test rm /tmp/install.sh
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 docker exec -t ymirfrostgiant_dev_console rm /tmp/install.sh
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 rm -R /tmp/install.sh
environment:
name: development
......
Markdown is supported
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