Commit b4380cb9 authored by ale's avatar ale

Add Debian package metadata

parent bcd5150a
Pipeline #1118 failed with stages
in 1 minute and 7 seconds
stages:
- test
- build_src
- build_pkg
- upload
# Do not run tests on master, they are executed by the
# Debian package builder.
test:
stage: test
image: "ai/test:go"
script: "go-test-runner ."
except:
- master
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
tabacco (0.1) unstable; urgency=medium
* First release.
-- ale <ale@incal.net> Mon, 06 Aug 2018 19:08:16 +0100
Source: tabacco
Section: admin
Priority: extra
Maintainer: ale <ale@incal.net>
Uploaders: ale <ale@incal.net>
Build-Depends: debhelper (>= 9),
dh-golang,
golang-go
Standards-Version: 3.9.6
XS-Go-Import-Path: git.autistici.org/ale/tabacco
Package: tabacco
Architecture: any
Built-Using: ${misc:Built-Using}
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Backup manager for distributed systems.
Backup manager for distributed systems, with a specific
focus on multi-tenant (partitioned) services.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: tabacco
Source: https://git.autistici.org/ale/tabacco
Files: *
Copyright: 2018 <ale@incal.net>
License: GPL3
Files: debian/*
Copyright: 2018 ale <ale@incal.net>
License: GPL3
Comment: Debian packaging is licensed under the same terms as upstream
#!/usr/bin/make -f
export DH_GOPKG = git.autistici.org/ale/tabacco
export DH_GOLANG_EXCLUDES = vendor
export DH_GOLANG_INSTALL_ALL = 1
%:
dh $@ --buildsystem=golang --with=golang
override_dh_install:
rm -fr $(CURDIR)/debian/tmp/usr/share/gocode
dh_install
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