-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge release branch into main
#2070
Merge release branch into main
#2070
Commits on Jun 30, 2023
-
[release-5.26] Bump c/storage to 1.48.0
As the title says [NO NEW TESTS NEEDED] Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for a0ab0d6 - Browse repository at this point
Copy the full SHA a0ab0d6View commit details -
[release-5.26] Bump to v5.26.1
As the title says [NO NEW TESTS NEEDED] Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for a12aed7 - Browse repository at this point
Copy the full SHA a12aed7View commit details -
[release-5.26] Bump to v5.26.2-dev
As the title says [NO NEW TESTS NEEDED] Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 2458174 - Browse repository at this point
Copy the full SHA 2458174View commit details -
Merge pull request containers#2019 from TomSweeneyRedHat/dev/tsweeney…
…/storage1.48 [release-5.26] c/storage to 1.48, bump c/image to v5.26.1, and then to v5.26.2-dev
Configuration menu - View commit details
-
Copy full SHA for 8aacd03 - Browse repository at this point
Copy the full SHA 8aacd03View commit details
Commits on Aug 4, 2023
-
Starting a release-5.27 branch. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for ee881a0 - Browse repository at this point
Copy the full SHA ee881a0View commit details -
Test the release-5.27 branch against the 1.13 branch of Skopeo
Skopeo has updated golang.org/x/exp to an API-incompatible version, so test this stable branch against a corresponding Skopeo stable branch. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 4263884 - Browse repository at this point
Copy the full SHA 4263884View commit details
Commits on Aug 5, 2023
-
Merge pull request containers#2074 from mtrmac/test-skopeo-branch
[release-5.27] Test the release-5.27 branch against the 1.13 branch of Skopeo
Configuration menu - View commit details
-
Copy full SHA for 31ce3fb - Browse repository at this point
Copy the full SHA 31ce3fbView commit details -
list: ListUpdate add Platform field
`c/image` uses `Instance(` API to get the required details of an instance while performing replication `Platform` of instance is needed hence `ListUpdate` must include platform. Needed by: containers#1987 Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 401fa92 - Browse repository at this point
Copy the full SHA 401fa92View commit details -
blob: TryReusingBlobWithOptions consider requiredCompression if set
TryReusingBlob now contains a new option `RequiredCompression` which filters the blob by checking against a compression of the blob which is considerd to be resued, in case `RequiredCompression` is set and `info` of the blob being reused does not matches, no blob is returned. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for a62f0e5 - Browse repository at this point
Copy the full SHA a62f0e5View commit details -
helpers_test,cleanup: correct argument order
Fixes: containers#2023 (comment). `assert.Equal` expects `assert.Equal(t, expected, actual)` instead of `assert.Equal(t, actual, expected)`. Ref:https://pkg.go.dev/github.com/stretchr/testify/assert#Assertions.Equal Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 49f559d - Browse repository at this point
Copy the full SHA 49f559dView commit details -
Fix TestOCI1IndexChooseInstanceByCompression on non-amd64
Setting SystemContext.ArchitectureChoice to "" does not mean "match any/the first platform"; it's the default behavior of SystemContext, and it means "choose for the current runtime architecture". (Originally discussed in containers#1789 (comment) ) I.e. on amd64 these two test cases are redundant with the first two instances above, and on other architectures (notably ARM) they cause failures. So just drop them. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for fbd4da0 - Browse repository at this point
Copy the full SHA fbd4da0View commit details -
listupdate,oci: instance show read-only annotations and CompressionAl…
…gorithmNames There is a need to read annotations of a particular instance to get its compression. Expose `Annotations` as a read-only field. Needed By: containers#1987 Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 049a675 - Browse repository at this point
Copy the full SHA 049a675View commit details -
- Generally I discourage unsing named return values, it's easy to miss that it wasn't set - I have no idea what the "in the middle of a multi-streamed copy" paragraph refers to. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 1a7156c - Browse repository at this point
Copy the full SHA 1a7156cView commit details -
... so that we don't have to carry it around in extra parameters. Migrating individual functions will follow. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 88a7bb9 - Browse repository at this point
Copy the full SHA 88a7bb9View commit details -
Use copier.options in setupSigners
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8cce37b - Browse repository at this point
Copy the full SHA 8cce37bView commit details -
Use copier.options in sourceSignatures
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d2e20d9 - Browse repository at this point
Copy the full SHA d2e20d9View commit details -
Make compareImageDestinationManifestEqual a method on imageCopier
... so that we can eliminate three parameters. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for ca080b0 - Browse repository at this point
Copy the full SHA ca080b0View commit details -
Use copier.options in copySingleImage
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 0b2862d - Browse repository at this point
Copy the full SHA 0b2862dView commit details -
Use copier.options in copyMultipleImages
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 68ed088 - Browse repository at this point
Copy the full SHA 68ed088View commit details -
Consistently use c.options in copy.Image after it is set
... so that the code looks the same here and in possible callees. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 4033bbb - Browse repository at this point
Copy the full SHA 4033bbbView commit details -
Eliminate copier.progress and progressInterval
Use options.Progress and ProgressInterval directly. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c31a914 - Browse repository at this point
Copy the full SHA c31a914View commit details -
Eliminate copier.ociDecryptConfig
Use c.options.OciDecryptConfig directly. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d88ba00 - Browse repository at this point
Copy the full SHA d88ba00View commit details -
Eliminate copier.ociEncryptConfig
Use c.options.OciEncryptConfig directly. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 5e20788 - Browse repository at this point
Copy the full SHA 5e20788View commit details -
Eliminate copier.downloadForeignLayers
Use c.options.DownloadForeignLayers directly. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8b4f64c - Browse repository at this point
Copy the full SHA 8b4f64cView commit details -
Eliminate imageCopier.ociEncryptLayers
Use ic.c.options.OciEncryptLayers directly. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d1d3d63 - Browse repository at this point
Copy the full SHA d1d3d63View commit details -
Introduce copier.unparsedToplevel
So that we don't need to pass it around in a parameter. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 4d791ba - Browse repository at this point
Copy the full SHA 4d791baView commit details -
Use copier.unparsedToplevel in copySingleImage
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 455e5dc - Browse repository at this point
Copy the full SHA 455e5dcView commit details -
Use c.unparsedToplevel in copyMultipleImages
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d6d389c - Browse repository at this point
Copy the full SHA d6d389cView commit details -
Eliminate the unparsedToplevel variable in copy.Image
Use copier.unparsedToplevel now that it exists. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8fcd8ce - Browse repository at this point
Copy the full SHA 8fcd8ceView commit details -
... so that we don't need to carry it around in parameters. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for fa1dfbc - Browse repository at this point
Copy the full SHA fa1dfbcView commit details -
Use copier.policyContext in copySingleImage
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c441f52 - Browse repository at this point
Copy the full SHA c441f52View commit details -
Remove the policyContext parameter from copyMultipleImages
It is no longer used. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for f367a5f - Browse repository at this point
Copy the full SHA f367a5fView commit details -
Return a new struct copySingleImageResult from copySingleImage
... so that we don't have so many unnamed return values, and we can manage the return values as a batch. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 0cdeba7 - Browse repository at this point
Copy the full SHA 0cdeba7View commit details -
Have compareImageDestinationManifestEqual return a *copySingleImageRe…
…sult on a match ... so that the caller doesn't have to assemble it. Using a pointer-or-nil eliminates a separate boolean. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 0517bc4 - Browse repository at this point
Copy the full SHA 0517bc4View commit details -
Track the manifest upload data in a wipResult variable
... instead of three separate ones. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 1e16fb9 - Browse repository at this point
Copy the full SHA 1e16fb9View commit details -
oci_index: init Annotations if nil and required
If `UpdateCompressionAlgorithms` is set then `Annotations` map must be initialized if its not set. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 94b2c09 - Browse repository at this point
Copy the full SHA 94b2c09View commit details -
copy/single: set requiredCompression if compressionFormat is changed
Modifies `copy/single` to correctly use the feature from containers#2023, that is if compression is changed blob must be resued only if it matches required compression. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for e93a281 - Browse repository at this point
Copy the full SHA e93a281View commit details -
copy/single: accept requireCompressionFormatMatch for imagecopier
imagecopier implementes feature for requireCompressionFormatMatch refactor `copySingleImage` to accept that as an argument. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 54d86a5 - Browse repository at this point
Copy the full SHA 54d86a5View commit details -
copy/multiple: instanceCopyCopy honor UpdateCompressionAlgorithms
Users can set compression formats while performing `copy` in such cases `instanceCopyCopy` must honor UpdateCompressionAlgorithms. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 98cd2aa - Browse repository at this point
Copy the full SHA 98cd2aaView commit details -
internal/set: verify if no duplicates in set
Verifies if no duplicates are kept when `.Values()` is used to return slice. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for a650a20 - Browse repository at this point
Copy the full SHA a650a20View commit details -
copy/single: wrap arguments in copySingleImageOptions
Create a wrapper around arguments of `copySingleImage` Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 7521a10 - Browse repository at this point
Copy the full SHA 7521a10View commit details -
copy/single: add custom compressionFormat, compressionLevel fields
After containers#2048 there is no room for copy/multiple to pass custom compressionFormat to copySingleImage while processing each instance, following PR introduces that functionality again and wraps options to simpler struct. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 2a961fd - Browse repository at this point
Copy the full SHA 2a961fdView commit details -
copy/single: honor c.options.DestCtx for regular copy
If its a regular copy callers might not set `compressionFormat` and `compressionLevel` in such case still honor compression which is set in DestinationCtx from copier. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 033a141 - Browse repository at this point
Copy the full SHA 033a141View commit details -
copy: add EnsureCompressionVariantExist for instanceCopyClone
* copy.Options now contains a new field `EnsureCompressionVariantExists map[string]int` which allows users to specify if they want to clone images with specified `compression`. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 2d781e2 - Browse repository at this point
Copy the full SHA 2d781e2View commit details -
internal/set: implement AddSlice for easier syntax
Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 01a09cc - Browse repository at this point
Copy the full SHA 01a09ccView commit details -
copy/multiple: implement instanceCopyClone
Implement `instanceCopyClone` for multiple compression. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 4b86fae - Browse repository at this point
Copy the full SHA 4b86faeView commit details -
copy/multiple: instanceCopyClone set custom compression
While performing copy, set a custom compression passed generated from prepareInstanceCopies. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for a269ca9 - Browse repository at this point
Copy the full SHA a269ca9View commit details -
copy/multiple: error on EnsureCompressionVariant and CopySpecificImages
Following option does not provides a way to detect and exclude compression if it already exists, this feature may be implemented in future. See: containers#1987 (comment) Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 174c46f - Browse repository at this point
Copy the full SHA 174c46fView commit details -
copy/multiple: report more meaningful copy msg
After implementing `instanceCopyClone` now instance to be copied can exceed the original number of instances in the source, so amend report message to make it more meaningful. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 3a40cd2 - Browse repository at this point
Copy the full SHA 3a40cd2View commit details -
copy/multiple_test: retrofit tests for instanceCopyCopy
Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for cfc0078 - Browse repository at this point
Copy the full SHA cfc0078View commit details -
copy/multiple_test: implement test for instanceCopyClone with helpers
Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 70a5292 - Browse repository at this point
Copy the full SHA 70a5292View commit details -
copy/multiple_test: multiple copy requests of same compression
* test multiple copy requests of same compression Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 7f3eeec - Browse repository at this point
Copy the full SHA 7f3eeecView commit details -
copy/multiple_test: clone must happen once for duplicate entries
Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 5defa51 - Browse repository at this point
Copy the full SHA 5defa51View commit details -
copy/copy: fail copySingleImage cases on EnsureCompressionVariantsExist
EnsureCompressionVariantsExist is only valid when working with a manifest list. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for e3cf0f2 - Browse repository at this point
Copy the full SHA e3cf0f2View commit details -
copy/multiple: priority of instanceCopyCopy must be higher
When copying multiple images i.e `instanceCopyClone` and no image exists in registry in such case if clones are prepared and copied first then original copies will reuse blobs from the clone which is unexpected since argument `requireCompressionFormatMatch` is by default false for `instanceCopyCopy` case. Problem described in following PR is easily reproduceable when working with tools such as buildah, because without this PR buildah will push `clones` first instead of originals and later on `originals` will reuse blobs from `clones`. Signed-off-by: Aditya R <arajan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 9eff792 - Browse repository at this point
Copy the full SHA 9eff792View commit details -
.cirrus: lock skopeo to stable version and correct dest branch
Signed-off-by: Aditya R <arajan@redhat.com> Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for e907cf1 - Browse repository at this point
Copy the full SHA e907cf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b5b6fb - Browse repository at this point
Copy the full SHA 7b5b6fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57ab99a - Browse repository at this point
Copy the full SHA 57ab99aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22f70e8 - Browse repository at this point
Copy the full SHA 22f70e8View commit details
Commits on Aug 7, 2023
-
Merge pull request containers#2075 from mtrmac/testing-5.27-backport
[release-5.27] Preparing 5.27 backport
Configuration menu - View commit details
-
Copy full SHA for b6b51e8 - Browse repository at this point
Copy the full SHA b6b51e8View commit details -
Fix the branch we use for determining a git-validation starting point
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8b27658 - Browse repository at this point
Copy the full SHA 8b27658View commit details
Commits on Aug 8, 2023
-
Merge pull request containers#2084 from mtrmac/5.27-validation-branch
[release-5.27] Fix the branch we use for determining a git-validation starting point
Configuration menu - View commit details
-
Copy full SHA for 7e74fd4 - Browse repository at this point
Copy the full SHA 7e74fd4View commit details
Commits on Aug 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 04232f1 - Browse repository at this point
Copy the full SHA 04232f1View commit details