1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 06:11:12 +00:00
Commit Graph

158 Commits

Author SHA1 Message Date
Sven Dowideit
748be0ad66 Move the ApplyNetwork back to init where dhcp can run, and fix the tests for scope global
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-28 21:13:22 +10:00
Sven Dowideit
59a752c306 Use the partial cfg for the initial network
and release the network device from dhcp if we're not using it

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-26 11:49:14 +00:00
Sven Dowideit
af5935d3f2 Merge pull request #1717 from rancher/upgrade-downgraded-os
add a test for upgrading after a rolled back upgrade
2017-03-23 15:22:11 +10:00
Sven Dowideit
19fcea6264 add a test for upgrading after a rolled back upgrade
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-23 04:17:21 +00:00
Sven Dowideit
ab3c508a39 fix for alpine's simpler blkid cmd
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-23 01:31:35 +00:00
Sven Dowideit
4c2d21275a add an example service using EXTRA_CMDLINE
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-14 14:19:43 +10:00
Sven Dowideit
73980f9c73 save the elided cmdline into an env var
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-14 14:19:43 +10:00
Sven Dowideit
f6ce1f0685 Use the kernel cmdline elide patch to load config into RancherOS that isn't visible in /pro/cmdline
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-14 14:19:43 +10:00
Sven Dowideit
27f11ec6c2 set the permissions for /var/lib/rancher/conf to 0700
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 11:44:47 +00:00
Sven Dowideit
63c3d57993 network test fix
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 11:44:46 +00:00
Sven Dowideit
90963f8f45 fix test
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 16:13:36 +10:00
Sven Dowideit
17b3589782 Add a network test that sets up 2 of 4 ehternet devices, and allows another to use dhcp
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-10 22:28:41 +10:00
Sven Dowideit
ff98f27407 use a smaller console to test
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-06 15:02:24 +10:00
Sven Dowideit
df32dfdc70 try to debug Drone failures - I think its just timing out.
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-04 08:05:28 +00:00
Sven Dowideit
2fb7651b60 Failing test for cloud-config on iso
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-22 05:23:22 +00:00
Sven Dowideit
fd75fd3dc7 kernel services moved to system-docker
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-22 05:19:39 +00:00
Sven Dowideit
39801ee005 this test has failed on drone :/
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-07 21:38:41 +10:00
Sven Dowideit
5471359991 add tests!
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-03 03:47:08 +00:00
Sven Dowideit
fc96f75c35 add upgrade with non-default console installed
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-30 21:33:54 +10:00
Sven Dowideit
83e6696fd3 Improve and test install and upgrade robustness
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-30 14:48:43 +10:00
Sven Dowideit
a4e77692c4 My first pass at fixing the b2d autoformat
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-22 06:43:04 +00:00
Sven Dowideit
1c5d41a56e Add a test for the non-tar b2d autoformat trigger
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-22 06:43:04 +00:00
Sven Dowideit
cf1ddf2ff8 If golang can't deal with dashes, then argh!
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-22 06:34:39 +00:00
Sven Dowideit
9670aa8505 Add an integration test for os-release
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-21 23:12:41 +10:00
Sven Dowideit
1761d770c9 make yN and reboot happen in the console container, not in the installer sub-container
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-17 22:13:35 +10:00
Sven Dowideit
4f1418d3ba disable the old upgrade test - it can't work as things are
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-16 13:04:58 +10:00
Sven Dowideit
6bbed5fd4c start testing the version number of our install/upgrade test
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
2a575837b2 Installing 0.7.1, and then rebooting, and doing a ros upgrade to a faked up latest works \o/
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
f5230f1299 add integration tests for iso boot, install and then boot from disk.
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
cc78ff7bd1 make the iso run also get the ssh and cloud-init so testing the installer is easier
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:16 +00:00
Sven Dowideit
087bc6fd2d Convert install script to go
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:39:38 +00:00
Josh Curl
cc3c78663c CLI validation for services, console, and engines 2016-12-05 10:18:31 -08:00
Josh Curl
40100ffa7c Load modules after running PrepareFs 2016-12-01 11:27:33 -08:00
Josh Curl
584c4f4686 Add tests to ensure containers remain running after console switch 2016-11-29 14:46:41 -08:00
Sven Dowideit
0ac5a2d40b Set rancher.environment.KERNEL_VERSION from /proc/version
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-29 23:09:07 +10:00
Sven Dowideit
540545ff74 fix the kernel-headers test for 0.8.0-rc1
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-24 16:13:09 +10:00
Darren Shepherd
4479ff5cdb Merge pull request #1364 from joshwget/early-cloud-init
Early cloud-init
2016-11-16 17:05:03 -07:00
Josh Curl
13b34a6668 Early cloud-init 2016-11-09 11:08:30 -08:00
Josh Curl
c1abc67fa8 Support string values for runcmd 2016-11-07 11:36:37 -08:00
Josh Curl
2ae22a66fe Always assert RunQemu is successful 2016-10-23 16:23:30 -07:00
Sven Dowideit
d7368a1a50 Merge pull request #1327 from joshwget/seperate-ssh-and-docker-checks
Seperate SSH check from Docker check in tests
2016-10-19 20:52:55 -07:00
Josh Curl
19d4be62c6 Seperate SSH check from Docker check in tests 2016-10-19 18:12:47 -07:00
Josh Curl
11d3bd69af Merge pull request #1326 from joshwget/rewrite-scripts-in-go
Rewrite a few scripts in Go and remove unneeded services
2016-10-19 17:30:44 -07:00
Sven Dowideit
892b8d4bff Merge pull request #1329 from sols1/fix-http-proxy-test
Removed "env" from "system-docker inspect docker env"
2016-10-19 03:45:57 +10:00
--get
6ce8226cf4 Removed "env" from "system-docker inspect docker env" 2016-10-17 17:28:40 -07:00
Josh Curl
a7d405991c Rewrite a few scripts in Go and remove unneeded services 2016-10-17 14:47:44 -07:00
Darren Shepherd
e3df9911bc Merge pull request #1313 from joshwget/bad-state-tests
Add tests for when state fails to mount
2016-10-14 11:37:25 -07:00
Josh Curl
e608377088 Write /run/console-done before executing /etc/rc.local 2016-10-14 10:48:32 -07:00
Josh Curl
a90d93691f Add tests for when state fails to mount 2016-10-11 15:30:00 -07:00
Darren Shepherd
e5293ff926 Merge pull request #1239 from joshwget/docker-arguments-map
Use a map to configure Docker arguments
2016-09-26 21:36:36 -07:00