summaryrefslogtreecommitdiffstats
path: root/recipes-containers/skopeo/files
Commit message (Collapse)AuthorAgeFilesLines
* skopeo: restructure recipe to fix buildpaths warningsBruce Ashfield2023-06-151-2/+2
| | | | | | | | | | Like many of the other go recipes, the method of symlinking vendor packages ends up recording the path in the binary. -trimpath can't fix those embedded paths, so we switch skopeo to be link the other recipes and position our source in a way that doesn't require the symlinking, and hence no QA warning. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: update to 1.12.0Bruce Ashfield2023-06-151-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: this has trimpath issues, and needs to be re-worked to not use symlinked vendor directories. Bumping skopeo to version v1.12.0-25-gcf502780, which comprises the following commits: c06aa5c6 Update module github.com/stretchr/testify to v1.8.3 ac75f71f Update dependency containers/automation_images to v20230517 21b1dfee Update module github.com/sirupsen/logrus to v1.9.2 ead979a9 Update module github.com/docker/distribution to v2.8.2+incompatible 12b24fce Trigger an update of the ostree_ext container image 44ed4cea Update c/image with https://github.com/containers/image/pull/1944 9213943e Update module github.com/containers/common to v0.53.0 2825ffd9 Update module golang.org/x/term to v0.8.0 86eea6ce Update dependency containers/automation_images to v20230426 03e18aa9 Update golang.org/x/exp digest to 47ecfdc 7b587697 Emphasize the semantics of --preserve-digests a tiny bit 1e6b333f Improve the static build documentation a tiny bit 95e8cce2 Bump to v1.12.1-dev a5529097 Release 1.12.0 5f0314f3 Update module github.com/containers/common to v0.52.0 66157589 Update module github.com/containers/storage to v1.46.1 7c66b740 Add (make tools) to install (for now only) golangci-lint, use it in Cirrus d4bd787e Use golangci-lint instead of golint c538340e Finally, eliminate hack/make.sh f8f5a25f Actually fail if (go vet) fails aebab492 Speed up validate-git-marks by about a factor of three 4298692d Don't use hack/make.sh for validate-git-marks 7e35ad54 Test all files by validate-git-marks 789257f7 Simplify the package list of (go vet) bee51e5e Don't use hack/make.sh for validate-gofmt 85fef036 Run gofmt on all files, not just the changed ones 82268ea8 Don't use hack/make.sh for validate-lint 694b1565 Lint many more files in validate-lint 43090b29 Don't use hack/make.sh for validate-vet 225f239a Remove no-longer-necessary module options 98b01af0 Fix Makefile dependencies 835d71a3 Remove some outright unused code from hack/make* 30ecd8f0 Cross-link the top-level and subcommand option lists 4be583c8 Fix error handling of signature.NewEphemeralGPGSigningMechanism e8414097 chore(deps): update dependency containers/automation_images to v20230405 4f5e8214 Avoid use of a deprecated capability.NewPid ca0f8418 fix(deps): update module github.com/spf13/cobra to v1.7.0 b0d339f0 fix(deps): update module github.com/containers/image/v5 to v5.25.0 03ca2871 fix(deps): update module golang.org/x/term to v0.7.0 4ca2058d Use multiple fingerprint function Allow comma separated fingerprint list c54f2025 Review comments (to be squashed later 9b1f1fa1 Rename argument. Only use any with public key file. Double check fingerprint is in public key file. 3097b7a4 Verify signatures from a trust store bfe82593 Update c/image from the main branch 468ac655 Update module github.com/containers/common to v0.51.2 7481aae6 Update dependency containers/automation_images to v20230330 454f8559 systemtests: Fix 040-local-registry-auth about XDG_RUNTIME_DIR bbdcb79c [CI:BUILD] Packit: trigger builds on commit to main branch cd4f2ee5 [skip-ci] Update actions/stale action to v8 b2ede999 Make the installation instructions more prominent in README.md 8ea5fd44 Update dependency containers/automation_images to v20230320 aa9862a7 Update module github.com/containers/common to v0.51.1 0ad54d6d Cirrus: Update CI VM images 20447df1 bump golang.org/x/net to v0.8.0 3481a5b9 Update module golang.org/x/term to v0.6.0 bcc0d54e Simplify inspectOptions.writeOutput a bit more c345785d Factor out the output of data in (skopeo inspect) 2a6a944c Use io.WriteString 9a02c1eb Update module github.com/stretchr/testify to v1.8.2 f1c03ef1 Update module github.com/containers/storage to v1.45.4 64daedca Update golang.org/x/exp digest to 5e25df0 c07f2098 Fix formatting of inspect examples 313f142c Use common library reporter 4beb3f0a Fix some warnings 1c3d49f0 Fix tabelating output in (skopeo inspect --format) fb0be613 Corrected typo in skopeo-sync and updated description 2ef9cf69 Replace gopkg.in/check.v1 by github.com/stretchr/testify/suite/ 0ba164f0 Update c/image after https://github.com/containers/image/pull/1842 012e1144 [CI:BUILD] Packit: initial enablement 5435c808 Renovate: c/common rule moved to defaults 643a2359 Update c/image after https://github.com/containers/image/pull/1816 2c6e15b5 Run codespell on codebase df708d16 [CI:DOCS] Disable dependabot 2acac8a6 Update module golang.org/x/term to v0.5.0 f9e2c676 Update golang.org/x/exp digest to 46f607a 47c7902e Remove unnecessary blank lines c1a57ca1 Pre-allocate an array 2a7b1327 Simplify a condition e7ab33e6 Rename a variable to avoid an underscore e90c381a Add missing comment punctuation 70c06b4a Fix, or remove, comments using lint syntax 9137ac56 Simplify an increment efc6e837 Reformat import statements a8b9e4e3 Use %w when wrapping errors 99215e40 Remove a duplicate word afa031e8 Use net/netip.Addr instead of net.IP 891ba3d4 s/interface{}/any/g f2b3a9c0 Use golang.org/x/exp f1a6d427 Use strings.Cut 22955d05 go mod tidy -go=1.18 007f01c6 [CI:BUILD] enable debuginfo for el8 copr builds 036bf598 [CI:BUILD] copr: fix el8 build and enable debuginfo f9406bb0 Cirrus: Use human-readable CI VM Images b41b85ab Update module gopkg.in/yaml.v2 to v3 d2fbec35 Add unit tests for tlsVerifyConfig's yaml.Unmarshaler 9e24a195 [CI:DOCS] Fix up language in README Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: use container-host bbclass to provide configurationBruce Ashfield2023-02-172-220/+0
| | | | | | | | | | | Instead of providing storage and registries configuration files in this package, we inherit container-host which will provide a common definition of these configs. This allows multiple packages to ensure that the configuration files are present, and not conflict in their installation. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: update to 1.11.0Bruce Ashfield2023-02-171-38/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We drop a patch that is now part of the release. Bumping skopeo to version v1.11.0-39-g95680f3c, which comprises the following commits: 643a2359 Update c/image after https://github.com/containers/image/pull/1816 2c6e15b5 Run codespell on codebase df708d16 [CI:DOCS] Disable dependabot 2acac8a6 Update module golang.org/x/term to v0.5.0 f9e2c676 Update golang.org/x/exp digest to 46f607a 47c7902e Remove unnecessary blank lines c1a57ca1 Pre-allocate an array 2a7b1327 Simplify a condition e7ab33e6 Rename a variable to avoid an underscore e90c381a Add missing comment punctuation 70c06b4a Fix, or remove, comments using lint syntax 9137ac56 Simplify an increment efc6e837 Reformat import statements a8b9e4e3 Use %w when wrapping errors 99215e40 Remove a duplicate word afa031e8 Use net/netip.Addr instead of net.IP 891ba3d4 s/interface{}/any/g f2b3a9c0 Use golang.org/x/exp f1a6d427 Use strings.Cut 22955d05 go mod tidy -go=1.18 007f01c6 [CI:BUILD] enable debuginfo for el8 copr builds 036bf598 [CI:BUILD] copr: fix el8 build and enable debuginfo f9406bb0 Cirrus: Use human-readable CI VM Images b41b85ab Update module gopkg.in/yaml.v2 to v3 d2fbec35 Add unit tests for tlsVerifyConfig's yaml.Unmarshaler 9e24a195 [CI:DOCS] Fix up language in README cc958d3e Move to v1.11.1-dev 9d036f30 Bump to v1.11.0 83bcd136 [CI:DOCS] Format manual page documents afbdaf8e Update module github.com/containers/common to v0.51.0 c9114248 Update module github.com/containers/image/v5 to v5.24.0 0fad1193 Add (skopeo generate-sigstore-key) 48b9d94c Update c/image after https://github.com/containers/image/pull/1810 80e3fd10 Touch up conscious language issues 9f04dfde Partially fix removal of temporary data in (make test-system) 36c480f6 Don't affect $XDG_RUNTIME_DIR of Podman starting the registry 850bc49d Update module github.com/containers/storage to v1.45.3 a98c1372 Fix storage.conf setup in test-system 19815502 Fix (test-integration), in a container without CI 67a8bef6 Cirrus: Fix c/image CI testing 63da8390 Bump github.com/containers/ocicrypt from 1.1.6 to 1.1.7 1fac61ef Cirrus: Add a common intra-test reset function 292962d3 Fix unnecessary use of podman in CI test e239f32a Cirrus: Update to F37 CI VM Images ee804858 Cirrus: Remove redundant package install attempt 0698e82b fix(deps): update module github.com/containers/storage to v1.45.1 bb1ac893 Add support for Fulcio and Rekor, and --sign-by-sigstore=param-file 03b5bdec Update c/image after https://github.com/containers/image/pull/1787 1133a2a3 fix(deps): update module github.com/containers/storage to v1.45.0 d0cf39d8 Cirrus: Skip OSX CI on release-branches f17eafe8 Correctly use the stdout parameter in some places 58bccf38 fix(deps): update module golang.org/x/term to v0.4.0 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-271-0/+2
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: fix build with btrfs-progs 6.1Jose Quaresma2023-01-101-0/+38
| | | | | | | | | | # github.com/containers/storage/drivers/btrfs | vendor/github.com/containers/storage/drivers/btrfs/btrfs.go:387:11: args.lim.max_referenced undefined (type _Ctype_struct_btrfs_qgroup_limit has no field or method max_referenced) | recipe skopeo-v1.8.0+gitAUTOINC+b95e081162-r0: task do_compile: Failed Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: reprodicibility enable trimpath and stripBruce Ashfield2022-09-131-0/+29
| | | | | | | | | Skopeo is throwing TMPDIR QA warnings due to paths being built into the binaries. We fix this by creating a new variable to pass -trimpath into the build, and also by defining the linker flags -w -s to strip source/path information from the binaries. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: update to v1.8.0Bruce Ashfield2022-08-091-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We drop our gpme patch, since it is no longer needed. Bumping skopeo to version v1.8.0-75-gb95e0811, which comprises the following commits: 61593fcc Revert "Change a repo used for sync tests" 62158a58 Vendor unreleased c/image with OCI artifact support 7900440a Use errors.As() instead of direct type checks c654871b Remove uses of pkg/errors 7abcca93 Modify error messages on failures to close f7df4a08 Introduce noteCloseFailure, use it for reporting of cleanup errors 33116235 Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 89089f3a Update IRC information ba6af16e Use bytes.ReplaceAll instead of bytes.Replace(..., -1) 2024e2e2 Update & fix skopeo multiarch image Containerfiles 774ff9d1 Cirrus: Migrate multiarch build off github actions 899d3686 Bump github.com/stretchr/testify from 1.7.4 to 1.7.5 2f77d213 Bump github.com/stretchr/testify from 1.7.2 to 1.7.4 2009d1c6 Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 fe022809 [CI:DOCS] skopeo.spec.rpkg: Fix syntax highlighting 71d450cb [CI:DOCS] Makefile: include cautionary note for rpm target 37388544 CoPR: Autobuild rpm on rhcontainerbot/podman-next 38f4b9d0 Enable schema1 support on the test registries 1b5fb465 Update for docker/distribution CLI change e9ed5e04 Use an updated CI image bbdabebd Change a repo used for sync tests 92c0d0c0 Use testing.T.Setenv instead of os.Setenv in tests a3a72342 Update go.mod to Go 1.17 e9379d15 Bump github.com/docker/docker 69840fd0 Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 63622bc7 Bump github.com/containers/ocicrypt from 1.1.4 to 1.1.5 6b584598 Cirrus: use Ubuntu 22.04 LTS 00a58e48 Update to github.com/opencontainers/runc >= 1.1.2 263a5f01 fix make completions for all POSIX shells 0a3be734 Update to gopkg.in/yaml.v3 v3.0.0 0ad7ec24 Updated skopeo logo with new artwork 014d47f3 [CI:DOCS] Pin actions to a full length commit SHA d78bc827 shell completion: add completion for transports names 6c2a415f shell completion: add install instructions docs 9bed0a9e shell completion: add Makefile target ebc5573e Stop calling gpgme-config 1ebb2520 Update c/image 9b4c1f15 Remove cgo_pthread_ordering_workaround.go 6863fe2d add completion command to generate shell completion scripts 3eca480c Bump github.com/docker/docker 149dea8d Bump github.com/containers/storage from 1.40.2 to 1.41.0 804f7c24 Avoid hard-coding the location of bash e47765ed Config files live in /usr/local/etc on FreeBSD 13ceb93b Bump github.com/docker/docker cd4607f9 Move to v1.8.1-dev 37727a45 Bump to v1.8.0 75d94e79 Bump ocicrypt to v1.1.4 737ed9c2 Vendor in containers/storage v1.40.2 3c286dd1 Vendor in containers/(common, storage, image) b8b0e993 [CI:DOCS] install.md: include distro package info links d9035db6 [CI:DOCS] install.md: remove Kubic package info for Ubuntu 916a395d Cirrus: Update to F36 w/ netavark+aardvark-dns 8960ab3c Update vendor of containers/(common,storage,image) d9d3ceca Use filepath.WalkDir instead of filepath.Walk 23a46057 Extract four copies of the same loop into a function 4811c07d Update users of deprecated io/ioutil 4ef35a38 Add option to specify the identity for signing 38ae81fa Bump containers/image to include sign identity option 9b09b6eb delete non-existent option in the cmdline example c233a6dc Add dry-run mode to skopeo-sync e6802c4d Update skopeoimage/README.md that tags are v-prefixed 80871786 Bump to v1.7.1-dev f45ae950 Release 1.7.0 3bc06242 Bump github.com/prometheus/client_golang to v1.11.1 89cd1951 Bump github.com/containers/common from 0.47.4 to 0.47.5 7f6b0e39 Bump github.com/containers/storage from 1.38.2 to 1.39.0 f6bf5746 Bump github.com/docker/docker a9cc9b91 Improve the (skopeo delete) man page ac7edc7d Bump github.com/containers/ocicrypt from 1.1.2 to 1.1.3 c819bc17 Update the command to install golint 6a2f38d6 Formally record that we require Go 1.15 2019b79c Use check.C.MkDir() instead of manual ioutil.TempDir() calls f79cc8ae Update to Go 1.14 and revendor ac4c291f Use assert.ErrorContains 5aaf3a9e Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 bd524670 Simplify the proxy server a bit 693de29e Add various missing error handling f44ee2f8 Remove assignments to an unused variable a7190099 Rename "self" receiver 7ba56f3f Add support for docker-archive: to skopeo list-tags ad3e8f40 Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 0703ec6c Bump github.com/docker/docker 52002728 Update github.com/containerd/containerd Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: refresh storage.confBruce Ashfield2021-10-201-33/+95
| | | | | | | | 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>
* skoeo: update to 1.4.x release seriesBruce Ashfield2021-08-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* skope: update to 1.3.xBruce Ashfield2021-06-041-0/+35
| | | | | | | | | 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>
* skopeo: add default set of configuration filesStefan Agner2019-10-132-0/+158
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>