Merge pull request #9143 from cevich/static_remote

Cirrus: Build static podman-remote
This commit is contained in:
OpenShift Merge Robot
2021-01-29 11:51:19 -05:00
committed by GitHub
3 changed files with 4 additions and 1 deletions

View File

@ -342,7 +342,7 @@ static_alt_build_task:
- build - build
# Community-maintained task, may fail on occasion. If so, uncomment # Community-maintained task, may fail on occasion. If so, uncomment
# the next line and file an issue with details about the failure. # the next line and file an issue with details about the failure.
allow_failures: $CI == $CI # allow_failures: $CI == $CI
gce_instance: *bigvm gce_instance: *bigvm
env: env:
<<: *stdenvars <<: *stdenvars

View File

@ -39,6 +39,7 @@ filtered_changes=$(git diff --name-status $base $head |
egrep -v '^contrib/' | egrep -v '^contrib/' |
egrep -v '^docs/' | egrep -v '^docs/' |
egrep -v '^hack/' | egrep -v '^hack/' |
egrep -v '^nix/' |
egrep -v '^vendor/' | egrep -v '^vendor/' |
egrep -v '^version/') egrep -v '^version/')
if [[ -z "$filtered_changes" ]]; then if [[ -z "$filtered_changes" ]]; then

View File

@ -49,9 +49,11 @@ let
buildPhase = '' buildPhase = ''
patchShebangs . patchShebangs .
make bin/podman make bin/podman
make bin/podman-remote
''; '';
installPhase = '' installPhase = ''
install -Dm755 bin/podman $out/bin/podman install -Dm755 bin/podman $out/bin/podman
install -Dm755 bin/podman-remote $out/bin/podman-remote
''; '';
}; };
in self in self