summaryrefslogtreecommitdiff
path: root/contrib/cirrus/build_release.sh
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-10-05 08:42:15 -0500
committerGitHub <noreply@github.com>2020-10-05 08:42:15 -0500
commitcaace52d54c846c948c88a62f973f4d11808532e (patch)
tree41ef903d08193a4f6ff0edba9727f54a1e0583d5 /contrib/cirrus/build_release.sh
parent436dda23852a367807d86e98b7a59f09a82c1802 (diff)
parent2c9084e2245834094e14e9105e64b6062d70a0f1 (diff)
downloadpodman-caace52d54c846c948c88a62f973f4d11808532e.tar.gz
podman-caace52d54c846c948c88a62f973f4d11808532e.tar.bz2
podman-caace52d54c846c948c88a62f973f4d11808532e.zip
Merge pull request #6784 from cevich/new_ci_cd
Cirrus: Make efficient and performant
Diffstat (limited to 'contrib/cirrus/build_release.sh')
-rwxr-xr-xcontrib/cirrus/build_release.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/contrib/cirrus/build_release.sh b/contrib/cirrus/build_release.sh
deleted file mode 100755
index 46fe9781f..000000000
--- a/contrib/cirrus/build_release.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-source $(dirname $0)/lib.sh
-
-req_env_var RCLI OS_RELEASE_ID GOSRC
-
-cd $GOSRC
-
-if [[ "$RCLI" == "true" ]] && [[ -z "$CROSS_PLATFORM" ]]
-then
- CROSS_PLATFORM=linux
-fi
-
-if [[ -n "$CROSS_PLATFORM" ]]
-then
- # Will fail if $CROSS_PLATFORM is unsupported cross-compile $GOOS value
- make podman-remote-${CROSS_PLATFORM}-release
-
- echo "Compiling podman-remote release archive for ${CROSS_PLATFORM}"
- if [[ "$CROSS_PLATFORM" == "windows" ]]
- then
- # TODO: Remove next line, part of VM images next time they're built.
- dnf install -y libmsi1 msitools pandoc
- make podman.msi
- fi
-else
- echo "Compiling release archive for $OS_RELEASE_ID"
- make podman-release
-fi
-
-echo "Preserving build details for later use."
-mv -v release.txt actual_release.txt # Another 'make' during testing could overwrite it