Skip to content

Commit

Permalink
ci: run tests when building the tarball
Browse files Browse the repository at this point in the history
It is less complicated to run them here than as part of the actual
rpm/deb build because 'clitest' is not packaged for all our build
distributions.
  • Loading branch information
JoelColledge committed Aug 11, 2020
1 parent ab21d02 commit c911ca3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build:
./build-helpers/dummy-release.sh drbd-utils "$DRBD_UTILS_VERSION" drbd.spec.in
./autogen.sh
./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --without-83support --without-manual
make doc .filelist tgz FORCE=1 PRESERVE_DEBIAN=1 REL_VERSION="$DRBD_UTILS_VERSION"
make debrelease FORCE=1 REL_VERSION="$DRBD_UTILS_VERSION"
curl -isSf -u $LINBIT_REGISTRY_USER:$LINBIT_REGISTRY_PASSWORD --upload-file drbd-utils-*.tar.gz $LINBIT_REGISTRY_URL/repository/lbbuild-upstream/
- |
META_JSON=$(rq -t < source/drbd-test-bundle/virter/vms.toml | jq '.vms[].metadata')
Expand Down
1 change: 1 addition & 0 deletions .gitlab/drbd-utils-build-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM ubuntu:bionic

RUN apt-get update && apt-get install -y \
git make gawk autoconf flex \
clitest \
jq parallel xsltproc \
docbook-xsl po4a pkg-config && \
rm -rf /var/lib/apt/lists/*

0 comments on commit c911ca3

Please sign in to comment.