Commit Graph

21 Commits

Author SHA1 Message Date
Monty Taylor 355f7090a6 Remove zuul v2 and jjb content
It's migrated, it can be removed now.

Depends-On: I6a89752d74ed7424267c3af3937ad01fb4bb8f86
Change-Id: Id67d0149b645bd23e460cef65719541f76f0967b
2017-10-24 08:50:05 +02:00
Thomas Goirand 034cd887b0 Fix BASE=/afs/.openstack.org/mirror/debian-openstack
Last patch from Paul has wrong path.

Change-Id: I5bfdb9211dc339f7ebb5ad154d3cf4dd86bb0a10
2016-08-29 11:54:56 +02:00
Paul Belanger a5dd928a07
Add timestamp.txt to debian-openstack repo
This provides information when we last made changes to the repo.

Change-Id: I73c6bb92f7c9410f7e37a501bd2fedea126f469f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-25 15:44:22 -04:00
Jenkins 017b37a775 Merge "Add gpg signing job for reprepro" 2016-08-12 06:08:55 +00:00
Paul Belanger 3d3c59517b
Add gpg signing job for reprepro
Now that we have support for GPG keys, add that ability to
deb-openstack repository.

Change-Id: I1db01e497f0a97f7e0435a99d89dfd04f8375153
Depends-On: Idc64ac00b41d9a4009036890c8194346a1881350
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-10 12:30:04 -04:00
Thomas Goirand 2c994f3e74 Use --sbuild-chroot-name jessie-newton-backports
In a previous patch, I added --ignore=wrongdistribution to the reprepro
command line. This was a workaround.

This patch makes it possible to avoid it, since openstack-pkg-tools
has now support for --sbuild-chroot-name, which will produce the
correct Distribution: field value in .changes files.

Change-Id: I6975c6c6f8e4b8e9f22aa952689601ca2065ed32
2016-08-10 15:47:53 +02:00
Thomas Goirand d8945e0665 Add --ignore=wrongdistribution parameter to reprepro
sbuild is setup to use "jessie-newton", but the backports repository
is called "jessie-newton-backports". It'd be annoying to have special
cases for the install of sbuild. It is a lot easier to just add
--ignore=wrongdistribution when calling reprepro, which is what this
patch is doing.

Change-Id: I5619e8d2cd593e0a598127e5d8113ed293fee6aa
2016-08-09 13:58:52 +02:00
Thomas Goirand abac0af15c [packaging-deb] Fix $FILES= -> FILES=
There was a small typo in the packaging-mirror.yaml, this fixes it.

Change-Id: Ifafb786019532ea344e60cd5116dc74ad229ef2c
2016-08-09 10:36:49 +02:00
Paul Belanger feb2e7e8e0
Fix issue with reprepro-import distribution
Now that it is possible to run reprepro-import against different
repos, we need to properly build up our distribution for reprepro. Now
we we'll use jessie-newton or jessie-newton-backports depending on the
job.

Change-Id: I1e5d0ba03bceedebf27ed4b4a76ac0f6bfa588ce
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-08 16:00:07 -04:00
Paul Belanger 225e4883ef
Update reprepro-import build to support multiple files
Since it is possible for reprepro-import to download more then 1
.changes file, we now iterate over all files running the include
command.

Change-Id: Ide51533bc7c238ea2b387c1c021999480ed8dc4c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-08 11:45:29 -04:00
Paul Belanger d5238706d9
Use ZUUL_REFNAME to get branch info for reprepro-import
We incorrectly used ZUUL_BRANCH to extract branch info. As pointed out
on IRC, we should be using ZUUL_REFNAME.

Change-Id: Ieefbb39ddf31355d6a74ac3b4d68887d997270b0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-13 17:34:50 -04:00
Jenkins 7f5d5af617 Merge "Append branch to reprepro codename" 2016-07-13 20:27:03 +00:00
Paul Belanger 1f068e7668
Add trailing slash to reprepro-import URL
This was not exposed in testing, as we only a single directory.
Without the trailing slash, we end up downloading all uploaded
packages.

Change-Id: I5442023dfea14b9e70a511222929070086fe7312
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-13 13:11:23 -04:00
Paul Belanger a4e6d1571c
Append branch to reprepro codename
For example, this will import a package to jessie-newton now.

Change-Id: I6ab582dbc5fe80959b1672646e8cbf7dcd56929c
Depends-On: I05da013ecafd74628aad5507a59d605c2353f1ad
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-13 11:41:02 -04:00
Paul Belanger 7a1759f235
reprepro-import URL now 4 level deep, not 3
This should have been fixed in the pervious commit, but sadly we
missed it.

Change-Id: Ie9b02ec31801de86cece8434c02a78ae3daa8ec8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-13 11:02:54 -04:00
Paul Belanger 648c28f900
Add reprepro import / release into post pipeline
Now that testing is finished, we can move the reprepro jobs for
deb-openstack team into the post pipeline.

Change-Id: I19804289478530e385bc2333b47438a1e4d9169c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-12 14:23:52 -04:00
Paul Belanger 557a73ef54
Prefix packaging-deb for reprepro-import URL
A future update will move this into a move generic location.

Change-Id: Id75eb4003760fb64cf781971847fbf0ef2caa67b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-12 14:13:56 -04:00
Paul Belanger 60dd6788a7
Enable reprepro-release-deb-openstack
Now that our reprepro import job is working correctly, enable
reprepro-release-deb-openstack to test we are publishing to AFS
correctly.

Change-Id: Ic2958d6e3499d3af7c848a6eb709c7a285f3d132
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-12 11:08:05 -04:00
Paul Belanger a760db19a7
Fix URL variable with reprepro-import builder
Change-Id: I230c0b57755d188d5fef16136a6af9e4672f09cb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-12 09:18:01 -04:00
Paul Belanger d0ac1f14e7
Update PACKAGE_DIR for reprepro-import builder
Stop using /opt and use $WORKSPACE as our root folder.

Change-Id: I787f3f4380502a416fc0896775bceaf1e287b7de
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-11 15:42:07 -04:00
Paul Belanger bd1c4bc2c1
Experimental reprepro job for deb-openstack-pkg-tools
This job is mean for the post pipeline, however I'd like to test in
experimental first to ensure everything is working as expected.

Change-Id: Ib9029f7cd751b0b46490feeee1ed7d2948004b5f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-07-11 13:32:55 -04:00