Add building on message in drone build

This commit is contained in:
Jason Rhinelander 2020-11-10 15:53:57 -04:00
parent f26fb8c125
commit 75962f999b

View File

@ -24,6 +24,7 @@ local deb_pipeline(image, buildarch='amd64', debarch='amd64', jobs=6) = {
image: image, image: image,
environment: { SSH_KEY: { from_secret: "SSH_KEY" } }, environment: { SSH_KEY: { from_secret: "SSH_KEY" } },
commands: [ commands: [
'echo "Building on ${DRONE_STAGE_MACHINE}"',
'echo "man-db man-db/auto-update boolean false" | debconf-set-selections', 'echo "man-db man-db/auto-update boolean false" | debconf-set-selections',
'echo deb http://deb.loki.network' + repo_suffix + ' ' + distro + ' main >/etc/apt/sources.list.d/loki.list', 'echo deb http://deb.loki.network' + repo_suffix + ' ' + distro + ' main >/etc/apt/sources.list.d/loki.list',
'cp debian/deb.loki.network.gpg /etc/apt/trusted.gpg.d', 'cp debian/deb.loki.network.gpg /etc/apt/trusted.gpg.d',