Skip to content

Add support for compression mode#822

Merged
pditommaso merged 7 commits intomasterfrom
add-build-compression-mode
May 1, 2025
Merged

Add support for compression mode#822
pditommaso merged 7 commits intomasterfrom
add-build-compression-mode

Conversation

@pditommaso
Copy link
Copy Markdown
Collaborator

This PR adds support for compression to container build requests.

Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
@pditommaso
Copy link
Copy Markdown
Collaborator Author

It should be considered to add the compression to the containerId function to force a re-build when changing the compression mode

final attrs = new LinkedHashMap<String,String>(10)
attrs.containerFile = containerFile
attrs.condaFile = condaFile
attrs.platform = platform?.toString()
attrs.repository = repository
if( buildContext ) attrs.buildContext = buildContext.tarDigest
return RegHelper.sipHash(attrs)

@ewels ewels added the planned label Apr 22, 2025
@pditommaso pditommaso merged commit 72566c0 into master May 1, 2025
5 checks passed
@pditommaso pditommaso deleted the add-build-compression-mode branch May 1, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants