Darren Shepherd
0d6c78ce28
Update networking
...
Add support for VLANs, bridging, and bonding.
2016-02-09 14:04:52 -07:00
Darren Shepherd
28bd8b0ccb
Fix ros dev panic
2016-02-04 09:25:36 -07:00
Darren Shepherd
ce915927be
Fix issue with depulicate ssh keys after save
...
The CloudConfig.Save() did not load the metadata resulting in the diff
function always thinking the SSH keys were new. This would cause them
to be saved over and over again just getting bigger and bigger.
2016-02-04 09:13:20 -07:00
Darren Shepherd
1a95080522
Support OEM partition and oem-config.yml
2015-12-22 17:03:50 -07:00
Darren Shepherd
cd2829d220
Farewell PID one
...
This change no longer runs Docker as PID 1. Instead PID 1 is a very
simple zombie reaper and Docker is moved as a child of that PID.
2015-12-22 15:38:32 -07:00
Darren Shepherd
808fbdbe1f
Use a subdirectory of the state partition
2015-12-22 15:16:22 -07:00
Ivan Mikushin
f4f59e97cc
Fix naming of external services (e.g. specified by rancher.services_include)
...
Add container_name key to service configuration.
2015-12-21 11:49:43 +05:00
Ivan Mikushin
99bec55a2f
Use drone-0.4 for CI and migrate build to dapper
2015-12-18 19:24:24 +05:00
Ivan Mikushin
ac3d7afca6
Integration tests: make sure qemu exits in fixture finalizer
...
Also, make sure qemu is alive in wait_for_ssh.
2015-12-17 14:59:52 +05:00
Ivan Mikushin
084fb43201
tweak tests
2015-12-11 17:38:00 +05:00
Ivan Mikushin
fde9d035b0
test docker --tlsverify
2015-12-11 13:41:19 +05:00
Ivan Mikushin
2c89796274
integration tests: log while we are waiting for ssh and docker
2015-12-02 17:24:35 +05:00
Ivan Mikushin
b10a093c62
test dhcpcd running in background after network has initialized
2015-11-18 14:50:56 +05:00
Ivan Mikushin
3395ede89d
rename tests package to rostest
2015-11-18 14:37:38 +05:00
Ivan Mikushin
b886bce539
move ros back to /usr/bin/ros
...
also, rm rancherctl
2015-11-18 14:37:28 +05:00
Ivan Mikushin
906f192d13
test_04: update rancher/os image version to latest release
2015-11-18 13:52:54 +05:00
Ivan Mikushin
8ef4576f77
test_05: bump custom docker to v1.10.0-dev
2015-11-18 13:52:54 +05:00
Ivan Mikushin
119b1be0ec
add docker.tls_args test
2015-11-17 18:48:33 +05:00
Ivan Mikushin
8251edc642
Wait for docker in test_05
2015-11-12 13:30:46 +05:00
Ivan Mikushin
283299f84e
add a test
2015-11-03 18:32:59 +05:00
Ivan Mikushin
c0c29631fd
Do not remove usr in test runs
2015-10-15 17:02:33 +05:00
Ivan Mikushin
43795fe283
add integration test
2015-10-01 16:55:34 +05:00
Ivan Mikushin
39e2e6c3b3
speed up the full build by swapping lzma with gzip if run with --dev flag
2015-09-23 10:22:55 +05:00
Ivan Mikushin
25fa1b769d
add --qind
to scripts/run
and scripts/ssh
...
also add `--fresh` to `scripts/run` to run with a clean state HDD,
make `--qemu` the default in `scripts/run` and `scripts/ssh`
2015-09-23 10:20:28 +05:00
Ivan Mikushin
f08f996bca
test rebooting instance with a container running in user docker
2015-09-14 15:06:50 +05:00
Ivan Mikushin
fd90dcffe0
test docker config
2015-09-14 11:50:39 +05:00
Ivan Mikushin
135949d894
rename KERNEL_URL to COMPILED_KERNEL_URL
...
to avoid confusion with KERNEL_URL in rancher/os-kernel
2015-09-10 11:47:30 +05:00
Ivan Mikushin
168d340b76
test custom kernel and docker build and boot
2015-09-09 23:35:15 +05:00
Ivan Mikushin
94c7eca88e
tests cleanup
2015-09-09 12:29:47 +05:00
Ivan Mikushin
950158823c
run integration tests as part of the build
2015-09-04 19:30:16 +05:00
Ivan Mikushin
57444246ba
cleanup python tox setup
2015-09-04 13:34:29 +05:00
Ivan Mikushin
bde6b8bb7a
make tox happy
2015-09-03 20:07:57 +05:00
Ivan Mikushin
e94f8d8a1f
revive integration tests
2015-09-03 17:44:16 +05:00
Ivan Mikushin
4886c8815c
make ssh happy with the key perms (again)
2015-05-10 17:46:10 +05:00
Ivan Mikushin
2603fd2ba9
rm -f ./state/empty-hd.img
before running qemu
2015-05-10 17:46:10 +05:00
Ivan Mikushin
99cca7be16
just a tiny rename
2015-05-10 17:46:10 +05:00
Ivan Mikushin
54ff0850f6
test_rancher_network - wip
2015-05-10 17:46:10 +05:00
Ivan Mikushin
4d594b768f
test_rancher_network - wip
2015-05-10 17:46:10 +05:00
Ivan Mikushin
3eefe3785b
test_rancher_environment
2015-05-10 17:46:10 +05:00
Ivan Mikushin
1f5b50f489
test_ssh_authorized_keys
2015-05-10 17:46:10 +05:00
Ivan Mikushin
070162eb55
wip: test cloud-config
2015-05-10 17:46:10 +05:00
Ivan Mikushin
b64b31a952
use with
for ssh subprocess
2015-05-10 17:46:09 +05:00
Ivan Mikushin
83f0b3057a
factor out util
2015-05-10 17:46:09 +05:00
Ivan Mikushin
2c4b918a89
use with
to close streams properly
2015-05-10 17:46:09 +05:00
Ivan Mikushin
f919ac3193
parse RancherOS version from ./scripts/version
2015-05-10 17:46:09 +05:00
Ivan Mikushin
05609ca6fb
clear state before running tests, wait for ssh
2015-05-10 17:46:09 +05:00
Ivan Mikushin
f2d797d6cc
migrate to python-3.4
2015-05-10 17:46:09 +05:00
Ivan Mikushin
72b29cc797
test_run_system_container: fixed
2015-05-10 17:46:09 +05:00
Ivan Mikushin
a753ca7930
test_run_system_container: wip
2015-05-10 17:46:09 +05:00
Ivan Mikushin
38d67b20d1
integration tests: use session and module fixtures
2015-05-10 17:46:09 +05:00
Ivan Mikushin
e4f04c698f
test system boots
2015-05-10 17:46:09 +05:00
Ivan Mikushin
190a46542d
tests container to run in-VM
2015-05-10 17:46:09 +05:00
Ivan Mikushin
ece34c7a3d
py.test module: integration
2015-05-10 17:46:09 +05:00