nixery/server
Vincent Ambo f57a2baf92 fix(server): Use uncompressed tarball hashes in image config
Docker expects hashes of compressed tarballs in the manifest (as these
are used to fetch from the content-addressable layer store), but for
some reason it expects hashes in the configuration layer to be of
uncompressed tarballs.

To achieve this an additional SHA256 hash is calculcated while
creating the layer tarballs, but before passing them to the gzip
writer.

In the current constellation the symlink layer is first compressed and
then decompressed again to calculate its hash. This can be refactored
in a future change.
2019-10-11 12:37:00 +01:00
..
builder fix(server): Use uncompressed tarball hashes in image config 2019-10-11 12:37:00 +01:00
config refactor(server): Use logrus convenience functions for logs 2019-10-06 23:05:23 +01:00
layers refactor(server): Convert existing log entries to structured format 2019-10-06 23:05:23 +01:00
manifest fix(server): Use uncompressed tarball hashes in image config 2019-10-11 12:37:00 +01:00
default.nix feat(server): Use hash of Nixery source as version 2019-10-06 23:05:23 +01:00
go-deps.nix refactor(server): Replace log calls with logrus 2019-10-06 23:05:23 +01:00
logs.go feat(server): Add log level to severity mapping 2019-10-06 23:05:23 +01:00
main.go refactor(server): Use logrus convenience functions for logs 2019-10-06 23:05:23 +01:00