mirror of
https://github.com/containers/podman.git
synced 2025-12-11 09:18:34 +08:00
Bump Buildah to v1.18.0, c/storage to v1.24.0
Update to Buildah v1.18.0 and c/storage to v1.24 Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
This commit is contained in:
32
vendor/github.com/containers/buildah/CHANGELOG.md
generated
vendored
32
vendor/github.com/containers/buildah/CHANGELOG.md
generated
vendored
@@ -2,6 +2,38 @@
|
||||
|
||||
# Changelog
|
||||
|
||||
## v1.18.0 (2020-11-16)
|
||||
Fix testing error caused by simultanious merge
|
||||
Vendor in containers/storage v1.24.0
|
||||
short-names aliasing
|
||||
Add --policy flag to buildah pull
|
||||
Stop overwrapping and stuttering
|
||||
copier.Get(): ignore ENOTSUP/ENOSYS when listing xattrs
|
||||
Run: don't forcibly disable UTS namespaces in rootless mode
|
||||
test: ensure non-directory in a Dockerfile path is handled correctly
|
||||
Add a few tests for `pull` command
|
||||
Fix buildah config --cmd to handle array
|
||||
build(deps): bump github.com/containers/storage from 1.23.8 to 1.23.9
|
||||
Fix NPE when Dockerfile path contains non-directory entries
|
||||
Update buildah bud man page from podman build man page
|
||||
Move declaration of decryption-keys to common cli
|
||||
Run: correctly call copier.Mkdir
|
||||
util: digging UID/GID out of os.FileInfo should work on Unix
|
||||
imagebuildah.getImageTypeAndHistoryAndDiffIDs: cache results
|
||||
Verify userns-uid-map and userns-gid-map input
|
||||
Use CPP, CC and flags in dep check scripts
|
||||
Avoid overriding LDFLAGS in Makefile
|
||||
ADD: handle --chown on URLs
|
||||
Update nix pin with `make nixpkgs`
|
||||
(*Builder).Run: MkdirAll: handle EEXIST error
|
||||
copier: try to force loading of nsswitch modules before chroot()
|
||||
fix MkdirAll usage
|
||||
build(deps): bump github.com/containers/common from 0.26.2 to 0.26.3
|
||||
build(deps): bump github.com/containers/storage from 1.23.7 to 1.23.8
|
||||
Use osusergo build tag for static build
|
||||
imagebuildah: cache should take image format into account
|
||||
Bump to v1.18.0-dev
|
||||
|
||||
## v1.17.0 (2020-10-29)
|
||||
Handle cases where other tools mount/unmount containers
|
||||
overlay.MountReadOnly: support RO overlay mounts
|
||||
|
||||
2
vendor/github.com/containers/buildah/buildah.go
generated
vendored
2
vendor/github.com/containers/buildah/buildah.go
generated
vendored
@@ -28,7 +28,7 @@ const (
|
||||
Package = "buildah"
|
||||
// Version for the Package. Bump version in contrib/rpm/buildah.spec
|
||||
// too.
|
||||
Version = "1.18.0-dev"
|
||||
Version = "1.18.0"
|
||||
// The value we use to identify what type of information, currently a
|
||||
// serialized Builder structure, we are using as per-container state.
|
||||
// This should only be changed when we make incompatible changes to
|
||||
|
||||
32
vendor/github.com/containers/buildah/changelog.txt
generated
vendored
32
vendor/github.com/containers/buildah/changelog.txt
generated
vendored
@@ -1,3 +1,35 @@
|
||||
- Changelog for v1.18.0 (2020-11-16)
|
||||
* Fix testing error caused by simultanious merge
|
||||
* Vendor in containers/storage v1.24.0
|
||||
* short-names aliasing
|
||||
* Add --policy flag to buildah pull
|
||||
* Stop overwrapping and stuttering
|
||||
* copier.Get(): ignore ENOTSUP/ENOSYS when listing xattrs
|
||||
* Run: don't forcibly disable UTS namespaces in rootless mode
|
||||
* test: ensure non-directory in a Dockerfile path is handled correctly
|
||||
* Add a few tests for `pull` command
|
||||
* Fix buildah config --cmd to handle array
|
||||
* build(deps): bump github.com/containers/storage from 1.23.8 to 1.23.9
|
||||
* Fix NPE when Dockerfile path contains non-directory entries
|
||||
* Update buildah bud man page from podman build man page
|
||||
* Move declaration of decryption-keys to common cli
|
||||
* Run: correctly call copier.Mkdir
|
||||
* util: digging UID/GID out of os.FileInfo should work on Unix
|
||||
* imagebuildah.getImageTypeAndHistoryAndDiffIDs: cache results
|
||||
* Verify userns-uid-map and userns-gid-map input
|
||||
* Use CPP, CC and flags in dep check scripts
|
||||
* Avoid overriding LDFLAGS in Makefile
|
||||
* ADD: handle --chown on URLs
|
||||
* Update nix pin with `make nixpkgs`
|
||||
* (*Builder).Run: MkdirAll: handle EEXIST error
|
||||
* copier: try to force loading of nsswitch modules before chroot()
|
||||
* fix MkdirAll usage
|
||||
* build(deps): bump github.com/containers/common from 0.26.2 to 0.26.3
|
||||
* build(deps): bump github.com/containers/storage from 1.23.7 to 1.23.8
|
||||
* Use osusergo build tag for static build
|
||||
* imagebuildah: cache should take image format into account
|
||||
* Bump to v1.18.0-dev
|
||||
|
||||
- Changelog for v1.17.0 (2020-10-29)
|
||||
* Handle cases where other tools mount/unmount containers
|
||||
* overlay.MountReadOnly: support RO overlay mounts
|
||||
|
||||
11
vendor/github.com/containers/buildah/define/types.go
generated
vendored
11
vendor/github.com/containers/buildah/define/types.go
generated
vendored
@@ -1,6 +1,8 @@
|
||||
package define
|
||||
|
||||
import "fmt"
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// PullPolicy takes the value PullIfMissing, PullAlways, PullIfNewer, or PullNever.
|
||||
type PullPolicy int
|
||||
@@ -39,3 +41,10 @@ func (p PullPolicy) String() string {
|
||||
}
|
||||
return fmt.Sprintf("unrecognized policy %d", p)
|
||||
}
|
||||
|
||||
var PolicyMap = map[string]PullPolicy{
|
||||
"missing": PullIfMissing,
|
||||
"always": PullAlways,
|
||||
"never": PullNever,
|
||||
"ifnewer": PullIfNewer,
|
||||
}
|
||||
|
||||
2
vendor/github.com/containers/buildah/go.mod
generated
vendored
2
vendor/github.com/containers/buildah/go.mod
generated
vendored
@@ -8,7 +8,7 @@ require (
|
||||
github.com/containers/common v0.26.3
|
||||
github.com/containers/image/v5 v5.8.0
|
||||
github.com/containers/ocicrypt v1.0.3
|
||||
github.com/containers/storage v1.23.9
|
||||
github.com/containers/storage v1.24.0
|
||||
github.com/docker/distribution v2.7.1+incompatible
|
||||
github.com/docker/docker v17.12.0-ce-rc1.0.20201020191947-73dc6a680cdd+incompatible // indirect
|
||||
github.com/docker/go-units v0.4.0
|
||||
|
||||
6
vendor/github.com/containers/buildah/go.sum
generated
vendored
6
vendor/github.com/containers/buildah/go.sum
generated
vendored
@@ -22,6 +22,8 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym
|
||||
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
|
||||
github.com/Microsoft/go-winio v0.4.15-0.20200113171025-3fe6c5262873 h1:93nQ7k53GjoMQ07HVP8g6Zj1fQZDDj7Xy2VkNNtvX8o=
|
||||
github.com/Microsoft/go-winio v0.4.15-0.20200113171025-3fe6c5262873/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
|
||||
github.com/Microsoft/go-winio v0.4.15 h1:qkLXKzb1QoVatRyd/YlXZ/Kg0m5K3SPuoD82jjSOaBc=
|
||||
github.com/Microsoft/go-winio v0.4.15/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
|
||||
github.com/Microsoft/hcsshim v0.8.9 h1:VrfodqvztU8YSOvygU+DN1BGaSGxmrNfqOv5oOuX2Bk=
|
||||
github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8=
|
||||
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
|
||||
@@ -83,8 +85,8 @@ github.com/containers/ocicrypt v1.0.3 h1:vYgl+RZ9Q3DPMuTfxmN+qp0X2Bj52uuY2vnt6Gz
|
||||
github.com/containers/ocicrypt v1.0.3/go.mod h1:CUBa+8MRNL/VkpxYIpaMtgn1WgXGyvPQj8jcy0EVG6g=
|
||||
github.com/containers/storage v1.23.6/go.mod h1:haFs0HRowKwyzvWEx9EgI3WsL8XCSnBDb5f8P5CAxJY=
|
||||
github.com/containers/storage v1.23.7/go.mod h1:cUT2zHjtx+WlVri30obWmM2gpqpi8jfPsmIzP1TVpEI=
|
||||
github.com/containers/storage v1.23.9 h1:qbgnTp76pLSyW3vYwY5GH4vk5cHYVXFJ+CsUEBp9TMw=
|
||||
github.com/containers/storage v1.23.9/go.mod h1:3b2ktpB6pw53SEeIoFfO0sQfP9+IoJJKPq5iJk74gxE=
|
||||
github.com/containers/storage v1.24.0 h1:Fo2LkF7tkMLmo38sTZ/G8wHjcn8JfUFPfyTxM4WwMfk=
|
||||
github.com/containers/storage v1.24.0/go.mod h1:A4d3BzuZK9b3oLVEsiSRhZLPIx3z7utgiPyXLK/YMhY=
|
||||
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
|
||||
github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
||||
github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
|
||||
|
||||
2
vendor/github.com/containers/buildah/import.go
generated
vendored
2
vendor/github.com/containers/buildah/import.go
generated
vendored
@@ -154,7 +154,7 @@ func importBuilderFromImage(ctx context.Context, store storage.Store, options Im
|
||||
|
||||
_, img, err := util.FindImage(store, "", systemContext, options.Image)
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "error locating image %q for importing settings", options.Image)
|
||||
return nil, errors.Wrapf(err, "importing settings")
|
||||
}
|
||||
|
||||
builder, err := importBuilderDataFromImage(ctx, store, systemContext, img.ID, "", "")
|
||||
|
||||
3
vendor/github.com/containers/buildah/pull.go
generated
vendored
3
vendor/github.com/containers/buildah/pull.go
generated
vendored
@@ -60,6 +60,8 @@ type PullOptions struct {
|
||||
// OciDecryptConfig contains the config that can be used to decrypt an image if it is
|
||||
// encrypted if non-nil. If nil, it does not attempt to decrypt an image.
|
||||
OciDecryptConfig *encconfig.DecryptConfig
|
||||
// PullPolicy takes the value PullIfMissing, PullAlways, PullIfNewer, or PullNever.
|
||||
PullPolicy PullPolicy
|
||||
}
|
||||
|
||||
func localImageNameForReference(ctx context.Context, store storage.Store, srcRef types.ImageReference) (string, error) {
|
||||
@@ -169,6 +171,7 @@ func Pull(ctx context.Context, imageName string, options PullOptions) (imageID s
|
||||
MaxPullRetries: options.MaxRetries,
|
||||
PullRetryDelay: options.RetryDelay,
|
||||
OciDecryptConfig: options.OciDecryptConfig,
|
||||
PullPolicy: options.PullPolicy,
|
||||
}
|
||||
|
||||
if !options.AllTags {
|
||||
|
||||
Reference in New Issue
Block a user