Skip to content
Snippets Groups Projects
Commit 6770ba83 authored by ale's avatar ale
Browse files

Switch to standard CI workflow

parent 85cca50c
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: acmeserver
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: acmeserver
......
......@@ -7,9 +7,9 @@ export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with systemd --with golang --buildsystem golang
override_dh_install:
rm -fr $(CURDIR)/debian/acmeserver/usr/share/gocode
dh_install
override_dh_auto_install:
dh_auto_install
$(RM) -rv debian/acmeserver/usr/share/gocode
override_dh_systemd_enable:
dh_systemd_enable --no-enable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment