From 851349345b4bbf5c4da8a1e5d102e08a3b781a9b Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Mon, 6 Dec 2021 15:57:13 -0500 Subject: Cirrus: Remove remnants of nix-based static build Simply a readme update and dead-code cleanup. Signed-off-by: Chris Evich --- contrib/cirrus/runner.sh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'contrib') 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 -- cgit v1.2.3-54-g00ecf