3 Commits

Author SHA1 Message Date
Thomas Goirand
a9115643c4 Execute sbuild after relogin
Currently, pkgos-infra-install-sbuild is launch directly after sbuild is
ran. This leads to this error:
"User jenkins is not currently a member of group sbuild, but is in the
system group database You need to log in again to gain sbuild group
privileges"

So this patch splits the single shell script into 2, so that it does
the "log in again" part described in the above error message. This
should fix the problem.

Change-Id: Idf35d7c143e2fb67ccf6cdcefce74c3d45e9a49c
2016-04-07 11:07:42 +02:00
Igor Belikov
36bf93183c Add missing sudo to deb packaging job
Change-Id: If6d7b2695d0b2cbb3a1e2e8396e41f8b1d9d5933
2016-04-06 11:00:31 +03:00
Thomas Goirand
1ed45a2f35 Add a job to build openstack-pkg-tools
This patch makes it possible for openstack-pkg-tools to build itself.

The normal package build workflow will be to get openstack-pkg-tools
installed with apt-get, then use pkgos-infra-install-sbuild and
pkgos-infra-build-pkg to build.

Though for openstack-pkg-tools, this can't be used, otherwise we have
a circular dependency, and we expose ourselves to the possibility of
having a bad commit on openstack-pkg-tools to break all of the build
system if a bad commit is published as a .deb.

Which is why openstack-pkg-tools must use its own scripts directly.

Once openstack-pkg-tools is reliably built and its resulting .deb
published on an OpenStack infra Debian repository, then a new generic
package build job will be added to project-config.

Change-Id: I7a13b2f298b5426219b6d3842ac1a9cf7a2a3656
2016-04-04 22:40:03 +02:00