Josh Curl
f24facc06c
Additional mounts can be set in cloud config
2016-06-14 15:25:56 -07:00
Ivan Mikushin
a640bdb758
Fix installer build
2016-06-14 10:29:38 -07:00
Josh Curl
e4019385aa
Merge remote-tracking branch 'origin/v0.5' into HEAD
2016-06-13 22:00:34 -07:00
Josh Curl
a5273d922e
Revert "/media and /mnt mounted as shared for console"
2016-06-13 14:53:47 -07:00
Josh Curl
9f0074c398
/media and /mnt mounted as shared for console
2016-06-07 12:09:10 -07:00
Darren Shepherd
cd76d85aea
Merge pull request #980 from joshwget/first-class-consoles
...
First class consoles
2016-06-06 15:27:23 -07:00
Josh Curl
719d255636
First class consoles
2016-06-06 15:13:15 -07:00
Darren Shepherd
f22c692529
Merge pull request #975 from imikushin/tls
...
Disable docker server TLS cert auto-generation
2016-06-06 12:43:19 -07:00
Ivan Mikushin
41f333d0ff
Disable docker server TLS cert auto-generation
...
Because users should be explicit about their docker TLS certs.
Also, re-generate the key and cert files when `ros tls gen` is run (used to be cached).
2016-06-06 10:27:03 -07:00
Darren Shepherd
82666d779e
Fix tests
2016-06-06 10:17:21 -07:00
Josh Curl
55d629b980
Remove unneeded service processing code
2016-06-02 09:01:00 -07:00
Josh Curl
a59ec33787
Fix --private flag for 'ros config export'
2016-05-31 18:10:56 -07:00
Josh Curl
6ec9ce1bc6
Replace wait-for-network services with retries
2016-05-26 18:54:42 -07:00
Darren Shepherd
0d5223db23
Fix tests
2016-05-22 23:51:46 -07:00
Darren Shepherd
d34ead2fbf
Speed up build and run tests
2016-05-22 23:16:27 -07:00
Josh Curl
2968bed32e
Revert "/media and /mnt mounted as shared for console"
2016-05-07 15:08:39 -07:00
Darren Shepherd
a9ca80d47d
Merge pull request #917 from joshwget/proxy-settings
...
HTTP proxy settings can be set in cloud config
2016-05-07 12:56:52 -07:00
Josh Curl
ae543ab167
HTTP proxy settings can be set in cloud config
2016-05-06 16:25:07 -07:00
Josh Curl
7241390042
/media and /mnt mounted as shared for console
2016-05-04 16:18:24 -07:00
Darren Shepherd
a888a57cd9
Merge pull request #892 from datawolf/fix-test-to-work-with-multi-arch
...
Modify the test_11_environment to work with multiple architectures
2016-05-02 13:25:06 -07:00
Josh Curl
6ab32ae19c
Fix setting default values with 'ros config set'
2016-04-22 16:11:54 -07:00
Wang Long
4439cdde41
Modify the test_11_environment to work with multiple architectures
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-04-19 11:36:41 +08:00
Josh Curl
8862878337
Remove DHCP override flag
2016-04-15 10:38:31 -07:00
Darren Shepherd
8b4e6cc502
Merge pull request #881 from joshwget/fix-dhcp-hostname
...
Fix DHCP hostname being overwritten
2016-04-14 21:59:38 -07:00
Josh Curl
a0ae6222c9
Fix DHCP hostname being overwritten
2016-04-14 21:58:07 -07:00
Darren Shepherd
f7cd87e2fb
Merge pull request #873 from joshwget/dns-integration-tests
...
Integration tests for DNS configuration in cloud config
2016-04-14 21:46:39 -07:00
Josh Curl
3c78335edf
Integration tests for DNS configuration in cloud config
2016-04-13 11:24:00 -07:00
Josh Curl
e31b955b0a
Fix environment variables set for system services
2016-04-12 22:59:37 -07:00
Josh Curl
173874f196
Apply network configurations again after cloud-init
2016-04-08 13:04:35 -07:00
Ivan Mikushin
0f6cf07786
make tests run on arm64
2016-04-01 16:18:27 -07:00
Ivan Mikushin
e2f3ac78a7
cleanup tests using SSH
2016-03-31 18:56:18 -07:00
Ivan Mikushin
95d24ac67d
Modify the tests to work with multiple architectures
2016-03-31 13:16:26 -07:00
Darren Shepherd
f7301fa1b0
Merge pull request #808 from datawolf/print-proper-tips
...
print proper tips when running `ros` or `system-docker` without using sudo
2016-03-21 21:05:01 -07:00
Ivan Mikushin
8802fe2c6e
Run qemu and tests on different architectures
2016-03-17 04:30:11 -07:00
Wang Long
445c510dee
fix the testcase: add sudo
to ros dev
command
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-16 18:41:54 +08:00
Darren Shepherd
6f98e06d97
Fix ros config set for list values
2016-02-11 09:25:48 -07:00
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