Derek McGowan
526c0db693
Support target snapshot references on prepare
...
Allows backend snapshots to bring existing snapshots into
a namespace without requiring clients to fully snapshots
when the target reference is known. Backend snapshots must
explicitly implement this functionality, it is equivalent
to sharing across namespaces and is up to the backend to
use the label when it is given or ignore it.
This enables remote snapshot functionality for a backend to
query for a target snapshot before a client has performed
any work to create that snapshot.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-11-25 10:07:25 -08:00
Derek McGowan
d1261b5087
Update snapshot parent filter property to always exist
...
The parent property may be empty but always exists.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-11-25 10:07:25 -08:00
Wei Fu
383f4a77ee
Merge pull request #3842 from estesp/update-x-sys-vendor
...
Update golang.org/x/sys to recent commit
2019-11-23 23:25:18 +08:00
Phil Estes
11ef041ff4
Update golang.org/x/sys to recent commit
...
This prepares us to be able to update docker/docker vendoring to a
recent commit.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-11-22 19:34:38 -05:00
Michael Crosby
c3b1bc931b
Merge pull request #3836 from egernst/devmapper-docs-update
...
devmapper: update example base image size in README
2019-11-22 14:35:19 -05:00
Phil Estes
c68848f69b
Merge pull request #3830 from fahedouch/spec_test
...
improve oci test coverage
2019-11-22 10:05:24 -08:00
fahedouch
afd33bce81
test add tests to spec_opts
...
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
test func WithDefaultPathEnv & WithDefaultSpecForPlatform
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
fix nil context
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
[test] TTY information && ProcessCwd
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
fix TestWithTTYSize value
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
test WithUserNamespace sets the uid and gid mappings for the task
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
format test file
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
update TestWithUserNamespace check condition
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
relaunch ci
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
improve spec_opts_test test coverage
Signed-off-by: fahedouch <fahed.dorgaa@gmail.com>
2019-11-22 18:16:36 +01:00
Eric Ernst
731e144a48
devmapper: update example base image size in README
...
base_image_size effectively is the limit of a layer size that can be
created using the devmapper snapshotter. While this will also depend on
the thinpool size itself, something closer to the total image size
(80%?) is more appropriate.
As is, if you try to run an image like elastic, you'll need a much
larger base_image_size than 128MB.
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-11-20 12:26:16 -08:00
Phil Estes
499f346be3
Merge pull request #3832 from darfux/improve_image_is_unpacked_test
...
test: Do SynchronousDelete cleanup before testing ImageIsUnpacked
2019-11-18 21:19:15 +01:00
Michael Crosby
31ea7b4ede
Merge pull request #3831 from Random-Liu/add-windows-log-file
...
Add `--log-file` flag for windows service.
2019-11-18 15:00:44 -05:00
Phil Estes
2e293874f1
Merge pull request #3825 from Random-Liu/fix-unpacker
...
Avoid deadlock in unpacker.
2019-11-18 20:40:45 +01:00
Li Yuxuan
19f7f3ccc4
test: Do SynchronousDelete cleanup before testing ImageIsUnpacked
...
Simply delete the image will not clean up the snapshots.
Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com>
2019-11-17 11:01:35 +08:00
Lantao Liu
0bb48aef07
Add --log-file
flag for windows service.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-11-15 16:57:39 -08:00
Lantao Liu
c560591627
Avoid deadlock in unpacker.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-11-15 14:01:37 -08:00
Akihiro Suda
ec661e8ceb
Merge pull request #3829 from mxpv/cross
...
Cross-build nightly builds (arm64, s390x, ppc64el)
2019-11-15 13:13:45 +09:00
Maksym Pavlenko
32ef2e6305
Update README
...
Add "Nightly builds" section and status badge.
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-11-14 15:48:02 -08:00
Maksym Pavlenko
82651d3867
Cross build nightly builds (arm64, s390x, ppc64el)
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-11-14 15:29:56 -08:00
Michael Crosby
d7ec45b172
Merge pull request #3826 from lumjjb/add_unpack_opt
...
Add client unpack opts
2019-11-14 11:44:20 -05:00
Michael Crosby
bc62a829ac
Merge pull request #3827 from mxpv/nightly
...
containerd binaries nightly builds
2019-11-14 11:14:13 -05:00
Maksym Pavlenko
c479156b81
Add Github workflow for nightly builds
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-11-13 18:03:35 -08:00
Brandon Lum
856ea30556
Add client unpack opts
...
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
2019-11-13 20:32:55 -05:00
Derek McGowan
a176179a08
Merge pull request #3785 from Random-Liu/support-disk-usage-windows
...
Support disk usage in windows snapshot.
2019-11-12 14:40:38 -08:00
Phil Estes
2a60547b4e
Merge pull request #3823 from Random-Liu/better-support-windows-build
...
Better support windows binaries.
2019-11-12 22:47:37 +01:00
Lantao Liu
3db1c3b8f4
Better support windows binaries.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-11-12 11:52:49 -08:00
Maksym Pavlenko
95de2655a7
Merge pull request #3819 from fuweid/me-return-error
...
snapshots: return error if readSnapshot fails
2019-11-11 11:08:28 -08:00
Michael Crosby
08d4231f57
Merge pull request #3818 from shizhMSFT/fix_ref
...
Fix panic on reference.Spec.Hostname()
2019-11-11 08:01:23 -05:00
Wei Fu
843423ec38
snapshots: return error if readSnapshot fails
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2019-11-11 17:53:44 +08:00
Wei Fu
2c1d0880bb
Merge pull request #3810 from thaJeztah/update_mailmap
...
Update .mailmap to reduce duplicates
2019-11-11 14:47:23 +08:00
Wei Fu
01047edea6
Merge pull request #3814 from rll2396/bug-3813
...
Fix dependency in BUILDING.md
2019-11-11 14:13:55 +08:00
Wei Fu
f684e5a775
Merge pull request #3815 from estesp/fix-Dockerfile
...
Update name for btrfs headers package
2019-11-11 14:12:27 +08:00
Shiwei Zhang
5bf2c6fc25
Fix panic on reference.Spec.Hostname()
...
Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
2019-11-11 13:53:31 +08:00
Maksym Pavlenko
d1bcb4beea
Merge pull request #3620 from thaJeztah/update_go_1.13
...
Update to Golang 1.13.4
2019-11-10 10:56:21 -08:00
Phil Estes
fda652be5a
Update name for btrfs headers package
...
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-11-09 15:22:35 -05:00
unknown
a647407ca0
Fix dependency in BUILDING.md
...
btrfs/ioctl.h is now included in libbtrfs-dev instead of btrfs-tools.
Update BUILDING.md Dockerfile to install the correct dependency.
Resolves : #3813
Signed-off-by: Reid Li <reid.li@utexas.edu>
2019-11-09 12:22:53 -06:00
Sebastiaan van Stijn
608791bfc3
Update to Golang 1.13.4
...
go1.13.4 (released 2019/10/31) includes fixes to the net/http and syscall
packages. It also fixes an issue on macOS 10.15 Catalina where the non-
notarized installer and binaries were being rejected by Gatekeeper.
See the Go 1.13.4 milestone on the issue tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.13.4
Update to Golang 1.13.3:
go1.13.3 (released 2019/10/17) includes fixes to the go command, the toolchain,
the runtime, syscall, net, net/http, and crypto/ecdsa packages. See the Go
1.13.3 milestone on the issue tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.13.3
Update to Golang 1.13.2:
go1.13.2 (released 2019/10/17) includes security fixes to the crypto/dsa
package and the compiler. See the Go 1.13.2 milestone on the issue tracker
for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.13.2
Update to Golang 1.13.1:
go1.13.1 (released 2019/09/25) includes security fixes to the
net/http and net/textproto packages. See the Go 1.13.1 milestone
on the issue tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.13.1
Update to Golang 1.13.0:
Full diff: https://github.com/golang/go/compare/go1.12.9...go1.13
Milestone: https://github.com/golang/go/milestone/83?closed=1
Today the Go team is very happy to announce the release of Go 1.13. You can get it
from the download page.
Some of the highlights include:
- The go command now downloads and authenticates modules using the Go module
mirror and Go checksum database by default (https://golang.org/doc/go1.13#introduction )
- Improvements to number literals (https://golang.org/doc/go1.13#language )
- Error wrapping (https://golang.org/doc/go1.13#error_wrapping )
- TLS 1.3 on by default (https://golang.org/doc/go1.13#tls_1_3 )
- Improved modules support (https://golang.org/doc/go1.13#modules )
For the complete list of changes and more information about the improvements above,
see the Go 1.13 release notes: https://golang.org/doc/go1.13
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-11-08 13:26:59 -08:00
Sebastiaan van Stijn
cfb425fc10
Update .mailmap to reduce duplicates
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-11-08 11:41:54 -08:00
Michael Crosby
40ac9239a8
Merge pull request #3806 from thaJeztah/bump_golang_1.12.13
...
Update to Golang 1.12.13
2019-11-08 14:35:33 -05:00
Sebastiaan van Stijn
15669a1d34
Update to Golang 1.12.13
...
go1.12.13 (released 2019/10/31) fixes an issue on macOS 10.15 Catalina
where the non-notarized installer and binaries were being rejected by
Gatekeeper. Only macOS users who hit this issue need to update.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-11-08 10:28:40 -08:00
Phil Estes
1e12854831
Merge pull request #3805 from AkihiroSuda/ctr-shim2-runc-flags
...
ctr: add --runc-binary --runc-systemd-cgroup
2019-11-08 11:11:39 -05:00
Akihiro Suda
8f74de9e9e
ctr: allow specifying --runc-systemd-cgroup
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-11-08 14:06:08 +09:00
Akihiro Suda
7f5d900769
ctr: allow specifying --runc-binary
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-11-08 14:06:08 +09:00
Maksym Pavlenko
c038a7c4b1
Merge pull request #3803 from crosbymichael/proto-paths
...
Add proto path /usr/include to Protobuild
2019-11-07 12:48:27 -08:00
Michael Crosby
0f4374169e
Add proto path /usr/include to Protobuild
...
This fixes proto compiles on alpine based systems.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-11-07 14:36:54 -05:00
Michael Crosby
c80fa7df17
Merge pull request #3801 from jneuhauser/arch-mips
...
mips: -buildmode=pie is not supported for the mips arch
2019-11-06 07:27:47 -05:00
Johann Neuhauser
4c99c81326
mips: -buildmode=pie is not supported for the mips arch
...
Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
2019-11-06 12:50:58 +01:00
Michael Crosby
356702098d
Merge pull request #3798 from estesp/common-indentifiers
...
Common identifiers validation
2019-11-05 07:08:02 -05:00
Phil Estes
fdf7a795bc
Clarify requirements for identifiers validation
...
Fix commentary to be clear that the RFC1035 2.3.1 rules are not
explicitly enforced by the identifiers regex.
Add a test to show the lessened restrictions for digits to follow hyphen
and period.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-11-04 21:22:10 -05:00
Phil Estes
76aa4e546e
Use common identifiers package with less restrictive regex
...
Regular expressions in the namespaces package are redundant with the
pre-existing validator in the "identifiers" package; replace this custom
usage with the validator in "identifiers"
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-11-04 21:22:01 -05:00
Derek McGowan
4d7739527e
Merge pull request #3796 from crosbymichael/cgo
...
Add CGO makefile flag
2019-11-04 14:28:38 -08:00
Michael Crosby
84879b7c48
Add CGO makefile flag
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-11-04 16:25:58 -05:00