Cirrus: Remove remnants of nix-based static build

Simply a readme update and dead-code cleanup.

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich 2021-12-06 15:57:13 -05:00
parent 9af07fd3ed
commit 851349345b
No known key found for this signature in database
GPG key ID: 03EDC70FD578067F
2 changed files with 0 additions and 24 deletions

View file

@ -166,13 +166,3 @@ familiar container cli commands. For more details, see the
Podman formerly offered a Varlink-based API for remote management of containers. However, this API
was replaced by the REST API. Varlink support has been removed as of the 3.0 release.
For more details, you can see [this blog](https://podman.io/blogs/2020/01/17/podman-new-api.html).
## Static Binary Builds
The Cirrus CI integration within this repository contains a `Static_Build` job
which produces static Podman binaries for testing purposes. Please note that
these binaries are not officially supported with respect to feature-completeness
and functionality and should be only used for testing. To download these binaries,
load the build link with the commit SHA at
[main](https://cirrus-ci.com/github/containers/podman/main) or
`https://cirrus-ci.com/github/containers/podman/pull/<selected PR>`
and open the artifacts folder within `Static Build`.

View file

@ -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