Add job to build generic debian packages

Now that openstack-pkg-tools is built and publish, this job uses it
to build other packages.

To actually test this job, this patch also adds the deb-spice-html5
package, which is a very trivial package with no dependency, in order
to test building with this patch. I'm not sure it really is needed
to maintain the spice-html5 package on Gerrit, so this may be just
temporary. Other Git repositories for all of the other packages will
be added once this package builds fine and is published.

Also, as the Jessie image doesn't contain the debian-openstack repo
yet, we add it to the sources.list. This will be able to go away
next week, according to pabelanger.

Change-Id: I15660191360ed68fb1fb5a3a4170ad2353336ebf
Needed-By: I1188b90b3d2039f712fb1efda69e2a6157621079
This commit is contained in:
Thomas Goirand 2016-04-19 12:47:49 +02:00 committed by Ivan Udovichenko
parent bb14fadb7d
commit 9f5a94d51a
5 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[access "refs/heads/*"]
abandon = group deb-packaging-core
create = group deb-packaging-release
label-Code-Review = -2..+2 group deb-packaging-core
label-Workflow = -1..+1 group deb-packaging-core
[receive]
requireChangeId = true
requireContributorAgreement = true
[submit]
mergeContent = true

View File

@ -1403,6 +1403,10 @@
description: The core API implementation for Daisycloud OpenStack installer.
- project: openstack/deb-openstack-pkg-tools
description: build tools for Debian packages
- project: openstack/deb-spice-html5
description: build package for Spice HTML5 Web client
upstream: https://anonscm.debian.org/git/openstack/spice-html5.git
acl-config: /home/gerrit2/acls/openstack/deb-packaging.config
- project: openstack/debtcollector
description: A collection of python patterns that help you collect your technical
debt in a non-destructive manner

View File

@ -1495,6 +1495,7 @@ openstack-pkg:
- x-vrif-minus-2
projects:
- openstack/deb-openstack-pkg-tools
- openstack/deb-spice-html5
branches:
- master
- debian/kilo

View File

@ -0,0 +1,52 @@
- job:
name: pkgdeb-build-pkg
node: debian-jessie
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
# Install the build env...
sudo apt-get update
sudo apt-get install -y openstack-pkg-tools
sudo pkgos-infra-install-sbuild
# ...and build
pkgos-infra-build-pkg
publishers:
- console-log
- job:
name: pkgdeb-publish-pkg
node: debian-jessie
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- gerrit-git-prep
- shell: |
#!/bin/bash
set -x
set -e
# Install the build env...
sudo apt-get update
sudo apt-get install -y openstack-pkg-tools
sudo pkgos-infra-install-sbuild
# ...and build
pkgos-infra-build-pkg
publishers:
- deb-pkgs:
project: deb-pkg
- console-log

View File

@ -5924,6 +5924,14 @@ projects:
- reprepro-import-debian-openstack-jessie:
- reprepro-release-deb-openstack
- name: openstack/deb-spice-html5
template:
- name: merge-check
check:
- pkgdeb-build-pkg
gate:
- pkgdeb-build-pkg
- name: openstack/debtcollector
template:
- name: merge-check