Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mailman-lmtp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
thirdparty
mailman-lmtp
Commits
3596ade8
Commit
3596ade8
authored
1 year ago
by
godog
Browse files
Options
Downloads
Patches
Plain Diff
ci: build on buster only
parent
3cce5efc
Branches
Branches containing commit
No related tags found
1 merge request
!3
Build on buster
Pipeline
#58889
passed
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+40
-4
40 additions, 4 deletions
.gitlab-ci.yml
with
40 additions
and
4 deletions
.gitlab-ci.yml
+
40
−
4
View file @
3596ade8
include
:
"
https://git.autistici.org/pipelines/debian/raw/master/common.yml"
# mailman has stopped working after 'buster' (python2) thus keep CI pinned on
# buster (from https://git.autistici.org/pipelines/debian/-/blob/master/common.yml)
stages
:
-
test
-
build
-
release
# debian/patches patches are kept applied in the tree, no need to
# double-apply them when building the source package.
# Thus remove the patches altogether and build an original tarball out of HEAD.
pkg_src
:
stage
:
build
image
:
"
registry.git.autistici.org/pipelines/debian:buster-amd64"
# debian/patches patches are kept applied in the tree, no need to
# double-apply them when building the source package.
# Thus remove the patches altogether and build an original tarball out of HEAD.
script
:
-
rm -rf debian/patches
-
git archive --prefix orig/ --output ../$(dpkg-parsechangelog -SSource)_$(dpkg-parsechangelog -SVersion | sed -e 's/-[^-]*$//' -e 's/^[0-9]*://').orig.tar.gz HEAD
# nicer version with git-buildpackage >= 0.9.8
#- gbp export-orig --upstream-tag=HEAD
-
build-dsc
artifacts
:
paths
:
-
build-deb/
expire_in
:
1 day
build_pkg:buster:amd64
:
image
:
"
registry.git.autistici.org/pipelines/debian:buster-amd64"
tags
:
-
amd64
stage
:
build
needs
:
[
"
pkg_src"
]
script
:
-
build-deb
artifacts
:
paths
:
-
output-deb/
expire_in
:
1 day
# Changes to the 'master' branch are uploaded to the main repositories.
upload_pkg:buster
:
stage
:
release
# Use 'bookworm' image since the distro doesn't matter for upload
image
:
"
registry.git.autistici.org/pipelines/debian:bookworm-amd64"
needs
:
[
"
build_pkg:buster:amd64"
]
script
:
-
upload-packages --repository ${REPOSITORY:-float}/buster
only
:
-
master
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment