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

Use pigz as tar decompressor #167

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pkg/leeway/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@
} else {
commands[PackageBuildPhasePrep] = append(commands[PackageBuildPhasePrep], [][]string{
{"mkdir", tgt},
{"tar", "xfz", builtpkg, "--no-same-owner", "-C", tgt},
{"tar", "xf", builtpkg, "--no-same-owner", fmt.Sprintf("--use-compress-program=%v", compressor), "-C", tgt},

Check warning on line 953 in pkg/leeway/build.go

View check run for this annotation

Codecov / codecov/patch

pkg/leeway/build.go#L953

Added line #L953 was not covered by tests
}...)
}
}
Expand Down Expand Up @@ -1197,7 +1197,7 @@
tgt := filepath.Join("_deps", p.BuildLayoutLocation(dep))
commands[PackageBuildPhasePrep] = append(commands[PackageBuildPhasePrep], [][]string{
{"mkdir", tgt},
{"tar", "xfz", builtpkg, "--no-same-owner", "-C", tgt},
{"tar", "xf", builtpkg, "--no-same-owner", fmt.Sprintf("--use-compress-program=%v", compressor), "-C", tgt},

Check warning on line 1200 in pkg/leeway/build.go

View check run for this annotation

Codecov / codecov/patch

pkg/leeway/build.go#L1200

Added line #L1200 was not covered by tests
}...)

if dep.Type != GoPackage {
Expand Down Expand Up @@ -1301,7 +1301,7 @@
tgt := p.BuildLayoutLocation(dep)
commands[PackageBuildPhasePrep] = append(commands[PackageBuildPhasePrep], [][]string{
{"mkdir", tgt},
{"tar", "xfz", fn, "--no-same-owner", "-C", tgt},
{"tar", "xf", fn, "--no-same-owner", fmt.Sprintf("--use-compress-program=%v", compressor), "-C", tgt},
}...)

if dep.Type != DockerPackage {
Expand Down Expand Up @@ -1571,7 +1571,7 @@
tgt := p.BuildLayoutLocation(dep)
commands = append(commands, [][]string{
{"mkdir", tgt},
{"tar", "xfz", fn, "--no-same-owner", "-C", tgt},
{"tar", "xf", fn, "--no-same-owner", fmt.Sprintf("--use-compress-program=%v", compressor), "-C", tgt},

Check warning on line 1574 in pkg/leeway/build.go

View check run for this annotation

Codecov / codecov/patch

pkg/leeway/build.go#L1574

Added line #L1574 was not covered by tests
}...)
}

Expand Down
Loading