Commit Graph

16 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
Clark Boylan c5c0607641 Install nodejs for gerrit builds
Building gerrit requires nodejs so add it to the list of our system
build deps.

Change-Id: I77c56e5d37a94a0f4c1e8b1f1e5cdf7b61638410
2017-06-22 13:58:45 -07:00
Clark Boylan d3b5673e47 Init submodules in gerrit build jobs
Gerrit needs its submodules inited and updated before building release
artifacts because core plugins come from submodules and are included in
the release war.

Change-Id: I423cefd04ff79e7349a3c9a2f291a0601fb94fe9
2017-06-22 13:57:41 -07:00
Clark Boylan 3b4e675d57 Add java JDK to gerrit job deps
We need a proper java JDK to run ant to build gerrit things. Add this to
our list of additional deps in the gerrit jobs. Also we add ant-optional
as that includes many useful items like junit for testing.

Change-Id: I49a2ac1011edd1fec0ba38ebff350979c74933fb
2017-06-22 11:11:22 -07:00
Jeremy Stanley 53afd14162 Install ant and asciidoc in Gerrit build jobs
As a followup to I24eb057124c03bd856e256af4e5f9f5fda935b47 which
removed ant and asciidoc from the bindep fallback list, readd them
with a builder macro during Gerrit and Gerrit plugin building jobs.
Also combine the gerrit-plugin-jobs.yaml into gerrit.yaml for ease
of future maintenance.

Change-Id: Icd0db97963ea4ced2a069ec8c5860c2772f29c10
2017-06-21 16:57:57 +00:00
Andreas Jaeger b64f10151b Remove gerrit-git-prep.sh
Remove usage of gerrit-git-prep.sh from gerrit-buck jobs and replace it
with zuul-cloner usage.

Remove gerrit-git-prep.sh file, it's not used anymore now.

Change-Id: I968ce8b726fbbb54260f02d869944d91128bac52
2017-04-07 07:47:11 +02:00
Jeremy Stanley da67129d34 Remove pointless tarball-site parameter
Across the entirety of our job config corpus, we only ever set the
tarball-site parameter to tarballs.openstack.org. Instead just set
it directly in the publishers where it's needed and reduce
unwarranted confusion for people writing job configs. This also
allows us to get rid of the parameterized sites in the tarball,
wheel and war publishers.

Change-Id: I31109f41177b8c07177d7ed8ef16cbfd135131ef
2016-12-19 14:48:08 +00:00
Khai Do ae24700d8e Modify jobs to build gerrit-2.13
This sets up a gerrit 2.13 build for gerrit core and its associated
plugins.

NOTICE:
1. Gerrit 2.13 build puts the release.war in
buck-out/gen/release/release.war instead of buck-out/gen/release.war
2. Currently the latest 2.13 release is 2.13.2 however we are aiming
for 2.13.3

Change-Id: Icf4b5f32594570de5a51c37c9f7bb5505b640a06
2016-11-16 13:19:53 -08:00
Andreas Jaeger 860e5d9534 Convert gerrit jobs to ubuntu-trusty
Convert jobs in gerrit.yaml from bare-trusty to ubuntu-trusty.

Change-Id: I5790d23e150bbe5835a172849895f87841609a25
2016-03-09 20:09:24 +01:00
Jeremy Stanley 0af9b2c178 Get rid of precise||trusty job node declarations
Between the Icehouse and Juno releases, OpenStack changed its
supported Ubuntu LTS platform from Precise to Trusty. In support of
continuing testing stable/icehouse and prior branches on Precise
while starting to test newer branches on Trusty, a branch-based
decision tree was introduced into our Zuul configuration by way of
complex parameter functions with an ever growing list of regular
expression matches on job names.

Now that Icehouse is EOL (in fact, Juno is too) this simply adds
unnecessary complexity and an attractive nuisance for cargo-cult
copying into new job and job-template definitions which don't even
need it. In preparation to remove the associated parameter
functions, get rid of multiple labels in all jobs and set them to
whatever label Zuul would ultimately select.

This change touches a vast number, possibly a majority, of our jobs
and so manual jenkins-jobs updates on all Jenkins masters will be
needed after this merges, before it's safe to approve the
corresponding Zuul configuration cleanup.

Change-Id: Ic952ee02da2c77fe2ace81c4e2fa87531be6119c
2015-12-21 20:52:17 +00:00
Andreas Jaeger a396ab074b remove check-gerrit-buck
Rename check-gerrit-buck to gate-gerrit-buck and remove the old
gate-gerrit-buck.

check-gerrit-buck was the last job starting with "check-". We do not
need both check- and gate- jobs. The only difference between them was
that the gate job did not publish to the tarballs site.

Change-Id: Ibde25e1b53399bdda73992ca4c016d45d73812b4
2015-07-16 20:03:01 +02:00
Khai Do c8697d93c5 Run Gerrit unit tests
In the past we didn't run the unit tests because they were flaky.
We should give it another try since the build system now allows
excluding certain test groups from running.  I believ the slow
tests were the culprit so we exlude it from the test run.

Change-Id: Ib5af53e698635dc7feb6fa97cb88a4814080fd05
2015-04-08 16:24:50 -07:00
Jenkins 736e85a596 Merge "Remove jobs for Gerrit 2.4.x" 2015-03-16 22:39:27 +00:00
Khai Do ca00dc16b0 Remove jobs for Gerrit 2.4.x
We don't need to build our Gerrit 2.4.x fork anymore since we've
been running on Gerrit 2.8.x for the last few years.

Change-Id: Ic6136d8749eb375ea229895fa6222622a8b8b8fd
2015-03-16 11:44:07 -07:00
Khai Do 4754ea53ee Fix upload built artifact in gerrit job
This job was Erorring with message..

  cp: cannot stat ‘gerrit/buck-out/gen/release.war’:
      No such file or directory

It is because there was a 'cd gerrit' step before doing this copy
so it's already in the 'gerrit' directory.

Change-Id: Iec5ab6d6f53ed5049227c1a5b478e60de5721036
2015-03-16 11:22:47 -07:00
Anita Kuno 1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04:00