1
0
mirror of https://github.com/rancher/os.git synced 2025-08-02 07:24:28 +00:00
Commit Graph

140 Commits

Author SHA1 Message Date
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
Josh Curl
b65e429bb6
Run gofmt and fix vet errors 2016-09-26 21:32:37 -07:00
Josh Curl
32b2ccda1e
Ignore error creating /var/lib/system-docker if it already exists 2016-09-25 20:37:55 -07:00
Josh Curl
065fe4a16e
Use a map to configure Docker arguments 2016-09-25 17:55:19 -07:00
Josh Curl
8777e477b8
Add upgrade tests 2016-09-12 21:48:26 -07:00
Josh Curl
d4a026dc5d
Execute start scripts using bash 2016-08-31 16:18:51 -07:00
Darren Shepherd
4bbfdadfde Merge pull request #1170 from joshwget/runcmd
Implement runcmd
2016-08-22 13:50:21 -07:00
Josh Curl
4677af8419
Implement runcmd 2016-08-22 13:22:27 -07:00
Josh Curl
5eda685ff5
Fix image preloading 2016-08-21 22:51:01 -07:00
Josh Curl
11cf2a195b
Show current/enabled/disabled in 'ros engine list' 2016-08-17 16:33:49 -07:00
Darren Shepherd
6abdeb34d6 Merge pull request #1143 from joshwget/better-engine-switching
Make it easier to switch between Docker engines
2016-08-15 21:21:23 -07:00
Josh Curl
80c72d0761
Make it easier to switch between Docker engines 2016-08-15 15:06:26 -07:00
Josh Curl
d4801494a1
Use the mount command to apply cloud-config mounts 2016-08-15 13:01:40 -07:00
Josh Curl
0a053c62ab
Extend write_files to run in all system services 2016-08-15 11:14:50 -07:00
Josh Curl
889cb9eea8
Split cloud-init into cloud-init-execute and cloud-init-save 2016-08-04 15:47:12 -07:00
Josh Curl
1877cfa16b
Fix some tests 2016-07-26 15:40:35 -07:00
Josh Curl
0c7fb4f1f9
Refactor integration tests 2016-07-20 10:42:16 -07:00
Josh Curl
128c228ff5
Add swap support in cloud config mounts 2016-06-22 21:50:29 -07:00
Josh Curl
921c00c8ea
Add sysctl support in cloud config 2016-06-17 23:05:45 -07:00