Commit 6bc38fb7 authored by Guido Gunther's avatar Guido Gunther

Update submodules

This is usually expected but can be turned off. Pipelines
that worked so far did so by accident (cached containers).
parent 67840cfa
......@@ -5,6 +5,7 @@ variables:
L5_ADD_SCRATCH_CI: 'true'
L5_WORKING_DIR: $CI_PROJECT_DIR/debian/output
L5_LINTIAN_OPTS: --suppress-tags bad-distribution-in-changes-file
L5_GIT_SUBMODULE_UPDATE: 'true'
.l5-build-debian-package:
image: ${L5_DOCKER_IMAGE}
......@@ -15,12 +16,13 @@ variables:
- echo "man-db man-db/auto-update boolean false" | debconf-set-selections
- export DEBIAN_FRONTEND=noninteractive
- apt-get -y update
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || apt-get -y install build-essential wget ca-certificates gnupg'
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || apt-get -y install build-essential wget ca-certificates gnupg git'
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || echo "deb http://ci.puri.sm/ scratch librem5" > /etc/apt/sources.list.d/ci.list'
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || wget -O- https://ci.puri.sm/ci-repo.key | apt-key add -'
- apt-get -y update
- apt-get -y build-dep .
script:
- '[ "$L5_GIT_SUBMODULE_UPDATE" != "true" ] || git submodule update --recursive'
- dpkg-buildpackage -b -uc -us
- rm -rf "${L5_WORKING_DIR}"; mkdir -p "${L5_WORKING_DIR}"
- cp -l ../*.deb ../*.changes ../*.buildinfo "${L5_WORKING_DIR}/"
......
Markdown is supported
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