dependabot-preview[bot]
05ae513b18
Bump github.com/containers/buildah from 1.8.4 to 1.11.4
...
Bumps [github.com/containers/buildah](https://github.com/containers/buildah ) from 1.8.4 to 1.11.4.
- [Release notes](https://github.com/containers/buildah/releases )
- [Changelog](https://github.com/containers/buildah/blob/master/CHANGELOG.md )
- [Commits](https://github.com/containers/buildah/compare/v1.8.4...v1.11.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-11-02 07:41:01 +01:00
Daniel J Walsh
332bb459e6
Merge pull request #757 from containers/dependabot/go_modules/github.com/urfave/cli-1.22.1
...
Bump github.com/urfave/cli from 1.20.0 to 1.22.1
2019-11-01 13:36:04 -04:00
Daniel J Walsh
307d9c2252
Merge pull request #751 from giuseppe/drop-ostree
...
skopeo: drop support for ostree
2019-11-01 11:03:16 -04:00
Valentin Rothberg
1094c7d61d
Merge pull request #738 from mtrmac/inspect-aws-403
...
Don't critically fail on a 403 when listing tags
2019-11-01 15:05:25 +01:00
dependabot-preview[bot]
876595e634
Bump github.com/urfave/cli from 1.20.0 to 1.22.1
...
Bumps [github.com/urfave/cli](https://github.com/urfave/cli ) from 1.20.0 to 1.22.1.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/v1.22.1/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v1.20.0...v1.22.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-11-01 13:17:12 +01:00
Giuseppe Scrivano
140b47e8e9
skopeo: drop support for ostree
...
drop support for the ostree backend. The only known user for the
backend is the atomic CLI tool that is not maintained anymore
upstream.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1766404
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2019-11-01 12:42:06 +01:00
Miloslav Trmač
cd8c0085b1
Don't critically fail on a 403 when listing tags
...
Per a report in https://github.com/containers/skopeo/issues/726 ,
it can happen if the user is not allowed the ListImages action
on AWS ECR.
Signed-off-by: Miloslav Trmač <mitr@redhat.com >
2019-10-31 21:11:46 +01:00
Miloslav Trmač
75b7d1e2af
Merge pull request #753 from rhatdan/storage
...
Remove references to storage.conf
2019-10-31 21:11:20 +01:00
Daniel J Walsh
10d0ebb9fe
Merge pull request #754 from mtrmac/podman-login-consistency
...
Revert "Temporarily work around auth.json location confusion"
2019-10-31 14:40:10 -04:00
Daniel J Walsh
a18ec3f693
Merge pull request #639 from rhatdan/atomic
...
Remove references to atomic
2019-10-31 14:39:25 -04:00
Daniel J Walsh
02432cf063
Merge pull request #746 from chuanchang/issue729
...
systemtest: inpsect container image different from current platform arch
2019-10-31 13:39:47 -04:00
Miloslav Trmač
d83d081942
Revert "Temporarily work around auth.json location confusion"
...
This reverts commit 4962559e5c
.
Signed-off-by: Miloslav Trmač <mitr@redhat.com >
2019-10-31 17:33:39 +01:00
Daniel J Walsh
ce2db02200
Remove references to atomic
...
Move signature yaml file to point at /var/lib/containers/sigstore.
Change skopeo-copy.1 to use containers-storage and docker transports
rather then atomic.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2019-10-31 08:26:15 -04:00
Daniel J Walsh
df92a33ca9
Remove references to storage.conf
...
These are getting out of date and should be left in containers/storage.
If packagers need it then then should get it from that repo.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com >
2019-10-31 08:21:44 -04:00
Miloslav Trmač
153520e20e
Merge pull request #752 from giuseppe/fix-pkg-name
...
Dockerfile: use golang-github-cpuguy83-go-md2man
2019-10-30 13:23:31 +01:00
Giuseppe Scrivano
b21a59705f
Dockerfile: use golang-github-cpuguy83-go-md2man
...
the package was renamed on Fedora 31.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2019-10-30 08:12:51 +01:00
Daniel J Walsh
a263b353a1
Merge pull request #750 from vrothberg/release
...
Release v0.1.40
2019-10-28 13:59:27 -04:00
Valentin Rothberg
a18a5eaecd
bump version to v0.1.41-dev
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-10-28 17:16:31 +01:00
Valentin Rothberg
be6146b0a8
release skopeo v0.1.40
...
* vendor containers/image v5.0.0
* copy: add a --all/-a flag
* System tests: various fixes
* Temporarily work around auth.json location confusion
* systemtest: copy: docker->storage->oci-archive
* systemtest/010-inspect.bats: require only PATH
* systemtest: add simple env test in inspect.bats
* bash completion: add comments to keep scattered options in sync
* bash completion: use read -r instead of disabling SC2207
* bash completion: support --opt arg completion
* bash-completion: use replacement instead of sed
* bash completion: disable shellcheck SC2207
* bash completion: double-quote to avoid re-splitting
* bash completions: use bash replacement instead of sed
* bash completion: remove unused variable
* bash-completions: split decl and assignment to avoid masking retvals
* bash completion: double-quote fixes
* bash completion: hard-set PROG=skopeo
* bash completion: remove unused variable
* bash completion: use `||` instead of `-o`
* bash completion: rm eval on assigned variable
* copy: add --dest-compress-format and --dest-compress-level
* flag: add optionalIntValue
* Makefile: use go proxy
* inspect --raw: skip the NewImage() step
* update OCI image-spec to 775207bd45b6cb8153ce218cc59351799217451f
* inspect.go: inspect env variables
* ostree: use both image and & storage buildtags
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
v0.1.40
2019-10-28 17:16:18 +01:00
Miloslav Trmač
8057da700c
Merge pull request #749 from vrothberg/update-image
...
vendor containers/image v5.0.0
2019-10-28 14:40:46 +01:00
Valentin Rothberg
8f24d28130
vendor containers/image v5.0.0
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-10-28 10:37:46 +01:00
Alex Jia
2553a230d0
systemtest: inspect container image different from current platform arch
...
When --raw is provided, can inspect show the raw manifest list, w/o
requiring any particular platform to be present, this test case is
used for make sure inspect command w/ --raw option works well for
container image is different from current platform arch.
Signed-off-by: Alex Jia <chuanchang.jia@gmail.com >
2019-10-24 14:33:45 +08:00
Valentin Rothberg
4b6a5da86a
Merge pull request #741 from nalind/manifest-lists
...
copy: add a --all/-a flag
2019-10-22 17:54:22 +02:00
Nalin Dahyabhai
7d251f5a74
copy: add a --all/-a flag
...
Add a --all/-a flag to instruct us to attempt to copy all of the
instances in the source image, if the source image specified to "skopeo
copy" is actually a list of images. Previously, we'd just try to locate
one for our preferred OS/arch combination.
Add a couple of tests to verify that we can copy an image into and then
back out of containers-storage. The contents of an image that has been
copied out of containers-storage need a bit of tweaking to compensate
for containers-storage's habit of returning uncompressed versions of the
layer blobs that were originally written to it, in order to be
comparable to the image as it was when it was pulled from a registry.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com >
2019-10-22 11:05:42 -04:00
Valentin Rothberg
5f9a6ea621
Merge pull request #744 from edsantiago/bats
...
System tests: various fixes
2019-10-16 10:07:17 +02:00
Ed Santiago
58248412bd
System tests: various fixes
...
- zstd test - give unique name.
a36d81c
copy/pasted an existing test but didn't give
the new test a new name, leading to bats warning:
duplicate test name(s) in [...]/020-copy.bats
- start_registry() - use bash builtins, not curl, to test
if registry port is open.
curl on Fedora now barfs with "Received HTTP/0.9 when not
allowed" when the registry is run with SSL, because the
response is not valid HTTP. One workaround would be 'curl
--http0.9' but (surprise) that option doesn't exist on rhel8;
and even with that option we would need --output /dev/null
to silence a different curl warning. Curl is overkill
for this purpose anyway, all we really need is netcat
or some simple binary is-port-listening-or-not test.
Fortunately, bash provides a /dev/tcp/<host>/<port>
emulator that does the right thing and works on Fedora
as well as RHEL8.
- new log_and_run() helper
This is the noisiest yet least critical part of this PR.
I'm sorry. It's motivated by my frustration in trying
to reproduce the curl problem above: getting just the
right incantation of openssl + podman-run cost me time.
With this enhancement, important commands are logged
as part of the output of failing tests, making it
easy[*] for maintenance programmers to figure out a
recipe for reproducing the failure.
[*] "easy" as long as the test-writing developer
uses log_and_run() wisely.
Signed-off-by: Ed Santiago <santiago@redhat.com >
2019-10-15 15:59:14 -06:00
Mrunal Patel
5b0a7890ea
Merge pull request #742 from nalind/podman-workaround
...
Temporarily work around auth.json location confusion
2019-10-15 14:50:09 -07:00
Nalin Dahyabhai
4962559e5c
Temporarily work around auth.json location confusion
...
Temporarily work around https://github.com/containers/libpod/issues/4227
until Fedora has an updated packaged version of podman that includes
that fix, at which point we should revert this patch.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com >
2019-10-15 12:36:19 -04:00
Miloslav Trmač
f72e39fc10
Merge pull request #736 from mtrmac/integration
...
Update to c/image v4.0.1
2019-10-04 00:14:54 +02:00
Valentin Rothberg
7922028d7c
Update to c/image v4.0.1
...
Update to use the correct c/image/v4 import path, work originally from
https://github.com/containers/skopeo/pull/733 by Valentin Rothberg <rothberg@redhat.com >.
Signed-off-by: Miloslav Trmač <mitr@redhat.com >
2019-10-03 23:50:42 +02:00
Miloslav Trmač
881edbf122
Merge pull request #735 from vrothberg/734
...
systemtest: copy: docker->storage->oci-archive
2019-10-03 22:55:39 +02:00
Valentin Rothberg
51b54191a8
systemtest: copy: docker->storage->oci-archive
...
Add a systemtest copying an image from docker to storage and then to an
oci-archive. There are other ways to trigger the same code paths, but
this one has caught a regression in c/image in libpod's.
Fixes : #734
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-10-02 20:02:24 +02:00
Valentin Rothberg
fa6e58074d
Merge pull request #731 from vrothberg/inspect-test-fix
...
systemtest/010-inspect.bats: require only PATH
2019-09-30 16:43:30 +02:00
Valentin Rothberg
1c243a5b12
systemtest/010-inspect.bats: require only PATH
...
The "inspect: env" test started failing since the environment in the
`fedora:latest` image has changed. Hence, only check for `PATH` in
the image's environment which is a defacto standard.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-30 15:31:14 +02:00
Daniel J Walsh
7eb5f39255
Merge pull request #717 from chuanchang/inspect_env_test
...
systemtest: add simple env test in inspect.bats
2019-09-18 09:33:15 -04:00
Alex Jia
8d1bb15075
systemtest: add simple env test in inspect.bats
...
Signed-off-by: Alex Jia <chuanchang.jia@gmail.com >
2019-09-18 10:35:27 +08:00
Miloslav Trmač
5ae6b16c0f
Merge pull request #713 from vrothberg/shellcheck
...
Shellcheck fixes
2019-09-07 18:14:28 +02:00
Valentin Rothberg
8c96dca362
bash completion: add comments to keep scattered options in sync
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-06 16:23:34 +02:00
Valentin Rothberg
1d8f5f29a5
bash completion: use read -r instead of disabling SC2207
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
b31f0da5c6
bash completion: support --opt arg completion
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
a02e57dde8
bash-completion: use replacement instead of sed
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
a000c1943d
bash completion: disable shellcheck SC2207
...
Disabling SC2207 to continue setting COMPREPLY.
https://github.com/koalaman/shellcheck/wiki/SC2207
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
86e3564356
bash completion: double-quote to avoid re-splitting
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
c61a5ea2c4
bash completions: use bash replacement instead of sed
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
89bb6158eb
bash completion: remove unused variable
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
646e197eed
bash-completions: split decl and assignment to avoid masking retvals
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
699c25568c
bash completion: double-quote fixes
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
0c579aca9c
bash completion: hard-set PROG=skopeo
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
bc8281c016
bash completion: remove unused variable
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00
Valentin Rothberg
91510e39ab
bash completion: use ||
instead of -o
...
Signed-off-by: Valentin Rothberg <rothberg@redhat.com >
2019-09-03 13:00:25 +02:00