app-intel-device-plugins/.zuul.yaml
Igor Soares c3b85be3eb Add minimum Kubernetes version supported
Add the supported minimum Kubernetes version into the application
metadata file.

The minimum Kubernetes version is set to 1.24.4 and should be changed
accordingly for future application updates.

The "supported_k8s_version:minimum" field is optional but it will become
mandatory in the near future.

This also contains a fix to properly trigger the Tox metadata checks.

Test Plan
PASS: build-pkgs && build-image
PASS: Apply application

Story: 2010929
Task: 49514

Change-Id: I023428591fd8d1f65e9851c86db7db43c93da3ac
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2024-02-06 15:35:06 -03:00

84 lines
2.9 KiB
YAML

---
- project:
check:
jobs:
- openstack-tox-linters
- k8sapp-intel-device-plugins-operator-tox-py39
- k8sapp-intel-device-plugins-operator-tox-pylint
- k8sapp-intel-device-plugins-operator-tox-flake8
- k8sapp-intel-device-plugins-operator-tox-metadata
gate:
jobs:
- openstack-tox-linters
- k8sapp-intel-device-plugins-operator-tox-py39
- k8sapp-intel-device-plugins-operator-tox-pylint
- k8sapp-intel-device-plugins-operator-tox-flake8
- k8sapp-intel-device-plugins-operator-tox-metadata
- job:
name: k8sapp-intel-device-plugins-operator-tox-py39
parent: tox-py39
description: |
Run py39 for intel-device-plugins-operator app
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-intel-device-plugins-operator/*
vars:
tox_envlist: py39
tox_extra_args: -c python3-k8sapp-intel-device-plugins-operator/k8sapp_intel_device_plugins_operator/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-intel-device-plugins-operator-tox-metadata
parent: tox
description: |
Run metadata test for k8sapp_intel_device_plugins_operator
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
nodeset: debian-bullseye
vars:
tox_envlist: metadata
tox_extra_args: -c python3-k8sapp-intel-device-plugins-operator/k8sapp_intel_device_plugins_operator/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-intel-device-plugins-operator-tox-pylint
parent: tox
description: |
Run pylint test for k8sapp_intel_device_plugins_operator
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
nodeset: debian-bullseye
files:
- python3-k8sapp-intel-device-plugins-operator/*
vars:
tox_envlist: pylint
tox_extra_args: -c python3-k8sapp-intel-device-plugins-operator/k8sapp_intel_device_plugins_operator/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-intel-device-plugins-operator-tox-flake8
parent: tox
description: |
Run flake8 for intel-device-plugins-operator
nodeset: debian-bullseye
files:
- python3-k8sapp-intel-device-plugins-operator/*
vars:
tox_envlist: flake8
tox_extra_args: -c python3-k8sapp-intel-device-plugins-operator/k8sapp_intel_device_plugins_operator/tox.ini