tests

command
v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

README

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
Platform

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
aci

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL