diff options
author | varac <varacanero@zeromail.org> | 2017-03-12 13:10:35 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2017-03-21 12:24:11 +0100 |
commit | 6d991c1e3239f8a143c843dd054e664419c4b0a9 (patch) | |
tree | ec3dc97d925076ecd713fe07f1076af72c107aa0 | |
parent | 8eeb1e767644219cde11e04545787b63ac8abe95 (diff) |
Package for jessie/amd64
-rw-r--r-- | .gitlab-ci.yml | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee57c51c..789e8360 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,8 @@ +# - Fail again on linitan errors once current ones are fixed +# - Package after testing, not before +# stages: + - package - code-check - tests @@ -7,9 +11,28 @@ cache: paths: - testing/.tox/ +.job_template: &job_definition + stage: package + image: "0xacab.org:4567/leap/gitlab-buildpackage:build_${DIST}_${ARCH}" + script: + - "pwd; git describe" + - build-build-package + # Test the package with lintian + - build-test-lintian + - upload-package + # sleep 1h to allow debugging of running container + #- sleep 3600 + artifacts: + expire_in: 1w + paths: + - '*_*.xz' + - '*_*.dsc' + - '*_amd64.changes' + - '*.deb' + - 'results/*' + code-check: stage: code-check - image: leapcode/soledad:latest script: - cd testing - tox -e code-check @@ -22,3 +45,11 @@ tests: script: - cd testing - tox -- --couch-url http://couchdb:5984 + +package:amd64_jessie: + variables: + ARCH: "amd64" + DIST: "jessie" + # Don't try to freeze the python version + PRE_COMMIT_CMD: "/bin/true" + <<: *job_definition |