Skip to content
Snippets Groups Projects
Verified Commit 9601bade authored by micah's avatar micah :speech_balloon: Committed by micah
Browse files

[pkg] Update package build.

. Update the registry path to current name
. Change to a publish stage
. Setup template builds, with buster to begin
parent a53bb6ad
No related branches found
No related tags found
No related merge requests found
......@@ -3,28 +3,40 @@ stages:
- build
- push
- trigger
- publish
variables:
GOPATH: /go
APP_PATH: /go/src/0xacab.org/leap/bitmask-vpn
deb:
image: 0xacab.org:4567/leap/docker/buster_amd64:latest
stage: build
allow_failure: false
.job_template: &job_definition
stage: publish
# Only build packages for https://0xacab.org/leap/bitmask-dev, not
# for forks
image: "0xacab.org:4567/leap/gitlab-buildpackage:build_${DIST}_${ARCH}"
script:
- git checkout incoming
- git config user.name "Gitlab CI"
- git config user.email "gitlabci@0xacab.org"
- git checkout origin/master debian/ helpers/
- git add debian/* helpers/*
- git commit -m 'autocommit for debian folder'
- gbp buildpackage --git-ignore-new --git-force-create --git-upstream-tree=SLOPPY --git-no-pristine-tar --git-debian-branch=incoming --git-builder='debuild -us -uc'
- mv ../*.deb .
tags:
- linux
- "pwd; git describe"
- git checkout incoming
- git checkout origin/master debian/ helpers/
#- build-build-package
# Test the package with lintian
#- build-test-lintian
#- upload-package
# sleep 1h to allow debugging of running container
- sleep 9999
artifacts:
name: debian_$CI_COMMIT_REF_NAME
paths:
- ./*.deb
expire_in: 1 month
expire_in: 1w
paths:
- '*_*.xz'
- '*_*.dsc'
- '*_amd64.changes'
- '*.deb'
- 'results/*'
package:amd64_stretch:
variables:
ARCH: "amd64"
DIST: "stretch"
REPONAMES: "client"
# Default is to fail on warnings, we disable it here
# unless all lintian warnings are fixed (#9033)
LINTIAN_OPTS: "-X filename-length, --suppress-tags newer-standards-version"
<<: *job_definition
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment