Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathieu Parent
lemonldap-ng
Commits
c09307ca
Commit
c09307ca
authored
Dec 13, 2017
by
Mathieu Parent
Browse files
Initial Continuous Integration
parent
ae361bf8
Pipeline
#452
passed with stage
in 2 minutes and 5 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
c09307ca
stages
:
-
build
build-debian
:
stage
:
build
image
:
debian:stretch
script
:
|
echo "Installing build dependencies..."
apt-get update
apt-get install -y build-essential
apt-get build-dep -y .
echo "Converting to native package..."
suffix="~$CI_COMMIT_SHA"
sed -i "1{s/-1) /$suffix) /}" debian/changelog
sed -i 's/3.0 (quilt)/3.0 (native)/' debian/source/format
echo "Building LemonLDAP..."
dpkg-buildpackage
echo "Moving artifacts..."
mkdir artifacts
mv ../*.tar.xz ../*.dsc ../*.changes ../*.deb artifacts
artifacts
:
paths
:
-
'
artifacts/*'
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment