aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/runner.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2021-12-06 15:57:13 -0500
committerChris Evich <cevich@redhat.com>2021-12-06 16:00:17 -0500
commit851349345b4bbf5c4da8a1e5d102e08a3b781a9b (patch)
tree8397b81347e449ad62864abe144be1083cd41a39 /contrib/cirrus/runner.sh
parent9af07fd3ed7157f5944c35e83ff96ed8909d7be3 (diff)
downloadpodman-851349345b4bbf5c4da8a1e5d102e08a3b781a9b.tar.gz
podman-851349345b4bbf5c4da8a1e5d102e08a3b781a9b.tar.bz2
podman-851349345b4bbf5c4da8a1e5d102e08a3b781a9b.zip
Cirrus: Remove remnants of nix-based static build
Simply a readme update and dead-code cleanup. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/runner.sh')
-rwxr-xr-xcontrib/cirrus/runner.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index 899d14c96..2c961da06 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -259,20 +259,6 @@ function _run_altbuild() {
make podman-release-${arch}.tar.gz GOARCH=$arch
done
;;
- *Static*)
- req_env_vars CTR_FQIN
- [[ "$UID" -eq 0 ]] || \
- die "Static build must execute nixos container as root on host"
- podman run -i --rm \
- -e CACHIX_AUTH_TOKEN \
- -v $PWD:$PWD:Z -w $PWD $CTR_FQIN sh -c \
- "nix-env -iA cachix -f https://cachix.org/api/v1/install && \
- cachix use podman && \
- nix-build nix && \
- nix-store -qR --include-outputs \$(nix-instantiate nix/default.nix) | grep -v podman | cachix push podman && \
- cp -R result/bin ."
- rm result # makes cirrus puke
- ;;
*)
die "Unknown/Unsupported \$$ALT_NAME '$ALT_NAME'"
esac