running apt as cirunner in setup.sh
This gets executed in the ci-builds
before_script:
- cd tests/platform-ci
- su -c 'time ./setup.sh' cirunner
In above setupscript:
which bundle || /usr/bin/apt install bundle
This will fail, because it's not running as root. Having 2 scripts, one as root, one as cirunner is probably easiest.