source: gitlab-build.sh

develop 4.0.6-2
Last change on this file was 1c3f8d2, checked in by Shane Alcock <salcock@…>, 20 months ago

Reverse attempt to not depend on dpdk-dev for some suites.

I've decided instead that we *will* provide dpdk 17.11 packages
for the older suites (within the libtrace repository) so we
no longer lose any functionality compared with previous libtrace
packages.

  • Property mode set to 100755
File size: 892 bytes
Line 
1#!/bin/bash
2
3set -x -e -o pipefail
4
5export DEBEMAIL='packaging@wand.net.nz'
6export DEBFULLNAME='WAND Packaging'
7export DEBIAN_FRONTEND=noninteractive
8
9apt-get update
10apt-get install -y equivs devscripts dpkg-dev quilt curl apt-transport-https \
11    apt-utils ssl-cert ca-certificates gnupg lsb-release debhelper git
12
13echo "deb https://dl.bintray.com/wand/general $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/wand.list
14echo "deb https://dl.bintray.com/wand/libtrace $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/wand.list
15curl https://packages.wand.net.nz/keyring.gpg -o /etc/apt/trusted.gpg.d/wand.gpg
16
17apt-get update
18apt-get upgrade -y
19
20dpkg-parsechangelog -S version | grep -q ${CI_COMMIT_REF_NAME} || debchange --newversion ${CI_COMMIT_REF_NAME} -b "New upstream release"
21mk-build-deps -i -r -t 'apt-get -f -y --force-yes'
22dpkg-buildpackage -b -us -uc -rfakeroot -j4
Note: See TracBrowser for help on using the repository browser.