Commit Graph

14 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
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our
slaves and has the advantage of using zuul-cloner so that the local
cache is used and Depends-On works.

Remove gerrit-git-prep and use zuul-git-prep instead everywhere.

Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
2017-04-03 19:36:51 +02:00
Markos Chandras 50888d1adf jenkins: jobs: ipa: Publish the sha256 checksum files
Publish the sha256 checksum files for all the IPA files.

Depends-On: I25d9cb7b83c7f04141a1b19d08585a720ae08987
Depends-On: I5de389f14001b6957e4b0aca772edf0e93b35af8
Change-Id: I66afa3682ee1461ba1cdb68a134eaa4fd85af4e0
2017-03-02 15:06:13 +00:00
Clark Boylan 1815b96039 Transition IPA image build jobs to Xenial
This updates the IPA image build jobs for changes merged on branches >=
master to run on Xenial. Changes merged on older branches will run on
Trusty.

This also cleans up an unused job definition.

Change-Id: I2c294be17f219943c931138512440abc8d87abed
2016-12-06 14:55:02 -08:00
Sam Betts cf8fe21e7b Fix syntax error in ironic-python-agent post job
Using the wrong type of quotes in the bash code meant that the $ERRORS
variable wasn't being resolved, resulting in a syntax error.

Change-Id: I81c01f358338ce183dc74d4646b006fa30450473
2016-08-15 15:24:00 +01:00
Sam Betts 51d4c78e8e Get IPA buildimage POST job into healthcheck
This patch adds subunit output to the end of the buildimage job so that
heathcheck will have information on success or failure of the job.
This patch implements this using an exit trap, this is a temporary
solution until Zuul can report the success/failure of jobs directly to
healthcheck. This solution will only catch failures that occur during
the actual image build process, any errors that occur inside the scp
publisher's will not be detected by this change.

Change-Id: Id26ed8f40cc659e065c598e2e7af760e8be42419
2016-08-10 15:29:53 +01:00
Sam Betts 77dbe67b11 Fix TinyIPA POST job make clean call
The script is calling make clean in the wrong directory, this patch
ensures we are in the right directory before calling the clean target.

Change-Id: Ic30dd6274c74dd4b7f0821e61af81f0fad8dafa1
2016-08-10 12:28:03 +01:00
Sam Betts 3b2fdfbc1f Clean up TinyIPA chroot directories in POST job
The TinyIPA post job is currently failing because when it tries to
publish the files, the rsync command attempts to search all directories
for matching source files including the chroot build directories. This
causes it to fail because it doesn't have the permissions to read so of
the directories inside the chroot.

The zuul code comment explaining the behaviour:
176431ec14/zuul/launcher/ansiblelaunchserver.py (L939)

"include any directories (so that we continue to search for the thing we
want no matter how deep it is),"

Change-Id: I3373d7a6e0220407a84d60b2b2051fa13ffe5174
2016-08-05 14:34:42 +01:00
Sam Betts f0f1463aae Add post job for building and uploading tinyipa
Ironic currently automatically builds and uploads a coreos based IPA
image so that CI jobs don't have to build it every time and so that
people wanting to use Ironic don't have to always build their own. This
patch adds a job to also build the tinyipa version of IPA, so that we
can get the same optimisations.

Depends-On: I9d879689c8e88768aaa96d0033b62d062f9cdc27
Change-Id: I56688bbb3efd5b5a0a14570f4b9733a76d31b71b
2016-04-04 10:41:47 +01:00
Jim Rollenhagen 4f38fac108 Fix branch passing into IPA post job
BRANCH_PATH wasn't passed properly into this script, an export should
fix that.

Change-Id: I3875e041b2b9f67bbe41f35a4df63f232a4b272f
2016-04-01 05:13:16 -07:00
Jim Rollenhagen c7a0bd7a42 Refactor IPA post jobs to handle branches
This commit changes an ironic-python-agent job that builds a ramdisk
from source and uploads to tarballs.o.o. It now:

* Passes the branch name and branch "path" into the image builder

* Uses blobs to select the files for upload; this should have no change
  on the job until the build script is refactored to add the branch name
  to the file names, after which the correct branch will be in the
  filenames, and the blobs will be needed to match correctly.

A future change to ironic-python-agent will put the branch name in the
file names such that users (and devstack) can fetch a ramdisk
corresponding to the stable branch they desire.

Change-Id: I540d2f139c80bb7f382315258dbe3a7a14be74c8
Partial-Bug: #1561756
2016-03-24 17:28:40 -07:00
Andreas Jaeger 39c590a460 mistral, ironic-python-agent-jobs: Convert to ubuntu-trusty
Convert jobs using bare-trusty to ubuntu-trusty.

Change-Id: I11507f18cf3e936ef409aab9a450b45682f4e4a2
2016-03-08 20:34:27 +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
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