mirror of
https://github.com/univention/univention-domain-join.git
synced 2025-10-26 11:27:12 +00:00
ci: Compress with XZ
until <https://gitlab.com/gitlab-org/gitlab/-/issues/422584> is fixed. Automatically register Distribution/Codename.
This commit is contained in:
parent
836cf6fa1b
commit
7503e7f705
@ -66,8 +66,14 @@ upload:gitlab:
|
||||
extends: .upload
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_PROTECTED == "true"
|
||||
script:
|
||||
- dput --force gitlab univention-domain-join_*_amd64.changes
|
||||
script: |
|
||||
src=$(dpkg-parsechangelog -SSource)
|
||||
ver=$(dpkg-parsechangelog -SVersion)
|
||||
dist=$(dpkg-parsechangelog -SDistribution)
|
||||
URL="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/debian_distributions?codename=${dist}"
|
||||
curl --fail --head "$URL" ||
|
||||
curl --fail --request POST --user "PRIVATE-TOKEN:${CI_JOB_TOKEN}" "$URL"
|
||||
dput --force gitlab "${src}_${ver}_amd64.changes"
|
||||
|
||||
.launchpad:
|
||||
extends: .upload
|
||||
|
||||
3
debian/rules
vendored
3
debian/rules
vendored
@ -12,3 +12,6 @@ export http_proxy=http://127.0.0.1:9
|
||||
# python-univention-domain-join binary package.
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
override_dh_builddeb:
|
||||
dh_builddeb -- -Zxz
|
||||
|
||||
Loading…
Reference in New Issue
Block a user