Skip to content
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

many: extract newGCETarPipelineForImg() helper #985

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Oct 16, 2024

This commit extracts a common helper to setup the right tar options for the GCE tar file generation. The options that need to be passed to tar for GCE need to be exactly right so let's make sure we only have a single place where they are set.

This commit extracts a common helper to setup the right tar
options for the GCE tar file generation. The options that need
to be passed to tar for GCE need to be exactly right so let's
make sure we only have a single place where they are set.
buildPipeline.Checkpoint()

imgPipeline := manifest.NewRawImage(buildPipeline, nil)
imgPipeline.SetFilename("foo.img")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May as well also have a test for disk.raw just to be sure.
Looks good to me though, other than the merge conflict :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants