rkt functional tests
This directory contains a set of functional tests for rkt.
The tests use gexpect to spawn various rkt run
commands and look for expected output.
Semaphore
The tests run on the Semaphore CI system through the rktbot
user, which is part of the coreos
org on Semaphore.
This user is authorized against the corresponding rktbot
GitHub account.
The credentials for rktbot
are currently managed by CoreOS.
Build settings
Use the following build commands:
./tests/install-deps.sh # Setup
./tests/run-build.sh none # Thread 1
./tests/run-build.sh coreos # Thread 2
./tests/run-build.sh src v215 # Thread 1
./tests/run-build.sh src v219 # Thread 2
./tests/run-build.sh src master # Thread 1
git clean -ffdx # Post Thread
Select Ubuntu 14.04 LTS v1503 (beta with Docker support)
.
Environment variables
RKT_STAGE1_USR_FROM=src
CircleCI
Ideally the tests will also run on CircleCI, but there is currently a known issue because access to the cgroup filesystems is restricted - more info here
Assuming this can be resolved, the following configuration can be used:
test:
override:
- ./tests/install-deps.sh
- RKT_STAGE1_USR_FROM=src ./build
- ./test