Commit 68195c87 authored by ale's avatar ale

Update Debian metadata and switch to default CI pipeline

parent ffe2dbef
Pipeline #2545 passed with stages
in 7 minutes and 43 seconds
stages:
- test
- build_src
- build_pkg
- upload
test:
stage: test
image: "ai/test:go"
script: "go-test-runner ./..."
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: usermetadb
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: user-meta-server
......
......@@ -7,9 +7,9 @@ export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with systemd --with golang --buildsystem golang
override_dh_install:
rm -fr $(CURDIR)/debian/user-meta-server/usr/share/gocode
dh_install
override_dh_auto_install:
dh_auto_install
$(RM) -rv debian/user-meta-server/usr/share/gocode
override_dh_systemd_enable:
dh_systemd_enable --no-enable
......
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