Commit Graph

6880 Commits

Author SHA1 Message Date
Justin Cormack
63a5dedd28
Merge pull request #188 from justincormack/make-tmp-dir
Create tmp dir in case required
2017-11-20 16:59:27 +00:00
Justin Cormack
3389f89c44 Create tmp dir in case required
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-20 16:50:58 +00:00
Ian Campbell
cef9d11f58 Only create metadata if file is non-zero sized
The recent iso9660wrap vendoring bump means this does now work, but it seems
pointless in this case so skip.

Relates to https://github.com/linuxkit/kubernetes/issues/4

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-11-20 15:26:51 +00:00
Ian Campbell
a5e5d42368 Move metadata ISO creation to common code
This code was identical in the QEMU and HyperKit cases. Move it to util.go and
wrap it in a function, with minimal changes for returning an error.

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-11-20 15:22:02 +00:00
Ian Campbell
db9a783821 Bump iso9660wrap to baf8d62ad315
Reduces the linuxkit binary by 12k by removing The Raven. Also allows zero
sized files to be created, see https://github.com/linuxkit/kubernetes/issues/4

4606f848a0...baf8d62ad3

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-11-20 15:17:57 +00:00
Justin Cormack
eef8ab7757 Add linuxkit build, using vendored moby/tool as a library
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-20 14:48:48 +00:00
Justin Cormack
c928acf73e
Merge pull request #2757 from errordeveloper/patch-1
docs: Improve intro in packages.md
2017-11-20 14:48:33 +00:00
Justin Cormack
ad2fda5769
Merge pull request #187 from justincormack/build-improvements
Make easier to use as a library
2017-11-20 14:05:25 +00:00
Justin Cormack
6395e339b9 Do not error if cache/config directory not specified
Just use the default. Easier to use as an external library.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-20 13:52:53 +00:00
Ilya Dmitrichenko
490a4d4cd8
docs: Improve intro in packages.md
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-11-20 13:05:12 +00:00
Justin Cormack
e3a7739f42 Make easier to embed in LinuxKit
Split out util file in same way.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-20 12:04:08 +00:00
Justin Cormack
98ba4f3b02
Merge pull request #2759 from damdo/fix-some-reports-typos
Fix some typos and no-break char in reports markd
2017-11-20 11:48:27 +00:00
Marco Mariani
7f2ed70b89 updated examples/node_exporter.yml (built from sources)
Signed-off-by: Marco Mariani <marco.mariani@alterway.fr>
2017-11-20 12:13:26 +01:00
Marco Mariani
01d0a1835c pkg/node_exporter from sources
Signed-off-by: Marco Mariani <marco.mariani@alterway.fr>
2017-11-20 12:13:26 +01:00
Rolf Neugebauer
41a4c2df10
Merge pull request #2760 from zlim/patch-2
kernel: update README.md
2017-11-20 08:40:18 +00:00
zlim
8e5006f8f9
kernel: update README.md
Update description to reflect link to ../doc/kernels.md.

Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com>
2017-11-19 22:19:49 -08:00
Justin Cormack
6ba3288963
Merge pull request #186 from gesellix/fix-docker-build-cmd
Fix docker format build example
2017-11-19 10:11:16 +00:00
Tobias Gesellchen
5aebd207d0 Fix docker format build example
Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
2017-11-18 22:22:33 +01:00
Damiano Donati
6daa911fa6 Fix some typos and no-break char in reports markd
Signed-off-by: Damiano Donati <damiano.donati@gmail.com>
2017-11-17 20:31:39 +01:00
Rolf Neugebauer
29f711be94
Merge pull request #2728 from arm64b/rm-content-trust-build-wr
alpine: Remove the 'content trust build' workaround
2017-11-17 18:27:53 +00:00
Rolf Neugebauer
0a2db0ac83
Merge pull request #2758 from rn/no-lcow
Remove LCOW
2017-11-17 17:23:34 +00:00
Justin Cormack
cad6527033
Merge pull request #2755 from justincormack/runtime-cgroups
Add support for creating cgroups in runtime section
2017-11-17 17:01:27 +00:00
Justin Cormack
d3533febe7
Merge pull request #2756 from justincormack/no-logos
Improve language detection
2017-11-17 16:26:15 +00:00
Justin Cormack
a7b5b0ae07
Merge pull request #2752 from ijc/remove-kubernetes
Remove projects/kubernetes, moved to https://github.com/linuxkit/kubernetes
2017-11-17 16:14:35 +00:00
Rolf Neugebauer
32fca2954f Remove LCOW
It is now under https://github.com/linuxkit/lcow

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-11-17 15:55:19 +00:00
Justin Cormack
315e5f80e8
Merge pull request #185 from justincormack/fix-make
Stop make test from removing binary
2017-11-17 15:21:08 +00:00
Justin Cormack
914fce3f9f Improve language detection
github is marking a lot of ekrnel config files as "logos" again.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-17 15:00:31 +00:00
Justin Cormack
f85e019d2e
Merge pull request #183 from ijc/static-builds
Build a static binary
2017-11-17 14:43:08 +00:00
Justin Cormack
8f75b635ec Stop make test from removing binary
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-17 14:40:49 +00:00
Ian Campbell
532b41ff8b Disable CGO so as to build a static binary
https://github.com/linuxkit/kubernetes/pull/1#issuecomment-345253075 lead to
https://circleci.com/gh/linuxkit/kubernetes/15

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-11-17 14:39:19 +00:00
Ian Campbell
a09e6a5c7b Add pointers to the new kubernetes location
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-11-17 14:25:32 +00:00
Justin Cormack
9e65b8b4c3
Merge pull request #2751 from ijc/simplify-circle-artifacts
Move CI build artifacts to top level
2017-11-17 14:23:39 +00:00
Justin Cormack
6cb919b489 Add support for creating cgroups in runtime section
Implements https://github.com/moby/tool/pull/181

