Skip to content
Snippets Groups Projects
Commit 35d4d778 authored by ale's avatar ale
Browse files

Update Debian metadata and switch to default CI pipeline

parent f9c2a17e
No related branches found
No related tags found
No related merge requests found
stages:
- build_src
- build_pkg
- upload
build:src:
stage: build_src
image: "ai/build:stretch"
script: "build-dsc"
artifacts:
paths:
- build-deb/
only:
- master
build:pkg:
stage: build_pkg
image: "ai/build:stretch"
script: "build-deb"
dependencies:
- build:src
artifacts:
paths:
- output-deb/
only:
- master
upload:pkg:
stage: upload
image: "ai/pkg:base"
script: "upload-packages -r ai3"
dependencies:
- build:pkg
only:
- master
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-common.yml"
......@@ -2,7 +2,7 @@ Source: keystore
Section: admin
Priority: optional
Maintainer: Autistici/Inventati <debian@autistici.org>
Build-Depends: debhelper (>=9), golang-go, dh-systemd, dh-golang
Build-Depends: debhelper (>=9), golang-any (>=1.11), dh-systemd, dh-golang
Standards-Version: 3.9.6
Package: keystored
......
......@@ -7,7 +7,7 @@ export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with systemd --with golang --buildsystem golang
override_dh_install:
rm -fr $(CURDIR)/debian/tmp/usr/share/gocode
dh_install
override_dh_auto_install:
dh_auto_install
$(RM) -rv debian/tmp/usr/share/gocode
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment