This repository has been archived by the owner on Sep 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(FM-5091) Implement docker-based full-system tests
This uses travis to run a preliminary evaluation of PRs using the spec/acceptance test suites running in a docker container on a VM-based travis runner. This allows us to evaluate the effects of a change before merging it.
- Loading branch information
Showing
5 changed files
with
74 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
HOSTS: | ||
centos-7-x64: | ||
platform: el-7-x86_64 | ||
hypervisor: docker | ||
image: centos:7 | ||
docker_preserve_image: true | ||
docker_cmd: '["/usr/sbin/init"]' | ||
# install various tools required to get the image up to usable levels | ||
docker_image_commands: | ||
- 'yum install -y crontabs tar wget openssl sysvinit-tools iproute which initscripts' | ||
CONFIG: | ||
trace_limit: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
HOSTS: | ||
debian-8-x64: | ||
platform: debian-8-amd64 | ||
hypervisor: docker | ||
image: debian:8 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- 'apt-get update && apt-get install -y net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen' | ||
CONFIG: | ||
trace_limit: 200 |
12 changes: 12 additions & 0 deletions
12
moduleroot/spec/acceptance/nodesets/docker/ubuntu-14.04.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
HOSTS: | ||
ubuntu-1404-x64: | ||
platform: ubuntu-14.04-amd64 | ||
hypervisor: docker | ||
image: ubuntu:14.04 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
# ensure that upstart is booting correctly in the container | ||
- 'rm /usr/sbin/policy-rc.d && rm /sbin/initctl && dpkg-divert --rename --remove /sbin/initctl && apt-get update && apt-get install -y net-tools wget && locale-gen en_US.UTF-8' | ||
CONFIG: | ||
trace_limit: 200 |