mirror of
https://github.com/containers/podman
synced 2024-10-19 08:44:11 +00:00
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:
parent
9af07fd3ed
commit
851349345b
10
README.md
10
README.md
|
@ -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`.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue