Tempest

With the following you can request a tempest run. In this example it is just testing glance.

# NOTE: This file serves as an example only!
# It demonstrates a subset of the API features which are available and
# is NOT FIT FOR PRODUCTIVE USE. You need to adapt them to your
# specific environment, needs and scale.
# DO NOT DEPLOY THIS FILE WITH THE EXPECTATION THAT YOU WILL GET A
# YAOOK DEPLOYMENT FIT FOR ANY USE EXCEPT LOOKING AT IT.
apiVersion: yaook.cloud/v1
kind: TempestJob
metadata:
  name: tempest-test-glance
spec:
  keystoneRef:
    name: keystone
  targetRelease: 36.0.0
  target:
    service: glance
  serial: false
  pushgateway: pushgateway:9091
  region: MyRegion
  tempestConfig:
    image:
      endpoint_type: internal
    service_available:
      cinder: false
      glance: true
      horizon: false
      neutron: false
      nova: false
      swift: false

Specifiying a test regex

Alternatively you can specify a test regex yourself.

# NOTE: This file serves as an example only!
# It demonstrates a subset of the API features which are available and
# is NOT FIT FOR PRODUCTIVE USE. You need to adapt them to your
# specific environment, needs and scale.
# DO NOT DEPLOY THIS FILE WITH THE EXPECTATION THAT YOU WILL GET A
# YAOOK DEPLOYMENT FIT FOR ANY USE EXCEPT LOOKING AT IT.
apiVersion: yaook.cloud/v1
kind: TempestJob
metadata:
  name: tempest-test-all
spec:
  keystoneRef:
    name: keystone
  target:
    regex: ".*"
  region: MyRegion
  tempestConfig:
    image:
      endpoint_type: internal
    service_available:
      cinder: false
      glance: true
      horizon: false
      neutron: false
      nova: false
      swift: false

Specifying a list of tests to exclude

You may also additionally specify individual test names or regexes to exclude by specifying them using the exclude list parameter.

# NOTE: This file serves as an example only!
# It demonstrates a subset of the API features which are available and
# is NOT FIT FOR PRODUCTIVE USE. You need to adapt them to your
# specific environment, needs and scale.
# DO NOT DEPLOY THIS FILE WITH THE EXPECTATION THAT YOU WILL GET A
# YAOOK DEPLOYMENT FIT FOR ANY USE EXCEPT LOOKING AT IT.
apiVersion: yaook.cloud/v1
kind: TempestJob
metadata:
  name: tempest-test-all-except-patterns
spec:
  keystoneRef:
    name: keystone
  exclude:
  - test_stamp_pattern
  - test_volume_boot_pattern
  - test_snapshot_pattern
  region: MyRegion
  tempestConfig:
    image:
      endpoint_type: internal
    service_available:
      cinder: false
      glance: true
      horizon: false
      neutron: false
      nova: false
      swift: false

It is also possible to run tempest tests regulary against your cluster via:

# NOTE: This file serves as an example only!
# It demonstrates a subset of the API features which are available and
# is NOT FIT FOR PRODUCTIVE USE. You need to adapt them to your
# specific environment, needs and scale.
# DO NOT DEPLOY THIS FILE WITH THE EXPECTATION THAT YOU WILL GET A
# YAOOK DEPLOYMENT FIT FOR ANY USE EXCEPT LOOKING AT IT.
apiVersion: yaook.cloud/v1
kind: TempestCronJob
metadata:
  name: tempest-test-glance
spec:
  schedule: "*/10 * * * *"
  keystoneRef:
    name: keystone
  targetRelease: 36.0.0
  target:
    service: glance
  serial: false
  region: MyRegion
  tempestConfig:
    image:
      endpoint_type: internal
    service_available:
      cinder: false
      glance: true
      horizon: false
      neutron: false
      nova: false
      swift: false