Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
samba
Manage
Activity
Members
Labels
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Debian Samba Team
samba
Commits
28247037
Commit
28247037
authored
6 years ago
by
Mathieu Parent
Browse files
Options
Downloads
Patches
Plain Diff
Do not use dind, and add experimental
parent
0d7f77cc
No related branches found
No related tags found
No related merge requests found
Pipeline
#21329
failed with stages
in 4 minutes and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/gitlab-ci.yml
+10
-5
10 additions, 5 deletions
debian/gitlab-ci.yml
debian/gitlab-ci.yml.tpl
+3
-0
3 additions, 0 deletions
debian/gitlab-ci.yml.tpl
with
13 additions
and
5 deletions
debian/gitlab-ci.yml
+
10
−
5
View file @
28247037
...
...
@@ -15,17 +15,19 @@ image: debian:unstable
build package
:
stage
:
build
image
:
registry.salsa.debian.org/salsa-ci-team/images/gbp
services
:
-
docker:dind
image
:
registry.salsa.debian.org/salsa-ci-team/images/dockerbuilder
artifacts
:
expire_in
:
180 day
name
:
"
$CI_BUILD_NAME"
paths
:
-
${WORKING_DIR}/
script
:
-
gbp pull --ignore-branch --pristine-tar --track-missing
-
gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR} --git-builder='docker-build.sh registry.salsa.debian.org/salsa-ci-team/images/dockerbuilder'
-
apt-get update
-
apt-get dist-upgrade -y
-
eatmydata apt-get install build-essential devscripts git-buildpackage pristine-tar ca-certificates fakeroot --no-install-recommends -y
-
eatmydata apt-get build-dep -y .
-
eatmydata gbp pull --ignore-branch --pristine-tar --track-missing
-
eatmydata gbp buildpackage --git-ignore-branch --git-export-dir=${WORKING_DIR}
run autopkgtest
:
stage
:
test
...
...
@@ -69,3 +71,6 @@ run piuparts:
-
piuparts --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb
# End of include
#################################### Below starts the local customization ###################################
before_script
:
-
echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
-
"
echo
-e
'Package:
*
\n
Pin:
release
a=experimental
\n
Pin-Priority:
600
\n\n
Package:
*
\n
Pin:
release
o=Debian
\n
Pin-Priority:
700'
>
/etc/apt/preferences.d/experimental.pref"
This diff is collapsed.
Click to expand it.
debian/gitlab-ci.yml.tpl
+
3
−
0
View file @
28247037
include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
# end of salsa pipeline bot parser
before_script:
- echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
- "echo -e 'Package: *\nPin: release a=experimental\nPin-Priority: 600\n\nPackage: *\nPin: release o=Debian\nPin-Priority: 700' > /etc/apt/preferences.d/experimental.pref"
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