tests

command
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: Apache-2.0 Imports: 8 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 src v220      # Thread 1
./tests/run-build.sh usr-from-host # Thread 1
./tests/run-build.sh coreos        # Thread 2
./tests/run-build.sh src master    # Thread 2
git clean -ffdx                    # Post Thread
Platform

Select Ubuntu 14.04 LTS v1503 (beta with Docker support).

Environment variables
RKT_ENABLE_FUNCTIONAL_TESTS=true

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