To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 69dee468 authored by Reto Da Forno's avatar Reto Da Forno

CI runner script updated (dev-server2 removed)

parent 49b9593c
......@@ -16,7 +16,6 @@ deploy testmanagement to devserver:
stage: deploy
variables:
DEV_SERVER: 'flocklab@flocklab-dev-server.ethz.ch'
DEV_SERVER2: 'flocklab@flocklab-dev-server2.ethz.ch'
SSH_OPTIONS: 'ssh -q -o StrictHostKeyChecking=no'
RSYNC_OPTIONS: '-av --no-perms --no-owner --no-group --delete --exclude=*.ini --exclude=*.so'
script:
......@@ -25,9 +24,6 @@ deploy testmanagement to devserver:
- 'echo "uploading files to ${DEV_SERVER}..."'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/testmanagementserver/ ${DEV_SERVER}:testmanagementserver/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/testmanagement/ ${DEV_SERVER}:testmanagement/'
- 'echo "uploading files to ${DEV_SERVER2}..."'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/testmanagementserver/ ${DEV_SERVER2}:testmanagementserver/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/testmanagement/ ${DEV_SERVER2}:testmanagement/'
only:
refs:
- python3
......@@ -40,7 +36,6 @@ deploy user to devserver:
stage: deploy
variables:
DEV_SERVER: 'flocklab@flocklab-dev-server.ethz.ch'
DEV_SERVER2: 'flocklab@flocklab-dev-server2.ethz.ch'
SSH_OPTIONS: 'ssh -q -o StrictHostKeyChecking=no'
RSYNC_OPTIONS: '-av --no-perms --no-owner --no-group --delete --exclude=*.ini --exclude=*.so'
script:
......@@ -48,8 +43,6 @@ deploy user to devserver:
- 'eval $(ssh-agent -s) && echo "$CI_SSH_PRIVATE_KEY" | ssh-add -'
- 'echo "uploading files to ${DEV_SERVER}..."'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/user/ ${DEV_SERVER}:webserver/'
- 'echo "uploading files to ${DEV_SERVER2}..."'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/user/ ${DEV_SERVER2}:webserver/'
only:
refs:
- python3
......
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