Commit 5cbbff42 authored by Reto Da Forno's avatar Reto Da Forno

old files removed

parent 7620dc24
......@@ -16,15 +16,18 @@ deploy to devserver:
variables:
DEV_SERVER: "flocklab@flocklab-dev-server.ethz.ch"
DEV_SERVER2: "flocklab@flocklab-dev-server2.ethz.ch"
RSYNC_OPTIONS: "-av --no-perms --no-owner --no-group --delete -e 'ssh -qq -o StrictHostKeyChecking=no'"
script:
- apk update >/dev/null && apk add rsync openssh-client >/dev/null
- eval $(ssh-agent -s) && echo "$CI_SSH_PRIVATE_KEY" | ssh-add -
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/testmanagementserver/ ${DEV_SERVER}:testmanagementserver/'
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/webserver/user/ ${DEV_SERVER}:webserver/'
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/webserver/testmanagement/ ${DEV_SERVER}:testmanagement/'
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/testmanagementserver/ ${DEV_SERVER2}:testmanagementserver/'
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/webserver/user/ ${DEV_SERVER2}:webserver/'
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/webserver/testmanagement/ ${DEV_SERVER2}:testmanagement/'
- echo "uploading files to ${DEV_SERVER}..."
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/testmanagementserver/ ${DEV_SERVER}:testmanagementserver/'
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/webserver/user/ ${DEV_SERVER}:webserver/'
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/webserver/testmanagement/ ${DEV_SERVER}:testmanagement/'
- echo "uploading files to ${DEV_SERVER2}..."
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/testmanagementserver/ ${DEV_SERVER2}:testmanagementserver/'
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/webserver/user/ ${DEV_SERVER2}:webserver/'
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/webserver/testmanagement/ ${DEV_SERVER2}:testmanagement/'
only:
refs:
- python3
......@@ -38,12 +41,14 @@ deploy to production:
stage: deploy
variables:
PRODUCTION_SERVER: "flocklab@whymper.ethz.ch"
RSYNC_OPTIONS: "-av --no-perms --no-owner --no-group --delete -e 'ssh -qq -o StrictHostKeyChecking=no'"
script:
- apk update >/dev/null && apk add rsync openssh-client >/dev/null
- eval $(ssh-agent -s) && echo "$CI_SSH_PRIVATE_KEY" | ssh-add -
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/testmanagementserver/ ${PRODUCTION_SERVER}:flocklab_bin/testmanagementserver/'
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/webserver/user/ ${PRODUCTION_SERVER}:public_html/user/'
- 'rsync -av --no-perms --no-owner --no-group --delete -e "ssh -o StrictHostKeyChecking=no" --exclude="*.ini" --exclude="*.conf" server/webserver/testmanagement/ ${PRODUCTION_SERVER}:testmanagement/'
- echo "uploading files to ${PRODUCTION_SERVER}..."
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/testmanagementserver/ ${PRODUCTION_SERVER}:flocklab_bin/testmanagementserver/'
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/webserver/user/ ${PRODUCTION_SERVER}:public_html/user/'
- 'rsync $RSYNC_OPTIONS --exclude="*.ini" --exclude="*.conf" server/webserver/testmanagement/ ${PRODUCTION_SERVER}:testmanagement/'
only:
refs:
- master
......
#!/bin/bash
VIZDIR="/home/flocklab/viz/"
FILESTOKEEP=100
NUM=$(ls -1 $VIZDIR | wc -l)
if [ $NUM -gt $FILESTOKEEP ]; then
# clear all subfolders except for the most recent ones
FILECNT=$(($NUM - $FILESTOKEEP))
echo "deleting $FILECNT files..."
FILELIST=$(ls $VIZDIR | head -$FILECNT)
for F in $FILELIST
do
#echo "deleting ${VIZDIR}${F}"
rm -r ${VIZDIR}${F}
done
else
echo "nothing to delete"
fi
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule \.svn/.*$ - [R=404]
</IfModule>
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTPS} =off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L,R=301]
[general]
last_update = 1524513066
paper_citations =
[users]
registered = 274
active = 126
num_countries = 28
country = "a:12:{s:11:'Switzerland';i:78;s:7:'Germany';i:39;s:13:'United States';i:39;s:6:'others';i:27;s:5:'China';i:21;s:6:'Sweden';i:17;s:5:'India';i:16;s:9:'Singapore';i:9;s:14:'United Kingdom';i:9;s:7:'Ireland';i:7;s:25:'Iran, Islamic Republic Of';i:6;s:6:'Brazil';i:6;}"
num_institutions = 115
institution = "a:9:{s:6:'others';i:132;s:10:'ETH Zurich';i:71;s:39:'Purdue University at Indianapolis IUPUI';i:27;s:12:'TU Darmstadt';i:12;s:10:'TU Dresden';i:11;s:33:'Chalmers University of Technology';i:7;s:32:'Nanyang Technological University';i:6;s:28:'Cork Institute of Technology';i:4;s:32:'National University of Singapore';i:4;}"
users_per_year = "a:7:{i:2012;s:1:'6';i:2013;s:2:'19';i:2014;s:2:'55';i:2015;s:2:'65';i:2016;s:2:'65';i:2017;s:2:'78';i:2018;s:2:'42';}"
[tests]
num_tests = 44268
tests_per_year = "a:7:{i:2012;s:3:'156';i:2013;s:4:'4020';i:2014;s:4:'6714';i:2015;s:4:'8525';i:2016;s:4:'8863';i:2017;s:5:'12116';i:2018;s:4:'3874';}"
tests_per_mote = "a:10:{s:5:'Tmote';i:31040;s:5:'CC430';i:3875;s:4:'ACM2';i:2381;s:3:'dpp';i:2276;s:4:'Opal';i:1967;s:8:'TinyNode';i:1498;s:8:'OpenMote';i:511;s:7:'Wismote';i:291;s:5:'Mica2';i:191;s:4:'Iris';i:179;}"
avg_setup_time = 93
avg_cleanup_time = 86
avg_runtime = 1286
runtime_cdf = "a:20:{i:3;d:15;i:6;d:31;i:9;d:46;i:12;d:61;i:15;d:65;i:19;d:69;i:22;d:74;i:25;d:76;i:28;d:77;i:31;d:77;i:34;d:85;i:37;d:86;i:40;d:86;i:43;d:87;i:46;d:87;i:49;d:88;i:52;d:88;i:56;d:88;i:59;d:88;i:62;d:94;}"
utilization_per_year = "a:7:{i:2012;d:4;i:2013;d:24;i:2014;d:41;i:2015;d:45;i:2016;d:45;i:2017;d:57;i:2018;d:61;}"
utilization_per_week = "a:57:{s:12:'2017 week 13';d:13;s:12:'2017 week 14';d:82;s:12:'2017 week 15';d:39;s:12:'2017 week 16';d:41;s:12:'2017 week 17';d:24;s:12:'2017 week 18';d:38;s:12:'2017 week 19';d:51;s:12:'2017 week 20';d:37;s:12:'2017 week 21';d:51;s:12:'2017 week 22';d:64;s:12:'2017 week 23';d:88;s:12:'2017 week 24';d:85;s:12:'2017 week 25';d:90;s:12:'2017 week 26';d:53;s:12:'2017 week 27';d:32;s:12:'2017 week 28';d:74;s:12:'2017 week 29';d:70;s:12:'2017 week 30';d:50;s:12:'2017 week 31';d:71;s:12:'2017 week 32';d:52;s:12:'2017 week 33';d:53;s:12:'2017 week 34';d:86;s:12:'2017 week 35';d:80;s:12:'2017 week 36';d:76;s:12:'2017 week 37';d:101;s:12:'2017 week 38';d:107;s:12:'2017 week 39';d:66;s:12:'2017 week 40';d:41;s:12:'2017 week 41';d:23;s:12:'2017 week 42';d:30;s:12:'2017 week 43';d:29;s:12:'2017 week 44';d:30;s:12:'2017 week 45';d:37;s:12:'2017 week 46';d:39;s:12:'2017 week 47';d:53;s:12:'2017 week 48';d:49;s:12:'2017 week 49';d:82;s:12:'2017 week 50';d:101;s:12:'2017 week 51';d:45;s:12:'2017 week 52';d:49;s:11:'2018 week 1';d:41;s:11:'2018 week 2';d:36;s:11:'2018 week 3';d:37;s:11:'2018 week 4';d:38;s:11:'2018 week 5';d:44;s:11:'2018 week 6';d:38;s:11:'2018 week 7';d:67;s:11:'2018 week 8';d:78;s:11:'2018 week 9';d:92;s:12:'2018 week 10';d:93;s:12:'2018 week 11';d:80;s:12:'2018 week 12';d:91;s:12:'2018 week 13';d:61;s:12:'2018 week 14';d:72;s:12:'2018 week 15';d:46;s:12:'2018 week 16';d:47;s:12:'2018 week 17';d:7;}"
[motes]
tmote_tests = 31040
tmote_per_year = "a:7:{i:2012;d:85;i:2013;d:63;i:2014;d:61;i:2015;d:61;i:2016;d:70;i:2017;d:79;i:2018;d:86;}"
tmoteusers_per_year = "a:7:{i:2012;d:67;i:2013;d:89;i:2014;d:96;i:2015;d:95;i:2016;d:98;i:2017;d:90;i:2018;d:95;}"
cc430_tests = 3875
cc430_per_year = "a:7:{i:2012;i:0;i:2013;i:0;i:2014;d:17;i:2015;d:11;i:2016;d:15;i:2017;d:4;i:2018;d:2;}"
cc430users_per_year = "a:7:{i:2012;i:0;i:2013;i:0;i:2014;d:11;i:2015;d:8;i:2016;d:11;i:2017;d:14;i:2018;d:19;}"
opal_tests = 1967
opal_per_year = "a:7:{i:2012;i:0;i:2013;d:9;i:2014;d:6;i:2015;d:4;i:2016;d:4;i:2017;d:3;i:2018;d:3;}"
opalusers_per_year = "a:7:{i:2012;i:0;i:2013;d:16;i:2014;d:4;i:2015;d:2;i:2016;d:3;i:2017;d:1;i:2018;d:2;}"
tinynode_tests = 1498
tinynode_per_year = "a:7:{i:2012;d:13;i:2013;d:13;i:2014;d:3;i:2015;d:2;i:2016;d:2;i:2017;d:2;i:2018;d:5;}"
tinynodeusers_per_year = "a:7:{i:2012;i:0;i:2013;i:0;i:2014;i:0;i:2015;i:0;i:2016;i:0;i:2017;i:0;i:2018;i:0;}"
openmote_tests = 511
openmote_per_year = "a:7:{i:2012;i:0;i:2013;i:0;i:2014;i:0;i:2015;d:4;i:2016;d:0;i:2017;d:2;i:2018;i:0;}"
openmoteusers_per_year = "a:7:{i:2012;i:0;i:2013;i:0;i:2014;i:0;i:2015;d:8;i:2016;d:2;i:2017;d:4;i:2018;i:0;}"
dpp_tests = 2276
dpp_per_year = "a:7:{i:2012;i:0;i:2013;i:0;i:2014;i:0;i:2015;i:0;i:2016;d:8;i:2017;d:12;i:2018;d:4;}"
dppusers_per_year = "a:7:{i:2012;i:0;i:2013;i:0;i:2014;i:0;i:2015;i:0;i:2016;d:8;i:2017;d:10;i:2018;d:7;}"
[services]
serial_tests = 43323
serial_per_year = "a:7:{i:2012;d:63;i:2013;d:98;i:2014;d:93;i:2015;d:98;i:2016;d:99;i:2017;d:99;i:2018;d:99;}"
serialusers_per_year = "a:7:{i:2012;d:100;i:2013;d:100;i:2014;d:98;i:2015;d:98;i:2016;d:100;i:2017;d:99;i:2018;d:98;}"
gpiotracing_tests = 19422
gpiotracing_per_year = "a:7:{i:2012;d:80;i:2013;d:33;i:2014;d:43;i:2015;d:35;i:2016;d:45;i:2017;d:42;i:2018;d:76;}"
gpiotracingusers_per_year = "a:7:{i:2012;d:50;i:2013;d:74;i:2014;d:62;i:2015;d:52;i:2016;d:49;i:2017;d:67;i:2018;d:64;}"
gpioactuation_tests = 12403
gpioactuation_per_year = "a:7:{i:2012;d:1;i:2013;d:27;i:2014;d:21;i:2015;d:37;i:2016;d:19;i:2017;d:31;i:2018;d:34;}"
gpioactuationusers_per_year = "a:7:{i:2012;d:33;i:2013;d:37;i:2014;d:20;i:2015;d:22;i:2016;d:20;i:2017;d:35;i:2018;d:38;}"
powerprof_tests = 12968
powerprof_per_year = "a:7:{i:2012;d:24;i:2013;d:8;i:2014;d:24;i:2015;d:30;i:2016;d:21;i:2017;d:32;i:2018;d:68;}"
powerprofusers_per_year = "a:7:{i:2012;d:33;i:2013;d:42;i:2014;d:62;i:2015;d:52;i:2016;d:38;i:2017;d:58;i:2018;d:57;}"
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