Design for things like Kubernetes setup that requires some cgroups to
exist when the service starts but it is not running in these, other
services are, so there would be a race if they are not created in each.

Essentially it is just a sugared `mkdir` in all the cgroup dirs.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-17 14:12:41 +00:00
Justin Cormack
eceb6d11f8
Merge pull request #181 from justincormack/runtime-cgroups
Add Cgroups to runtime config
2017-11-17 14:12:08 +00:00
Justin Cormack
c9bb1ecdf1 Add Cgroups to runtime config
This will create the list of cgroups specified

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-17 13:22:38 +00:00
Ian Campbell
6539b78a72 Remove projects/kubernetes, moved to https://github.com/linuxkit/kubernetes
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-11-17 10:42:18 +00:00
Dennis Chen
258e4c37d2 alpine: Remove the 'content trust build' workaround
Before the alpine base image is multi-arch and signed, the
DOCKER_CONTENT_TRUST=1 doesn't work on AArch64 for 'docker build'.
Now since the alpine base image is already multi-arch and signed,
also we've used 'push_manifest.sh' to push and sign linuxkit/image,
so we can remove this workaround.

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
2017-11-17 10:37:40 +00:00
Ian Campbell
05f6085868 Move CI build artifacts to top level
Currently one has to click down through a sequence of nested directories in the web UI:
 ↓ Container 0
    ↓ go/
        ↓ src/
            ↓ github.com/
                ↓ linuxkit/
                    ↓ linuxkit/
                        ↓ bin/
                              «actual binaries»

Which is super tedious.

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-11-17 10:33:31 +00:00
Rolf Neugebauer
b27c196719
Merge pull request #2750 from rn/mo-auth
Update AUTHORS
2017-11-16 22:45:58 +00:00
Rolf Neugebauer
6c34e8e8b9
Merge pull request #2748 from rn/kern-up
Update kernels to 4.13.13/4.9.62/4.4.98
2017-11-16 20:56:24 +00:00
Rolf Neugebauer
3195e8168e Update AUTHORS
more contributors!

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-11-16 20:47:33 +00:00
Rolf Neugebauer
d75d0ddd57 Update .mailmap
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-11-16 20:47:33 +00:00
Rolf Neugebauer
107dca5c62
Merge pull request #2747 from justincormack/format-tagup
Update tags for format
2017-11-16 19:49:08 +00:00
Rolf Neugebauer
d47da6b2b7 Update YAML files to latest kernels
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-11-16 17:37:07 +00:00
Rolf Neugebauer
98025f4649 kernel: Update to 4.13.13/4.9.62/4.4.98
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-11-16 17:35:43 +00:00
Justin Cormack
80e3072c55 Update tags for format
Update for #2743

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-11-16 17:27:23 +00:00
Justin Cormack
ac55317bde
Merge pull request #2743 from dprotaso/master
After partitioning we now retry the stat prior to formatting
2017-11-16 17:21:25 +00:00
Justin Cormack
91311b9de8
Merge pull request #178 from tristanls/master
Prob: Files section does not work for /var dir
2017-11-16 17:20:33 +00:00
Justin Cormack
7c3e0e87b2
Merge pull request #182 from ijc/circleci-artefacts
Tweak circleci config to try and fix artifact upload
2017-11-16 17:19:58 +00:00
Rolf Neugebauer
e0c0a72bda
Merge pull request #2746 from justincormack/mkdir-state
Create state dir before trying to touch file in it
2017-11-16 17:17:59 +00:00