Update containers/storage to v1.15.4
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
fcd48db4d2
commit
6dfffa92d9
2
go.mod
2
go.mod
|
|
@ -14,7 +14,7 @@ require (
|
||||||
github.com/containers/conmon v2.0.2+incompatible // indirect
|
github.com/containers/conmon v2.0.2+incompatible // indirect
|
||||||
github.com/containers/image/v5 v5.1.0
|
github.com/containers/image/v5 v5.1.0
|
||||||
github.com/containers/psgo v1.4.0
|
github.com/containers/psgo v1.4.0
|
||||||
github.com/containers/storage v1.15.3
|
github.com/containers/storage v1.15.4
|
||||||
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
|
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
|
||||||
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
|
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
|
||||||
github.com/cri-o/ocicni v0.1.1-0.20190920040751-deac903fd99b
|
github.com/cri-o/ocicni v0.1.1-0.20190920040751-deac903fd99b
|
||||||
|
|
|
||||||
2
go.sum
2
go.sum
|
|
@ -112,6 +112,8 @@ github.com/containers/storage v1.15.2 h1:hLgafU4tuyQk/smMkXZfHTS8FtAQsqQvfWCp4bs
|
||||||
github.com/containers/storage v1.15.2/go.mod h1:v0lq/3f+cXH3Y/HiDaFYRR0zilwDve7I4W7U5xQxvF8=
|
github.com/containers/storage v1.15.2/go.mod h1:v0lq/3f+cXH3Y/HiDaFYRR0zilwDve7I4W7U5xQxvF8=
|
||||||
github.com/containers/storage v1.15.3 h1:+lFSQZnnKUFyUEtguIgdoQLJfWSuYz+j/wg5GxLtsN4=
|
github.com/containers/storage v1.15.3 h1:+lFSQZnnKUFyUEtguIgdoQLJfWSuYz+j/wg5GxLtsN4=
|
||||||
github.com/containers/storage v1.15.3/go.mod h1:v0lq/3f+cXH3Y/HiDaFYRR0zilwDve7I4W7U5xQxvF8=
|
github.com/containers/storage v1.15.3/go.mod h1:v0lq/3f+cXH3Y/HiDaFYRR0zilwDve7I4W7U5xQxvF8=
|
||||||
|
github.com/containers/storage v1.15.4 h1:eiUtV9MOTnPHibO18nDRI+aDhKudY7WmAiJdyVMsqSM=
|
||||||
|
github.com/containers/storage v1.15.4/go.mod h1:v0lq/3f+cXH3Y/HiDaFYRR0zilwDve7I4W7U5xQxvF8=
|
||||||
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
||||||
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
|
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
|
||||||
github.com/coreos/go-iptables v0.4.2 h1:KH0EwId05JwWIfb96gWvkiT2cbuOu8ygqUaB+yPAwIg=
|
github.com/coreos/go-iptables v0.4.2 h1:KH0EwId05JwWIfb96gWvkiT2cbuOu8ygqUaB+yPAwIg=
|
||||||
|
|
|
||||||
|
|
@ -34,9 +34,11 @@ BUILDFLAGS := -tags "$(AUTOTAGS) $(TAGS)" $(FLAGS)
|
||||||
GO ?= go
|
GO ?= go
|
||||||
|
|
||||||
GO_BUILD=$(GO) build
|
GO_BUILD=$(GO) build
|
||||||
|
GO_TEST=$(GO) test
|
||||||
# Go module support: set `-mod=vendor` to use the vendored sources
|
# Go module support: set `-mod=vendor` to use the vendored sources
|
||||||
ifeq ($(shell $(GO) help mod >/dev/null 2>&1 && echo true), true)
|
ifeq ($(shell $(GO) help mod >/dev/null 2>&1 && echo true), true)
|
||||||
GO_BUILD=GO111MODULE=on $(GO) build -mod=vendor
|
GO_BUILD=GO111MODULE=on $(GO) build -mod=vendor
|
||||||
|
GO_TEST=GO111MODULE=on $(GO) test -mod=vendor
|
||||||
endif
|
endif
|
||||||
|
|
||||||
RUNINVM := vagrant/runinvm.sh
|
RUNINVM := vagrant/runinvm.sh
|
||||||
|
|
@ -95,7 +97,7 @@ test: local-binary ## build the binaries and run the tests using VMs
|
||||||
$(RUNINVM) make local-binary local-cross local-test-unit local-test-integration
|
$(RUNINVM) make local-binary local-cross local-test-unit local-test-integration
|
||||||
|
|
||||||
local-test-unit: local-binary ## run the unit tests on the host (requires\nsuperuser privileges)
|
local-test-unit: local-binary ## run the unit tests on the host (requires\nsuperuser privileges)
|
||||||
@$(GO) test $(BUILDFLAGS) $(shell $(GO) list ./... | grep -v ^$(PACKAGE)/vendor)
|
@$(GO_TEST) $(BUILDFLAGS) $(shell $(GO) list ./... | grep -v ^$(PACKAGE)/vendor)
|
||||||
|
|
||||||
test-unit: local-binary ## run the unit tests using VMs
|
test-unit: local-binary ## run the unit tests using VMs
|
||||||
$(RUNINVM) make local-$@
|
$(RUNINVM) make local-$@
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
1.15.3
|
1.15.4
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ func EnsureRemoveAll(dir string) error {
|
||||||
|
|
||||||
// track retries
|
// track retries
|
||||||
exitOnErr := make(map[string]int)
|
exitOnErr := make(map[string]int)
|
||||||
maxRetry := 5
|
maxRetry := 100
|
||||||
|
|
||||||
// Attempt to unmount anything beneath this dir first
|
// Attempt to unmount anything beneath this dir first
|
||||||
mount.RecursiveUnmount(dir)
|
mount.RecursiveUnmount(dir)
|
||||||
|
|
|
||||||
|
|
@ -2479,6 +2479,10 @@ func (s *store) Mount(id, mountLabel string) (string, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.graphLock.Lock()
|
||||||
|
defer s.graphLock.Unlock()
|
||||||
|
|
||||||
rlstore.Lock()
|
rlstore.Lock()
|
||||||
defer rlstore.Unlock()
|
defer rlstore.Unlock()
|
||||||
if modified, err := rlstore.Modified(); modified || err != nil {
|
if modified, err := rlstore.Modified(); modified || err != nil {
|
||||||
|
|
@ -2486,6 +2490,18 @@ func (s *store) Mount(id, mountLabel string) (string, error) {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* We need to make sure the home mount is present when the Mount is done. */
|
||||||
|
if s.graphLock.TouchedSince(s.lastLoaded) {
|
||||||
|
s.graphDriver = nil
|
||||||
|
s.layerStore = nil
|
||||||
|
s.graphDriver, err = s.getGraphDriver()
|
||||||
|
if err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
|
s.lastLoaded = time.Now()
|
||||||
|
}
|
||||||
|
|
||||||
if rlstore.Exists(id) {
|
if rlstore.Exists(id) {
|
||||||
options := drivers.MountOpts{
|
options := drivers.MountOpts{
|
||||||
MountLabel: mountLabel,
|
MountLabel: mountLabel,
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ github.com/containers/psgo/internal/dev
|
||||||
github.com/containers/psgo/internal/host
|
github.com/containers/psgo/internal/host
|
||||||
github.com/containers/psgo/internal/proc
|
github.com/containers/psgo/internal/proc
|
||||||
github.com/containers/psgo/internal/process
|
github.com/containers/psgo/internal/process
|
||||||
# github.com/containers/storage v1.15.3
|
# github.com/containers/storage v1.15.4
|
||||||
github.com/containers/storage
|
github.com/containers/storage
|
||||||
github.com/containers/storage/drivers
|
github.com/containers/storage/drivers
|
||||||
github.com/containers/storage/drivers/aufs
|
github.com/containers/storage/drivers/aufs
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue