Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pkg-varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
pkg-varnish-cache
Commits
884d10fb
Commit
884d10fb
authored
Aug 25, 2016
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build packages on trusty only from now on.
parent
97db80ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
14 deletions
+8
-14
package-deb
package-deb
+8
-14
No files found.
package-deb
View file @
884d10fb
...
...
@@ -4,16 +4,13 @@
#
# This is the script that our Jenkins/CI system runs. Yes, it is a bit messy.
#
#
# For running this on your own computer (jessie), see https://wiki.debian.org/mk-sbuild
# For running this on your own computer (trusty), see https://wiki.debian.org/mk-sbuild
# for information on setting up sbuild.
# Short version: 1) apt-get install ubuntu-dev-tools 2) mk-sbuild
jessie
# Short version: 1) apt-get install ubuntu-dev-tools 2) mk-sbuild
trusty
#
# To CHANGE the golden image: sudo schroot -c source:jessie-amd64 -u root
# To ENTER an image snapshot: schroot -c jessie-amd64
# To BUILD within a snapshot: sbuild -A -d jessie-amd64 PACKAGE*.dsc
BINDISTS
=
${
BINDISTS
:-
jessie
}
# To CHANGE the golden image: sudo schroot -c source:trusty-amd64 -u root
# To ENTER an image snapshot: schroot -c trusty-amd64
# To BUILD within a snapshot: sbuild -A -d trusty-amd64 PACKAGE*.dsc
if
[[
-n
"
${
JENKINS_HOME
}
"
]]
;
then
set
-x
...
...
@@ -35,7 +32,7 @@ findversion $SOURCE
if
[[
-n
"
${
DEBVERSION
}
"
]]
&&
[[
${
DEBVERSION
}
-gt
1
]]
;
then
echo
"DEBVERSION set, this is a release build. Using published tarball."
rm
$SOURCE
(
cd
sources
;
wget https://repo.varnish-cache.org/source/varnish-
$V
.
$MINOR
.tar.gz
)
./dl-source
$V
.
$MINOR
sources
SOURCE
=
$(
ls
-1
sources/varnish-
*
.tar.gz
)
findversion
$SOURCE
fi
...
...
@@ -66,8 +63,5 @@ cd ..
# By now we are done setting up and building the source package.
# Build binary packages for the requested releases inside chroots.
for
dist
in
$BINDISTS
;
do
export
DEBIAN_OVERRIDE_BINARY_VERSION
=
"
$FULL_VERSION
~
$dist
"
sbuild
-v
-A
-c
"
$dist
-amd64
$chroot_postfix
"
-d
"
$dist
"
varnish_
*
.dsc
done
export
DEBIAN_OVERRIDE_BINARY_VERSION
=
"
$FULL_VERSION
"
sbuild
-v
-A
-c
"trusty-amd64
$chroot_postfix
"
-d
"trusty"
varnish_
*
.dsc
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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