Skip to content

Commit

Permalink
Merge pull request #12526 from cevich/remove_static
Browse files Browse the repository at this point in the history
[CI:DOCS] Cirrus: Remove remnants of nix-based static build
  • Loading branch information
openshift-merge-robot authored Dec 7, 2021
2 parents 7d290b3 + 8513493 commit 2f11e2a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
14 changes: 0 additions & 14 deletions contrib/cirrus/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f11e2a

Please sign in to comment.