Commit Graph

34 Commits

Author SHA1 Message Date
Justin Cormack
26159df061 fix media prefix
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-14 12:28:25 +01:00
Justin Cormack
1664cebcf9 allow overriding the media prefix, so can make custom modifications eg for custom Docker versions
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-12 16:37:24 +01:00
Justin Cormack
8acb1211c6 add experimental- prefix for experimental Docker versions in media
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-12 16:36:01 +01:00
Justin Cormack
b03d08ef4d do not need to remove images in make clean
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-12 16:36:01 +01:00
Justin Cormack
9f7e9ca168 Add mobylinux.efi to media
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-12 16:36:01 +01:00
Justin Cormack
ef2812a70a Add a media target to push final artefacts to tagged by commit id
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-09-12 16:36:01 +01:00
Justin Cormack
3f665f5e2a we never use uncompressed initrd, so always compress
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-12 16:02:07 +01:00
Justin Cormack
59ad769b00 for now, make sure rebuild on make test
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-12 16:02:07 +01:00
Justin Cormack
a1edc6cec2 fix Makefile dependencies
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-12 16:02:07 +01:00
Justin Cormack
3a2a755f58 do not force rebuild from top level makefile
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-12 16:02:07 +01:00
Justin Cormack
4a4e755c91 remove broken arm functionality - will rework
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-12 16:02:07 +01:00
Justin Cormack
6268a1ace0 Merge pull request #468 from justincormack/alpine-iso
Use alpine to build bios
2016-09-06 23:57:49 +01:00
Justin Cormack
5fe4445c88 Faster build via less context sent
See #470. Still more to do.

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-06 09:45:37 +01:00
Justin Cormack
feb141d324 fix iso build
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-06 00:11:48 +01:00
Justin Cormack
5333a5c796 Remove xhyve
See #443

We now use qemu for testing, having a copy of xhyve in the tree is no
longer useful. Should add documentation for how to run in hyperkit instead.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-08-31 14:30:17 +01:00
Justin Cormack
3899ca9cb7 hide any messages from tee about short writes when pipe aborted
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-08-09 17:40:32 +01:00
Justin Cormack
b9532e2a89 make sure test.log exists, and append, otherwise racy
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-29 16:33:01 +01:00
Justin Cormack
626ad90e41 Improve make test output
Incrementally output log, and exit as soon as tests pass
or fail. Will still timeout on a kernel panic or suchlike
though...

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-18 16:05:01 +01:00
Justin Cormack
07052d1875 make test should not need a tty
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-18 11:08:26 +01:00
Justin Cormack
ede5a0ea6f Initial test hooks
Beginning of a proper test suite, using qemu. Test just runs docker
for now, will add further integration tests.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-08 15:44:04 +01:00
Justin Cormack
8777d775ed Make the qemu containers interactive so the console works
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-06-18 21:47:31 +01:00
Ian Campbell
b8a7032161 Add || true to the docker rmi invocations in the clean target
Linux xargs calls the command with no arguments if it gets no inputs, which
`docker rmi` complains about. It provides -r / --no-run-if-empty to prevent
this but unfortunately this isn't supported on OSX.

Ignore errors from `docker rmi` so that `make clean` will keep going and clean
up later stuff.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-06-08 13:59:47 +01:00
Justin Cormack
3c97c540be remove more kexec code
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-04-06 10:28:15 +01:00
Justin Cormack
e7d2e0c4cd add a qemu iso target
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-19 16:11:23 +00:00
Dave Tucker
1f80e1ed03 Fix ARM Builds
Signed-off-by: Dave Tucker <dt@docker.com>
2016-02-17 17:59:21 +00:00
Justin Cormack
4564a44b8d remove temporary containers
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-10 14:31:37 -08:00
Justin Cormack
6c2e5cd4b0 WIP kexec script for testing on different hardware
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-22 17:37:27 +00:00
Justin Cormack
eedf4f3636 force clean docker images
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 12:14:30 +00:00
Justin Cormack
5207fb4b71 rename top level Dockerfiles
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-19 12:11:26 +00:00
Justin Cormack
87f4d74e0e split arm build from qemu
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:47:18 +00:00
Justin Cormack
658ac6145f Initial arm support
Not yet working, some parts also not yet cross compiled

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 15:49:38 +00:00
Justin Cormack
aa7dbc0205 qemu build in Makefile
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-12 14:10:51 +00:00
Justin Cormack
fca32a3b72 move kernel under rest of build and pull through aufs tools
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 15:26:42 +00:00
Justin Cormack
5951f8f541 add copy of xhyve for easy testing on Mac
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-08 16:32:19 +00:00