Commit 0825cbba authored by Reto Da Forno's avatar Reto Da Forno

runner config updated

parent 26f97a36
......@@ -17,18 +17,19 @@ deploy to devserver:
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=*.conf'
# --omit-dir-times
RSYNC_OPTIONS: '-av --no-perms --no-owner --no-group --delete --exclude=*.ini --exclude=*.pyc --exclude=*.so'
script:
- 'apk update >/dev/null && apk add rsync openssh-client >/dev/null'
- 'eval $(ssh-agent -s) && echo "$CI_SSH_PRIVATE_KEY" | ssh-add -'
- '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/user/ ${DEV_SERVER}:webserver/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/testmanagement/ ${DEV_SERVER}:testmanagement/'
- '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/testmanagementserver/ ${DEV_SERVER2}:testmanagementserver/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/user/ ${DEV_SERVER2}:webserver/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/testmanagement/ ${DEV_SERVER2}:testmanagement/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/user/ ${DEV_SERVER2}:webserver/'
only:
refs:
- python3
......@@ -43,14 +44,14 @@ deploy to production:
variables:
PRODUCTION_SERVER: 'flocklab@whymper.ethz.ch'
SSH_OPTIONS: 'ssh -q -o StrictHostKeyChecking=no'
RSYNC_OPTIONS: '-av --no-perms --no-owner --no-group --delete --exclude=*.ini --exclude=*.conf'
RSYNC_OPTIONS: '-av --no-perms --no-owner --no-group --exclude=*.ini --exclude=*.conf --exclude=*.pyc'
script:
- 'apk update >/dev/null && apk add rsync openssh-client >/dev/null'
- 'eval $(ssh-agent -s) && echo "$CI_SSH_PRIVATE_KEY" | ssh-add -'
- 'echo "uploading files to ${PRODUCTION_SERVER}..."'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/testmanagementserver/ ${PRODUCTION_SERVER}:flocklab_bin/testmanagementserver/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/user/ ${PRODUCTION_SERVER}:public_html/user/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/testmanagement/ ${PRODUCTION_SERVER}:testmanagement/'
- 'rsync ${RSYNC_OPTIONS} -e "${SSH_OPTIONS}" server/webserver/user/ ${PRODUCTION_SERVER}:public_html/user/'
only:
refs:
- master
......
......@@ -3,7 +3,7 @@
<!-- General configuration -->
<generalConf>
<name>DPP link test</name>
<description>TX_POWER=0xc0</description>
<description>500s test CC430</description>
<scheduleAsap><durationSecs>300</durationSecs></scheduleAsap>
<emailResults>no</emailResults>
</generalConf>
......
......@@ -4,7 +4,7 @@
<generalConf>
<name>LinkMeasurement</name>
<description>
500 s test tmote
500s test tmote
</description>
<scheduleAsap>
<durationSecs>500</durationSecs>
......
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