Commit d6b6f1ba authored by Johannes Meyer's avatar Johannes Meyer
Browse files

icinga-build-deb-source: Expect a tarball if `USCAN_DOWNLOAD=no`

parent ec1a06d5
Pipeline #11059 passed with stage
in 23 seconds
......@@ -44,6 +44,11 @@ if [ "${ICINGA_BUILD_TYPE}" == "release" ] ; then
echo "[ Downloading current tarball with uscan ]"
(
set -ex
if [ "${USCAN_DOWNLOAD}" == "no" ]; then
cp ./*.tar* "${BUILDDIR}/"
fi
cd "${BUILDDIR}/${ICINGA_BUILD_PROJECT}"
run-retry-timeout uscan --download-current-version --verbose
)
......
......@@ -48,6 +48,7 @@ trap 'rm -f ${env_file}' EXIT INT
env | grep -e ^ICINGA > "${env_file}" || true
env | grep -e ^APTLY >> "${env_file}" || true
env | grep -e ^CI_ >> "${env_file}" || true
env | grep -e ^USCAN_ >> "${env_file}" || true
echo "[ Running build in Docker ]"
set -ex
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment