python-observabilityclient/.zuul.yaml
Jaromir Wysoglad e8961fdf62 Add functional tests
This adds new functional tests, which are supposed to be run
on devstack with a running instance of prometheus.
It tests all of the cli commands as well as all the functions
exposed in the python client.

These tests could be included into the telemetry-dsvm-integration
jobs in the future to use the same devstack vm.

Change-Id: Ibd6deec559465bf3cb7480681b816f55bdf9010e
2023-11-15 05:54:41 -05:00

67 lines
2.3 KiB
YAML

- job:
# TODO(jwysogla): Include these tests in the
# telemetry-dsvm-integration jobs
name: observabilityclient-dsvm-functional
parent: devstack-tox-functional
description: |
Devstack-based functional tests for observabilityclient.
required-projects:
- openstack/python-observabilityclient
- openstack/ceilometer
- infrawatch/sg-core
timeout: 4200
vars:
devstack_localrc:
USE_PYTHON3: True
PROMETHEUS_SERVICE_SCRAPE_TARGETS: prometheus,sg-core
CEILOMETER_BACKEND: sg-core
devstack_plugins:
sg-core: https://github.com/infrawatch/sg-core
ceilometer: https://opendev.org/openstack/ceilometer
- project:
queue: telemetry
templates:
- openstack-python3-jobs
- check-requirements
#- release-notes-jobs-python3
check:
jobs:
- telemetry-dsvm-integration:
irrelevant-files: &pobsc-irrelevant-files
- ^(test-|)requirements.txt$
- ^setup.cfg$
- ^.*\.rst$
- ^releasenotes/.*$
- ^observabilityclient/tests/.*$
- ^tools/.*$
- ^tox.ini$
voting: false
- telemetry-dsvm-integration-ipv6-only:
irrelevant-files: *pobsc-irrelevant-files
voting: false
- telemetry-dsvm-integration-centos-9s:
irrelevant-files: *pobsc-irrelevant-files
voting: false
- telemetry-dsvm-integration-centos-9s-fips:
irrelevant-files: *pobsc-irrelevant-files
voting: false
- observabilityclient-dsvm-functional:
irrelevant-files: *pobsc-irrelevant-files
gate:
jobs:
- telemetry-dsvm-integration:
irrelevant-files: *pobsc-irrelevant-files
voting: false
- telemetry-dsvm-integration-ipv6-only:
irrelevant-files: *pobsc-irrelevant-files
voting: false
- telemetry-dsvm-integration-centos-9s:
irrelevant-files: *pobsc-irrelevant-files
voting: false
- telemetry-dsvm-integration-centos-9s-fips:
irrelevant-files: *pobsc-irrelevant-files
voting: false
- observabilityclient-dsvm-functional:
irrelevant-files: *pobsc-irrelevant-files