Commit Graph

16 Commits

Author SHA1 Message Date
Chen Qi
ce03a8868f skopeo: clean up depends and fix CGO settings
According to https://github.com/containers/skopeo/blob/main/install.md#building-from-source,
the ostree dependency is not needed.

Also, adjust the CGO_CFLAGS and CGO_LDFALGS to use target
flags instead of the SDK ones.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-06-20 12:09:46 -04:00
Bruce Ashfield
3b75599096 skopeo: update to 1.6.1
Bumping skopeo to version v1.6.1-10-g3e2defd6, which comprises the following commits:

    52002728 Update github.com/containerd/containerd
    0ad25b2d Bump github.com/containers/image/v5 from 5.19.1 to 5.20.0
    8cbfcc82 do not recommend upgrading all packages
    370be7e7 Improve a comment in the 010-inspect.bats test
    73edfb82 Move to v1.7.0-dev
    49084d2c Bump to v1.6.1
    23183072 Work around systemd-resolved's handling of .invalid domains
    3be97ce2 Beautify a few calls
    49d9fa9f Only look for the layer digests in the Layers field.
    77363128 Don't expect the config blob to be listed in (skopeo inspect)
    0f363498 Cirrus: Use updated VM images
    27b77f2b Bump c/common to v0.47.4
    de714082 tests: skip sif test on RHEL
    697ef595 Bump to v1.6.1-dev
    e4b79d77 Release v1.6.0
    162bbab3 Bump version of containers/image and containers/common
    004519f1 Improve the documentation of boolean flags
    9db60ec0 Document where various fields of (skopeo inspect) come from
    cb74933b Improve the documentation of the argument to (skopeo inspect)
    7f4db3db Update vendor of containers/storage and containers/common
    a4476c35 add a SIF systemtest
    042f4816 Update vendor of containers/common
    bd8ed664 Github workflow: Fix yaml syntax
    b51707d5 Bump github.com/containers/storage from 1.38.0 to 1.38.1
    bb49923a prompt-less signing via passphrase file
    cd58349b Github-workflow: Report both failures and errors
    2858904e Run codespell on code
    923c58a8 Update the vendor of containers/common
    1bf18b7e Bump github.com/containers/storage from 1.37.0 to 1.38.0
    d32c56b4 Update github.com/containerd/containerd to 1.5.9
    6007e792 Fix the pseudo-version of github.com/opencontainers/image-spec
    5aa06a51 Update github.com/opencontainers/runc to v1.0.3
    f6a84289 Bump github.com/spf13/cobra from 1.2.1 to 1.3.0
    c5b45c6c Bump github.com/docker/docker
    c582c484 Add option to preserve digests on copy
    2046bfda Add option to preserve digests on copy
    e7dc5e79 proxy: Also bump compatible semver
    3606b2d1 proxy: Add a GetFullConfig method
    5c82c772 Update github.com/containerd/containerd to v1.5.8
    37d801c9 Update opencontainers/image-spec
    d9401546 Add an option to allow copying image indexes alone
    4dcd28df Use a dynamic temp dir for test

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-21 17:31:28 -04:00
Bruce Ashfield
0846bddaef skopeo: update to v1.5.2
Bumping skopeo to version v1.5.2-3-g1d24e657, which comprises the following commits:

    4dcd28df Use a dynamic temp dir for test
    789ee8be Bump to 1.5.3-dev
    8a88191c Release 1.5.2
    69728fdf Update to c/image v5.17.0
    47066f2d Cirrus: Bump Fedora to release 35 & Ubuntu to 21.10
    adfa1d4e Bump github.com/docker/docker
    05a2ed49 proxy: Uncapitalize all errors
    e9535f86 tests: Add new "procutils" that exposes PDEATHSIG
    fa86297c proxy_test: Test `GetConfig`
    2bb6f27d proxy_test: Add helper to read all from a reply
    f90725d8 proxy_test: Add a helper method to call without fd
    644074cb proxy: Add support for manifest lists
    83416068 tests/integration/proxy_test: New test that exercises `proxy.go`
    a3adf36d proxy: Use float → int helper for pipeid
    6510f101 proxy: Add a helper to return a byte array
    e7b7be57 proxy: Add an API to fetch the config upconverted to OCI
    942cd6ec Fix bug that prevented useful diagnostics on registry fail
    41de7f2f use fedora:latest in contrib/skopeoimage/*/Dockerfile
    c264cec3 Move to v1.5.2-dev
    2b357d82 Bump to v1.5.1
    4acc9f0d main: Error out if an unrecognized subcommand is provided
    7885162a move optional-flag code to c/common/pkg/flag
    36d860eb Add --dest-precompute-digests option for docker
    c8777f3b bump containers/image to 2541165
    985d4c09 Add instructions to generate static binaries
    11b59898 Add new `experimental-image-proxy` hidden command
    2144a37c issue#785 inspect command - introduce a way to skip querying available tags for an image
    60c98cac Document container images as an alternative to installing packages
    89ecd5a4 Introduce --username and --password to pass credentials
    119eeb83 Move to v1.5.1-dev
    209a9931 Bump to v1.5.0
    3e4d4a48 Bump github.com/containers/image/v5 from 5.16.0 to 5.16.1
    3a97a0c0 Bump github.com/docker/docker
    ff88d3fc Remove leftover Nix packaging files
    e19b57c3 Update github.com/containerd/containerd to v1.5.7
    b950f83c issue#1466 - Introduce a --keep-going option to allow "sync" command to continue syncing even after a particular image sync fails
    12d01037 Bump github.com/containers/storage from 1.36.0 to 1.37.0
    e0c53dfd Update installation doc with latest steps
    aba57a88 Makefile: drop nix support
    93c42bcd Bump github.com/containers/common from 0.45.0 to 0.46.0
    c0f07d3d Bump github.com/containers/common from 0.44.1 to 0.45.0
    0ce7081e Bump github.com/containers/common from 0.44.0 to 0.44.1
    52dafe8f Update to github.com/vbauerster/mpb v7.1.5
    ee8b8e77 Explain the usage of DISABLE_DOCS in the installation doc
    1d204fb1 Update VM Images + Drop prior-ubuntu references
    61310777 issue#1411 Introduce DISABLE_DOCS to skip doc generation while building from source
    ed96bf04 Bump github.com/containers/common from 0.43.2 to 0.44.0
    a837fbe2 Bump github.com/containers/storage from 1.35.0 to 1.36.0
    9edeb69f Remove the extra (defaults to true) help msg
    a2d083ca Bump github.com/containers/image/v5 from 5.15.2 to 5.16.0
    0e87d4d1 Run (gofmt -s -w)
    c399909f Update non-module dependencies
    102e2143 Bump github.com/containers/image/v5 from 5.15.1 to 5.15.2
    7d5ef9d9 Bump github.com/containers/common from 0.43.1 to 0.43.2
    70eaf171 Add OWNERS file
    61969472 Bump github.com/containers/image/v5 from 5.15.0 to 5.15.1
    ec1ac5d0 Bump github.com/containers/storage from 1.34.0 to 1.34.1
    082db20f Bump github.com/containers/common from 0.43.0 to 0.43.1
    8dce403b Add codespell fixes
    f6ae7865 systemtests: if registry times out, show container logs
    9acb8b6a Bump github.com/containers/common from 0.42.1 to 0.43.0
    a23b9f53 Bump github.com/containers/storage from 1.33.2 to 1.34.0
    be821b4f Bump github.com/containers/storage from 1.33.1 to 1.33.2
    ab87b15f Cirrus: Run checks directly on the host
    1aa98bab Github: Add workflow to monitor Cirrus-Cron builds
    fbf96998 Bump github.com/docker/docker
    a3bb1cc5 Bump github.com/containers/common from 0.42.0 to 0.42.1
    0667a1e0 Bump to 1.4.1-dev

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-30 14:59:07 -05:00
Bruce Ashfield
0a7ae8bc50 global: convert github SRC_URIs to use https protocol
github is removing git:// access, and fetches will start experiencing
interruptions in service, and eventually will fail completely.

bitbake will also begin to warn on github src_uri's that don't use
https. So we convert the meta-virt instances to use protocol=https
(done using the oe-core contrib conversion script)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-02 09:57:03 -04:00
Bruce Ashfield
80065eb29f skopeo: refresh storage.conf
Our storage.conf is a bit stale and is throwing warnings during
load (due to thin provisioning changing). We refreshin it from
the skopeo repository.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-20 09:45:54 -04:00
Bruce Ashfield
d80fdc6726 skoeo: update to 1.4.x release series
updating to the 1.4.x release series, we refresh our Makefile patch
and pick up the following commits:

    6b2aa5da [release-1.4] Bump to v1.4.2-dev
    130f32f0 [release-1.4] Bump to v1.4.1
    6f99811c [release-1.4] Bump c/image 5.15.2 c/storage 1.34.1 c/common 0.42.1
    a9f5f10c [release-1.4] Bump c/storage 1.34.0, c/image 5.15.1 and c/common 0.43.0
    a44da449 Release 1.4.0
    3d9340c8 vendor-in-container: update to golang:1.16
    961d5da7 Accept repositories on login/logout
    fb03e033 update c/common, c/image, c/storage
    d70ea890 Update on Building on Ubuntu
    ce6035b7 Add timeouts when waiting on OpenShift or the registry to start
    3a8d3cb5 Add docs and bash completions
    aeb61f65 Add support for decompressing while copying to dir://
    76eb9bc9 Update to enabled containers/image version
    a1f9318e Fix two instances of unused err found by go-staticcheck
    d82c6621 Bump github.com/containers/storage from 1.32.6 to 1.33.0
    f0c49b5c Multi-arch image build: Daily version-tag push
    5e550664 CONTRIBUTING: small fixes to commands
    726d982c Fix --tls-verify
    bb447f2f Test both imageOptions and imageDestOptions in TestTLSVerifyFlags
    2a98df6b Split testing of --tls-verify into separate TestTLSVerifyFlags
    a6cf2f42 Add the --tls-verify option to (skopeo logout)
    285a5cb6 Fix using images from rate-limited docker hub
    02bacf57 Use Fedora container for doccheck
    ae0595c5 Man page validation: part 2 of 2
    ec73ff3d docs: Adding info re container signatures
    e460b9aa [CI:DOCS] Multi-arch image workflow: Make steps generic
    ee054863 Update nix pin with `make nixpkgs`
    2476e99c Cirrus: Freshen CI images
    76103a6c Bump github.com/containers/common from 0.40.1 to 0.41.0
    990908bf Bump github.com/containers/storage from 1.32.5 to 1.32.6
    ede29c91 Remove an unnecessary break
    75f0183e Remove an unnecessary Sprintf
    7ace4265 Fix TestDockerRepositoryReferenceParser
    3d4fb09f Remove unused code
    4efeb71e Set cobra.Command.CompletionOption already in createApp
    a0ce5421 Bump version to v1.4.0-dev
    f80bf8a3 Revert "integration tests: disable `ls` for logs"
    c39b3dc2 CONTRIBUTING: update vendoring instructions
    8eaf0329 disable `completion` command
    aeb75f38 Bump github.com/spf13/cobra from 1.2.0 to 1.2.1
    83603a79 Bump github.com/spf13/cobra from 1.1.3 to 1.2.0
    6d6c8b56 Update tests for removal of error and Error from error messages
    09282bcf Fix some comments in man-page-checker
    09ca3ba4 Improve the description of (skopeo list-tags)
    22908fb3 Include the mandatory --output option in synopsis of (skopeo standalone-sign)
    a3725128 Support **non-replaceable strings** in synopsis
    e4d13920 Use (make validate-local) in the validate target
    e716b2fa man page checker - part 1 of 2
    97eaace7 Cirrus: Rename cross -> osx task, add cross task.
    30c0eb03 Bump github.com/containers/ocicrypt from 1.1.1 to 1.1.2
    5918513e Cirrus: Add vendor + tree status check
    b20c2d45 Run unit tests as well, not integration tests twice
    d0f7339b Bump github.com/containers/storage from 1.32.4 to 1.32.5
    012ed661 Reintroduce the GNU semantics of DESTDIR
    c30b904c Add --retry-times to markdown docs
    9fbb9abc Workaround quay.io image build failure
    4417dc44 Update brew to avoid 403 on accessing https://homebrew.bintray.com
    93b819a7 Fix automation re: master->main rename
    e7c5e9f7 Bump github.com/containers/storage from 1.32.3 to 1.32.4
    1eac38e3 Bump github.com/containers/common from 0.40.0 to 0.40.1
    b1e78efa Bump github.com/containers/storage from 1.32.2 to 1.32.3
    298f7476 Bump github.com/containers/image/v5 from 5.13.1 to 5.13.2
    5778d9bd Fix documentation of the --format option of skopeo copy and skopeo sync
    df170047 Bump github.com/containers/common from 0.39.0 to 0.40.0
    ad4ec8b4 Cirrus: New VM Images w/ podman 3.2.1
    abdc4a7e Bump github.com/containers/image/v5 from 5.12.0 to 5.13.1
    bcc18ebf Update nix pin with `make nixpkgs`
    9b9ef675 Fix multi-arch build version check
    9a5f009e [CI:DOCS] Fix docs links due to branch rename
    865407ca Bump github.com/containers/storage from 1.32.1 to 1.32.2
    10c4c877 Update nix pin with `make nixpkgs`
    e32f3f17 Bump github.com/docker/docker
    76110014 Fix wrong directory name
    a0b6ea28 Support [CI:DOCS] mode
    e5cb7ce1 install.md Building Docs needs MacOS section
    c8060838 Bump github.com/containers/storage from 1.32.0 to 1.32.1
    cac3f2b1 Bump github.com/containers/common from 0.38.4 to 0.39.0
    6452a9b6 Multi-arch github-action workflow unification
    184f0eee Bump github.com/containers/storage from 1.31.1 to 1.31.2
    65ed9920 Move to v1.3.1-dev

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27 10:50:45 -04:00
Bruce Ashfield
d876cfc5bf global: overrides syntax conversion
OEcore/bitbake are moving to use the clearer ":" as an overrides
separator.

This is pass one of updating the meta-virt recipes to use that
syntax.

This has only been minimally build/runtime tested, more changes
will be required for missed overrides, or incorrect conversions

Note: A recent bitbake is required:

    commit 75fad23fc06c008a03414a1fc288a8614c6af9ca
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Sun Jul 18 12:59:15 2021 +0100

        bitbake: data_smart/parse: Allow ':' characters in variable/function names

        It is becomming increasingly clear we need to find a way to show what
        is/is not an override in our syntax. We need to do this in a way which
        is clear to users, readable and in a way we can transition to.

        The most effective way I've found to this is to use the ":" charater
        to directly replace "_" where an override is being specified. This
        includes "append", "prepend" and "remove" which are effectively special
        override directives.

        This patch simply adds the character to the parser so bitbake accepts
        the value but maps it back to "_" internally so there is no behaviour
        change.

        This change is simple enough it could potentially be backported to older
        version of bitbake meaning layers using the new syntax/markup could
        work with older releases. Even if other no other changes are accepted
        at this time and we don't backport, it does set us on a path where at
        some point in future we could
        require a more explict syntax.

        I've tested this patch by converting oe-core/meta-yocto to the new
        syntax for overrides (9000+ changes) and then seeing that builds
        continue to work with this patch.

        (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

        Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02 17:17:53 -04:00
Bruce Ashfield
803e7080ce skopeo: update to 1.31 release tag/branch
Switching to the release 1.31 branch, and picking up two minor
version bump commits. This isn't much different than our previous
build from master/main, but it is worth following the release
branch for now.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-12 09:35:02 -04:00
Bruce Ashfield
ae44f7f504 skopeo: switch to 'main' branch
Skopeo has migrated from master to main, so we adjust our branch
accordingly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-12 09:25:12 -04:00
hongxu
c1bd680e12 skopeo: fix native skopeo failed if no libdevmapper.so.1.02 on host
If host does not install libdevmapper.so.1.02, run native skopeo failed:
...
$ tmp-glibc/sysroots/x86_64/usr/sbin/skopeo -h
|tmp-glibc/sysroots/x86_64/usr/sbin/skopeo.real: error while loading
shared libraries: libdevmapper.so.1.02: cannot open shared object file: No such file or directory
...

Create wrapper to set LD_LIBRARY_PATH which using native
libdevmapper.so.1.02

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-07 15:42:51 -04:00
Xu, Yanfei
bbf7ddbe02 skopeo: add native and nativesdk support
1.Add native and nativesdk support.

2.Replace "multipath-tools" with "libdevmapper" and "lvm2". Because
the really direct DEPENDS package is "libdevmapper" and "lvm2". Log
of do_comopile as below:

-----------------[cut here]---------------------
DEBUG: Executing shell function do_compile
NOTE: make -j 40 BUILDTAGS= bin/skopeo
CGO_CFLAGS="-I/...../usr/include"
CGO_LDFLAGS="-L/...../usr/lib
-lgpgme -lgpg-error -lassuan" GO111MODULE=on go build -mod=vendor
"-buildmode=pie" -ldflags '-X
main.gitCommit=8efffce8befc2de87670ba75d6c86ada61e869fd ' -gcflags ""
-tags "" -o bin/skopeo ./cmd/skopeo
Package devmapper was not found in the pkg-config search path.
Perhaps you should add the directory containing `devmapper.pc'
to the PKG_CONFIG_PATH environment variable
No package 'devmapper' found
pkg-config: exit status 1
make: *** [Makefile:134: bin/skopeo] Error 2

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-06-24 12:40:18 -04:00
Bruce Ashfield
b22003973b skope: update to 1.3.x
Updating skopeo to the 1.3.x series. Along with the version bump, we
patch the Makefile to stop using gpgme-config and instead using
pkg-config, since OE taints gpgme-config and the build will break if
we call it directly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-06-04 08:43:08 -04:00
Bruce Ashfield
ce6815f6ce skopeo: bump to 1.2.3 -dev
Pulling in the small set of commits that move us to the
1.2.3-dev cycle:

  5a117bfc Bump c/storage to v1.24.8 and c/image to v5.10.5 for RHEL 8.4 in release-1.2
  560a34af Bump to v1.2.3-dev
  b94b7dc0 Bump to Skopeo v1.2.2
  f78bf42c Bump c/common c/image and c/storage to latest
  b4210c0b Fix gating test in release-1.2 port #1169

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-16 10:43:34 -04:00
Bruce Ashfield
c3fe6ab427 skopeo: update to v1.2.2
Updating to 1.2.2, which along with the following commits, needed
a slight tweak to the build target, and the location of the binary.
Otherwise, everything remains the same.

   af2d2b41 Bump vendor/modules.txt in release-1.2
   8237787b Bump golang.org/x/crypto to the latest
   2294113c Bump to v1.2.2-dev
   bdb117de Bump to v1.2.1
   fe57e80c Update nix pin with `make nixpkgs`
   3c33cb45 Add a smoke test for signedIdentity:remapIdentity
   f94d85aa Split copyWithSignedIdentity from TestCopyVerifyingMirroredSignatures
   6ee4b2dc integration test: sync k8s.gcr.io/pause instead of docker.io/alpine
   b3a15e72 integration test: use fedora-minimal for most manifest list tests
   f771cb0d Update vendor of containers/common and containers/storage
   c4fb9364 Fix reading the after-sync list of tags in SyncSuite.TestYamlUntagged
   74420528 Bump github.com/containers/common from 0.31.1 to 0.31.2
   fc78c93a fix creds sync from yaml
   4987a672 Spelling
   131b2b8c Bump github.com/containers/common from 0.31.0 to 0.31.1
   6b260e16 Update nix pin with `make nixpkgs`
   8cc9fcae update debian/ubuntu docs
   0fb1121f Bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0
   f36f7dbf Bump github.com/containers/storage from 1.24.1 to 1.24.3
   07c0e6a5 Bump github.com/containers/common from 0.30.0 to 0.31.0
   13ef9174 Bump github.com/containers/image/v5 from 5.8.1 to 5.9.0
   8cd57ef8 Bump github.com/containers/common from 0.27.0 to 0.30.0
   f3a8a736 Update to macOS 10.14
   4597c095 update OSX Travis env before running tests
   2ec251c2 Update installation docs for debian and ubuntu
   e717a591 Update install.md
   901f7e9c vendor in containers/storage v1.24.1 containers/image v5.8,1
   4b4ad628 Fix naming and language
   6b007c70 Add information about multi-arch image to README
   5d73dea5 Add --format option to skopeo inspect
   82e461ff Switch to using errors.Wrapf rather then fmt.Errorsf
   e30abff3 Bump github.com/containers/image/v5 from 5.6.0 to 5.8.0
   58c9eccf Bump github.com/containers/common from 0.26.0 to 0.27.0
   958c361c Support namespaced logins for quay.io
   72e8af59 install: make commands copy-pasteable
   873fbee0 Fix #858 Add --all sync flag to emulate copy --all
   1a3eb478 Fix #858 Add support for digests in sync
   bc0ecfc8 Bump github.com/containers/storage from 1.23.9 to 1.24.0
   19f9a6ad Update nix pin with `make nixpkgs`
   6d7d0e7d Bump github.com/containers/storage from 1.23.5 to 1.23.9
   39f8117c add multi-arch builds for  upstream and stable skopeo image via Travis
   e709329b Avoid overriding LDFLAGS in Makefile
   35daba11 Dockerfile: install openssl
   65c5b0bf integration tests: disable `ls` for logs
   cd884fa5 Travis: bump go to 1.15.x
   3a724640 Use osusergo build tag for static build
   a7f4b26f Update install.md
   98fdb042 Fix `skopeo login` example in README
   a75daba3 Bump github.com/containers/common from 0.24.0 to 0.26.0
   67d72d27 Bump github.com/spf13/cobra from 1.0.0 to 1.1.1
   035e2549 install.md: mention Nix/NixOS
   0954077f Update install.md
   bde39ce9 Update install.md
   a422316d Update README.md
   21aa04e3 Make Makefile a little easier to use
   50ff352e Update nix pin with `make nixpkgs`
   69f51ac1 Bump github.com/containers/common from 0.23.0 to 0.24.0
   f9773889 Add Subject Alternative Name to local openssl cert
   4ba7d501 Makefile: add a local-cross target
   12729c4d Bump github.com/sirupsen/logrus from 1.6.0 to 1.7.0
   1c45df1e Bump github.com/containers/common from 0.22.0 to 0.23.0
   248a1dd0 include OBS install steps for CentOS
   3a75b51b Move to v1.2.1-dev
   2b4097bc Bump to v1.2.0
   467b462b Keep options order in code and add missing bash completions
   242b573f Adding periods
   2d5f12b9 Add --registry-token tests to utils_tests.go
   3c73c0c0 Add --registry-token flags to support Bearer token authentication
   ec17cfcb Update nix pin with `make nixpkgs`
   1d0b1671 Bump github.com/containers/image/v5 from 5.5.2 to 5.6.0
   05d172a1 Bump github.com/containers/common from 0.21.0 to 0.22.0
   62bafb10 Fix problems found by codespell
   4eda1d09 Bump github.com/containers/storage from 1.23.4 to 1.23.5
   23cb1b7f Remove an obsolete documentation of (make binary-static)
   c1f984a1 Bump github.com/containers/storage from 1.23.3 to 1.23.4
   8767e73f Bump github.com/containers/common from 0.20.3 to 0.21.0
   07146219 Update nix pin with `make nixpkgs`
   3bb23e35 use base image golang for build
   c8c8d5db Bump github.com/containers/storage from 1.23.1 to 1.23.2
   ad3d4aec Fix skopeo-login docs typo
   69116421 Bump github.com/containers/storage from 1.23.0 to 1.23.1
   3ede91cc Bump github.com/containers/common from 0.20.2 to 0.20.3
   5ad62b94 Bump github.com/containers/image/v5 from 5.5.1 to 5.5.2
   b05933fb Bump github.com/containers/common from 0.18.0 to 0.20.2
   e5f54909 -buildmode=pie is not supported for some arch
   915f40d1 Build static binary with `buildGoModule`
   0c2c7f40 Update docs/skopeo.1.md
   135ce431 Add oci-archive to transport list, and link to the authoritative man page
   c750be01 Use an inter-registry copy as the example for (skopeo copy)
   84d051fc Use c/common retry package
   56f8222e Add an extra clarification to skopeo-copy(1)
   c24363cc Bump github.com/containers/storage from 1.21.2 to 1.22.0
   4fb724fb Make InspectOutput an external object
   e23b7800 Fix make clean to actually remove binaries
   d9058b30 Switch containers/libpod->containers/podman
   26e6db1c Dockerfile.build: Upgrade to Ubuntu 20.04
   b7cdcb00 Bump github.com/containers/common from 0.16.0 to 0.18.0
   4012d0e3 Bump github.com/containers/storage from 1.21.1 to 1.21.2
   84c53d10 Retry on skopeo subcommands
   960b610f Bump github.com/containers/common from 0.15.2 to 0.16.0
   ebc43826 vendor golang.org/x/text@v0.3.3
   8f5eb45b Bump github.com/containers/storage from 1.21.0 to 1.21.1
   5e2264d2 Bump github.com/containers/storage from 1.20.2 to 1.21.0
   19f9a5c2 Bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0
   0858caff Retry skopeo inspect command
   2e343342 Bump github.com/containers/ocicrypt from 1.0.2 to 1.0.3
   0382b016 Fix macOS builds in Travis
   142142c0 Bump github.com/containers/common from 0.15.1 to 0.15.2
   52b3a5ba Bump github.com/containers/common from 0.14.3 to 0.15.1
   b17fb08f update enc/dec docs to be consistent with buildah
   dd2e70e9 nix run -f channel:nixos-20.03
   91dc0f3f Bump github.com/containers/common from 0.14.0 to 0.14.3
   0e2611d3 Run htpasswd from our build-container instead of registry:2
   0f458eec Add nix derivation for static builds
   6b960ec0 Cleanup Dockerfile builds
   fdc58131 Move to v1.1.1-dev
   63085f5b Bump to v1.1.0
   dd7dd753 vendor github.com/containers/image/v5@v5.5.1
   b70dfae2 vendor github.com/containers/common v0.14.0
   9bafa7e8 Bump github.com/containers/common from 0.13.0 to 0.13.1
   6198daeb Correct a typo in docs/skopeo-sync.1.md
   9e99ad99 Bump github.com/containers/common from 0.12.0 to 0.13.0
   c36502ce Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
   4eaaf312 Bump github.com/containers/storage from 1.20.1 to 1.20.2
   5284f6d8 Bump github.com/stretchr/testify from 1.5.1 to 1.6.0
   ae97c667 Bump github.com/containers/common from 0.11.4 to 0.12.0
   8b4b9543 Fix error handling on invalid regex
   c103d652 Drop redundant fmt.Sprintf inside erorrs.Wrapf/Errorf
   c5183d0e Use MatchString instead of Match with a manual conversion
   16b43525 Use reference.Tagged to extract the tag from a reference
   35f3595d Inline isTagSpecified into its only caller
   0ee81dc9 Use a reference.Named, not types.ImageReference, in imagesToCopy
   80588509 Clarify imagesToCopy control flow
   97ec6873 Work with a reference.Named, not strings, in imagesToCopyFromRegistry
   d16cd399 Use a reference.Named, not types.ImageReference, in imagesToCopyFromRepo
   7439f94e Remove the repoReference parameter of imagesToCopyFromRepo
   44338073 Don't use path.Join to form repository names
   56c6325b Share the logrus.WithFields settings over the loop bodies
   0ae9db5d Clarify control flow when handling the tags list
   677c29bf Only create a SystemContext once per registry
   72376c41 Fix the recently added example in the man page.
   322625ee Use a separate field for the "sync images with tag matching regex" feature
   9c1936fd Add upstream and testing container images
   a51af64d Bump github.com/containers/storage from 1.19.2 to 1.20.1
   a31d6069 Bump github.com/containers/common from 0.11.2 to 0.11.4
   2330455c there is a brew formula for skopeo
   bec7f697 Add tags to support regular expressions in yaml conf add relevant test cases and documentation update the sync doc
   60ecaffb Add Skopeo Stable Image Dockerfile for Quay
   2fe7087d Move to v1.0.1-dev
   bd162028 Bump to v1.0.0
   5093d5b5 Update skopeo readme and man page
   1b2de8ec Update docs/skopeo-sync.1.md
   ab230050 Add links to configuration man pages
   4244d682 Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0
   3247c0d2 Bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0
   eb024319 Bump github.com/containers/storage from 1.19.1 to 1.19.2
   b79a37ea v0.11.2 containers/common
   0ec2610f Add skopeo login&logout
   e21d6b36 Update containers/image to v5.4.4
   a6ab2291 Add tests for using signatures with mirrors
   8f845aac Update c/image for https://github.com/containers/image/pull/912
   439ea830 Add Security Policy
   8d252f82 fix copy doc
   46fbbbd2 Use cobra in skopeo
   a6abdb85 Bump github.com/sirupsen/logrus from 1.5.0 to 1.6.0
   02407d98 Fix TestCopyAtomicExtension
   116add9d Bump github.com/containers/storage from 1.18.2 to 1.19.0
   5f8d3fc6 Move to v0.2.1-dev
   1119299c Bump to v0.2.0
   cf4dff47 Fix for yet another breaking podman change
   17848a18 Run (go mod tidy) before (go mod vendor)
   2873d8ec Revert "Bump github.com/urfave/cli from 1.22.1 to 1.22.4"
   702165af Fix (make vendor)
   8c8d9bd2 Bump github.com/urfave/cli from 1.22.1 to 1.22.4
   5b479b10 Bump containers/image to v5.4.3
   f68b53af make vendor: run `tidy` after `vendor`
   65692366 vendor c/image v5.4.2
   0eef946e Bump github.com/containers/image/v5 from 5.4.0 to 5.4.1
   82e79e3f Remove dependency on buildah
   325327dc Bump github.com/containers/image/v5 from 5.3.1 to 5.4.0
   6e3f4c99 Update on #834: force runc only when cgroupsv1
   27b330f6 Revert the removal of buildah dependency
   f231b777 Update docs/skopeo.1.md
   55044627 Add example with repository Fixes #854
   aa20fbfd Skopeo should support for BigFilesTemporaryDir (SystemContext)
   274efdf2 Update containers/image v5.3.1
   33616424 Bump github.com/containers/storage from 1.16.5 to 1.16.6
   970af7d1 Bump github.com/containers/image/v5 from 5.2.1 to 5.3.0
   1e7fe55b Use fully-qualified image names
   081e4834 Bump github.com/containers/common from 0.5.0 to 0.6.1
   bd59677a Bump github.com/containers/storage from 1.16.3 to 1.16.5
   dda59750 Bump github.com/containers/common from 0.4.4 to 0.5.0
   ebeb1c3f Bump github.com/containers/storage from 1.16.2 to 1.16.3
   33ebce08 Bump github.com/containers/common from 0.4.3 to 0.4.4
   0752e837 Bump github.com/containers/common from 0.4.2 to 0.4.3
   406d3eb1 Bump github.com/containers/storage from 1.16.1 to 1.16.2
   bae33781 Add Ubuntu/Debian install instructions
   7dcfc183 Bump github.com/containers/storage from 1.16.0 to 1.16.1
   4e45fcc5 Mention CentOS/RHEL in installation instructions
   2e65e64c CI: force Podman to use runc
   ef1b005c Bump github.com/containers/common from 0.2.1 to 0.4.2
   7be2a1bf Bump github.com/stretchr/testify from 1.5.0 to 1.5.1
   f489ba7b bump to a supported ubuntu release
   df2966b7 add support for REGISTRY_AUTH_FILE
   8d1a4649 Partial image encryption support
   377ba25c Bump github.com/stretchr/testify from 1.4.0 to 1.5.0
   1d136f05 Bump github.com/containers/storage from 1.15.8 to 1.16.0
   7b9629d6 Bump github.com/containers/common from 0.2.0 to 0.2.1
   07c89b49 Fix wrong import of docker reference
   a9854e11 Remove the list_tags integration test since it does not cover much not already tested by the upstream container/images repo or local unit tests
   36fdc062 Updates based on code review to simplify logic and tests
   5554964a Fix inconsistency in manpage example for list-tags
   b0cfab1d Fix formatting on test
   cce44c45 Adds "list-tags" command to list tags with no known tag required. Fixes #276
   f8302650 Bump github.com/containers/common from 0.1.4 to 0.2.0
   ba8417ed Add Code of Conduct
   759dc98b bump to v0.1.42-dev
   7d080caa v0.1.41
   b6e7fbdf Bump github.com/containers/image/v5 from 5.2.0 to 5.2.1
   b59c018a Bump gopkg.in/yaml.v2 from 2.2.7 to 2.2.8
   e3f9f55c Bump github.com/containers/common from 0.0.7 to 0.1.4
   2c0a4c9c Remove the reference to openshift/api
   a7297d4d vendor github.com/containers/image/v5@v5.2.0
   7cbb8ad3 Manually update buildah to v1.13.1
   4489ddd8 add specific authfile options to copy (and sync) command.
   c6a731bb Adds override-variant to man pages
   222beaf4 Adds the --override-variant command line flag
   6c7dc9b7 Bump github.com/containers/buildah from 1.11.6 to 1.12.0
   27b3e218 Add context to --encryption-key / --decryption-key processing failures
   17b921cb Bump github.com/containers/storage from 1.15.2 to 1.15.3
   2f2dc646 Bump github.com/containers/buildah from 1.11.5 to 1.11.6
   b0da0858 remove direct reference on c/image/storage
   7d3c3ce5 Makefile: set GOBIN
   21613f19 Bump gopkg.in/yaml.v2 from 2.2.2 to 2.2.7
   afaa9e7f Bump github.com/containers/storage from 1.15.1 to 1.15.2
   9c402f37 Introduce the sync command
   8ccd7b99 openshift cluster: remove .docker directory on teardown
   04bc64f5 Bump github.com/containers/storage from 1.14.0 to 1.15.1
   73248bd6 document installation via apk on alpine
   c6bc2367 Fix typos in doc for image encryption
   39ff039b Image encryption/decryption support in skopeo
   88fd1172 make vendor-in-container
   5f3219a8 Bump github.com/containers/buildah from 1.11.4 to 1.11.5
   23d9383a Travis: use go v1.13
   af073483 Use a Windows Nano Server image instead of Server Core for multi-arch testing
   81caa0fa Increase test timeout to 15 minutes
   dd66c1d3 Run the test-system container without --net=host
   6991ba85 Mount /run/systemd/journal/socket into test-system containers
   db877dca Don't unnecessarily filter out vendor from (go list ./...) output
   8eba94f2 Use -mod=vendor in (go {list,test,vet})
   05ae513b Bump github.com/containers/buildah from 1.8.4 to 1.11.4
   876595e6 Bump github.com/urfave/cli from 1.20.0 to 1.22.1
   140b47e8 skopeo: drop support for ostree
   cd8c0085 Don't critically fail on a 403 when listing tags
   d83d0819 Revert "Temporarily work around auth.json location confusion"
   ce2db022 Remove references to atomic
   df92a33c Remove references to storage.conf
   b21a5970 Dockerfile: use golang-github-cpuguy83-go-md2man
   a18a5eae bump version to v0.1.41-dev
   be6146b0 release skopeo v0.1.40
   8f24d281 vendor containers/image v5.0.0
   2553a230 systemtest: inspect container image different from current platform arch
   7d251f5a copy: add a --all/-a flag
   58248412 System tests: various fixes
   4962559e Temporarily work around auth.json location confusion
   7922028d Update to c/image v4.0.1
   51b54191 systemtest: copy: docker->storage->oci-archive
   1c243a5b systemtest/010-inspect.bats: require only PATH
   8d1bb150 systemtest: add simple env test in inspect.bats
   8c96dca3 bash completion: add comments to keep scattered options in sync
   1d8f5f29 bash completion: use read -r instead of disabling SC2207
   b31f0da5 bash completion: support --opt arg completion
   a02e57dd bash-completion: use replacement instead of sed
   a000c194 bash completion: disable shellcheck SC2207
   86e35643 bash completion: double-quote to avoid re-splitting
   c61a5ea2 bash completions: use bash replacement instead of sed
   89bb6158 bash completion: remove unused variable
   646e197e bash-completions: split decl and assignment to avoid masking retvals
   699c2556 bash completion: double-quote fixes
   0c579aca bash completion: hard-set PROG=skopeo
   bc8281c0 bash completion: remove unused variable
   91510e39 bash completion: use `||` instead of `-o`
   7b0db25a bash completion: rm eval on assigned variable
   a36d81c5 copy: add --dest-compress-format and --dest-compress-level
   976dd83a flag: add optionalIntValue
   a1c5a1f4 Makefile: use go proxy
   43b014c8 inspect --raw: skip the NewImage() step
   f1d8451b update OCI image-spec to 775207bd45b6cb8153ce218cc59351799217451f
   a778e595 inspect.go: inspect env variables
   0f1ded2a ostree: use both image and & storage buildtags
   89d6d0c7 bump to v0.1.40-dev

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-06 13:54:48 -05:00
Stefan Agner
753ca26b41 skopeo: add default set of configuration files
Add a default registries.conf and storage.conf. Those config files
are used by several projects of the containers group like buildah or
podman. Provide it as part of skopeo like the other distributions do.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-13 11:16:40 -04:00
Stefan Agner
9b234f5245 skopeo: add skopeo
skopeo is a command line utility that performs various operations on
container images and image repositories.

skopeo can work with OCI images as well as the original Docker v2
images.

The recipe originates from from meta-overc commit a497792. It has
been updated with the new project URL and v0.1.39.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-02 14:13:35 -04:00