Add raxflex provider and debian-bullseye image

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 commit is contained in:
James E. Blair 2024-10-10 09:50:38 -07:00
parent 3a457896c4
commit 5a14ae734d
5 changed files with 42 additions and 0 deletions

2
zuul.d/flavors.yaml Normal file
View File

@ -0,0 +1,2 @@
- flavor:
name: normal

3
zuul.d/images.yaml Normal file
View File

@ -0,0 +1,3 @@
- image:
name: debian-bullseye
type: zuul

7
zuul.d/labels.yaml Normal file
View File

@ -0,0 +1,7 @@
# During testing, prefix all label names with "niz-" so it's very
# clear which system we're using.
- label:
name: niz-debian-bullseye-normal
image: debian-bullseye
flavor: normal

View File

@ -9,3 +9,10 @@
- name: image_upload_secret
secret: image-upload-secret
pass-to-parent: true
image-build:
jobs:
- opendev-build-diskimage-debian-bullseye:
secrets:
- name: image_upload_secret
secret: image-upload-secret
pass-to-parent: true

23
zuul.d/providers.yaml Normal file
View File

@ -0,0 +1,23 @@
- section:
name: raxflex-base
abstract: true
connection: raxflex
boot-timeout: 120
launch-timeout: 600
flavors:
- name: normal
flavor-name: gp.0.4.8
images:
- name: debian-bullseye
- section:
name: raxflex-sjc3
parent: raxflex-base
region: SJC3
- provider:
name: raxflex-sjc3-main
section: raxflex-sjc3
labels:
- name: niz-debian-bullseye-normal
key-name: infra-root-keys-2024-04-08