In an attempt to gracefully move the providers from this repo to
zuul-providers, remove the resources from them so that zuul-launcher
can delete the images.
Change-Id: I1b24cde353bd5359da474252b3672228127b0826
This reverts commit e068fa393e0acc19d4ddabe5d6a8a123db2cfcfd.
Zuul-launcher doesn't deal well with deleting providers while
images are present. Let's do this in multiple steps.
Change-Id: I7457a366eb87a6ca89d8b7fe885cc9efa7c15721
In some clouds we don't have enough space on / to store a raw image,
so tell dib to write the image output to /opt.
Change-Id: Ia3d13ed811f705a450030a2046b2cd1ffd5a22b3
To test building and uploading a raw image, add a vexxhost provider
and also tell the image build job to build a raw image.
Vexxhost does not have a "normal" flavor, so no flavors or labels
are added to it. We will only upload images to it.
Change-Id: I38005072637dc5b60ef7f58caa980bb7595c3907
This is required in order to launch nodes in rax-flex, and is the
current value in our nodepool configuration.
Change-Id: I01cb08d9c569156cec69c2a3c48ed6a0df2339e4
There is a bug that causes Zuul to get stuck if a noop job runs
on a queue item with a repo state; until that is fixed, use a
"real" noop job instead of the built-in one.
Change-Id: I64dafd7daf57d8cceea6b074b62e7cffaa5afc0c
This will allow us to make changes to provider configuration
without rebuilding images every time.
Add the noop job for the cases where no other job would run.
Change-Id: Id9de7758ddeb675fb298fbb0edf4fa398e8bec71
This adds the initial nodepool-in-zuul config to:
* Tell zuul that it's responsible for an image named "debian-bullseye"
* Attach the job to a pipeline that builds missing images
* Connect to raxflex and upload that image
* Use that image when launching nodes with a label of
"niz-debian-bullseye-normal"
Change-Id: I8a838253a4683f34f538c90949369ba2d192e8d7
This fixes some minor issues with the upload job and removes the
temporary testing settings.
It also configures the job so that if a secret is provided, it will
upload the image, but if the secret is omitted, it will only build it.
We omit the secret in check, and provide it in gate. In the future,
we will provide it on the dedicated image build pipelines.
Change-Id: I17e519a6282e700fd09ce16c95bf58ef092b9dc6
This is intended to upload image build artifacts to rax-flex.
This may require some iteration post-merge to get right, so for
the moment, the actual build is skipped and we upload a test file.
Once it's working, the normal job can be restored.
Change-Id: I3e024e092b5b4f6c4842c2947c9a2b160a948755