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: ...@@ -3,28 +3,40 @@ stages:
- build - build
- push - push
- trigger - trigger
- publish
variables: .job_template: &job_definition
GOPATH: /go stage: publish
APP_PATH: /go/src/0xacab.org/leap/bitmask-vpn # Only build packages for https://0xacab.org/leap/bitmask-dev, not
# for forks
deb: image: "0xacab.org:4567/leap/gitlab-buildpackage:build_${DIST}_${ARCH}"
image: 0xacab.org:4567/leap/docker/buster_amd64:latest
stage: build
allow_failure: false
script: script:
- "pwd; git describe"
- git checkout incoming - git checkout incoming
- git config user.name "Gitlab CI"
- git config user.email "gitlabci@0xacab.org"
- git checkout origin/master debian/ helpers/ - git checkout origin/master debian/ helpers/
- git add debian/* helpers/* #- build-build-package
- git commit -m 'autocommit for debian folder' # Test the package with lintian
- 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' #- build-test-lintian
- mv ../*.deb . #- upload-package
tags: # sleep 1h to allow debugging of running container
- linux - sleep 9999
artifacts: artifacts:
name: debian_$CI_COMMIT_REF_NAME expire_in: 1w
paths: paths:
- ./*.deb - '*_*.xz'
expire_in: 1 month - '*_*.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