Files
zuul/tests/fixtures/layouts/nodepool-image-no-validate.yaml
James E. Blair cb68047920 Launcher: improve nodescan testing
This improves the nodescan testing by:

* Removing the fake handling from the production code
* Adds explicit host-key-checking: false settings to most nodepool
  test fixtures.
* Adding explicit success/failure tests for nodescan with the full
  node request lifecycle.
* Moves the test-only fakes into their own file so they can be shared
  with the new launcher nodescan tests as well as the dedicated
  nodescan unit tests.
* Allows for customizable timeouts in the requestNodes helper method
  since the failing test takes a while.

It also allows the boot-timeout to be correctly set in the section
or provider object in addition to the label, for convenience.

Change-Id: If6361cb437ad28472f154f3af9dde190d43c0d1e
2025-02-06 15:37:28 -08:00

73 lines
1.2 KiB
YAML

- pipeline:
name: image-build
manager: independent
trigger:
zuul:
- event: image-build
success:
zuul:
image-built: true
- job:
name: base
parent: null
run: playbooks/base.yaml
nodeset:
nodes:
- label: ubuntu-xenial
name: controller
- job:
name: build-debian-local-image
image-build-name: debian-local
- project:
name: org/common-config
image-build:
jobs:
- build-debian-local-image
- image:
name: debian
type: cloud
- image:
name: debian-local
type: zuul
- flavor:
name: normal
- label:
name: debian-normal
image: debian
flavor: normal
- section:
name: aws-base
abstract: true
connection: aws
host-key-checking: false
boot-timeout: 120
launch-timeout: 600
object-storage:
bucket-name: zuul
flavors:
- name: normal
instance-type: t3.medium
images:
- name: debian
image-id: ami-1e749f67
- name: debian-local
- section:
name: aws-us-east-1
parent: aws-base
region: us-east-1
- provider:
name: aws-us-east-1-main
section: aws-us-east-1
labels:
- debian-normal