about summary refs log tree commit diff
path: root/tools/nixery/server/builder/archive.go
AgeCommit message (Collapse)AuthorFilesLines
2019-10-11 fix(server): Use uncompressed tarball hashes in image configVincent Ambo1-6/+13
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 feat(server): Apply GZIP compression to all image layersVincent Ambo1-4/+10
This fixes #62
2019-10-06 refactor(server): Convert existing log entries to structured formatVincent Ambo1-2/+0
This rewrites all existing log statements into the structured logrus format. For consistency, all errors are always logged separately from the primary message in a field called `error`. Only the "info", "error" and "warn" severities are used.
2019-10-06 fix(server): Amend package path for Go tooling compatibilityVincent Ambo1-1/+1
With these changes it is possible to keep Nixery in $GOPATH and build the server in there, while still having things work correctly via Nix.
2019-10-06 refactor(server): Replace log calls with logrusVincent Ambo1-1/+1
This introduces a structured logging library that can be used (next step) to attach additional metadata to log entries.
2019-10-03 feat(server): Implement creation of layer tarballs in the serverVincent Ambo1-0/+92
This will create, upload and hash the layer tarballs in one disk read.