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
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
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
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
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
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
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
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
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
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
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
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