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

Update repository URL and switch to default CI workflow

parent 083ca4e5
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: audisp-json
Section: admin
Priority: extra
Maintainer: Autistici/Inventati <debian@autistici.org>
Build-Depends: debhelper (>= 8.0.0), golang-go, dh-golang, dh-systemd
Build-Depends: debhelper (>= 8.0.0), golang-any, dh-golang, dh-systemd
Standards-Version: 3.9.4
Package: audisp-json
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: audisp-json
Source: <https://git.autistici.org/ai3/audisp-json>
Source: <https://git.autistici.org/ai3/tools/audisp-json>
Files: *
Copyright: 2018 Autistici/Inventati <debian@autistici.org>
......
......@@ -4,12 +4,12 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
export DH_GOPKG = git.autistici.org/ai3/audisp-json
export DH_GOPKG = git.autistici.org/ai3/tools/audisp-json
export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with golang --with systemd --buildsystem golang
override_dh_install:
rm -fr $(CURDIR)/debian/audisp-json/usr/share/gocode
dh_install
override_dh_auto_install:
dh_auto_install
$(RM) -rv debian/audisp-json/usr/share/gocode
......@@ -33,5 +33,5 @@
"revisionTime": "2017-07-21T12:20:51Z"
}
],
"rootPath": "git.autistici.org/ai3/audisp-json"
"rootPath": "git.autistici.org/ai3/tools/audisp-json"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment