openstack-armada-app/.zuul.yaml
Igor Soares 76a4863139 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 as specified by task 49538 from this same story.

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: 49544

Change-Id: I4370abf5839bb01a0fd1a62cb5cbbd2320d64166
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2024-02-07 14:42:14 -03:00

208 lines
10 KiB
YAML

---
- project:
vars:
ensure_tox_version: '<4'
check:
jobs:
- openstack-tox-linters
- k8sapp-openstack-tox-py39
- k8sapp-openstack-tox-pylint
- k8sapp-openstack-tox-flake8
- k8sapp-openstack-tox-metadata
- k8sapp-openstack-tox-pep8
gate:
jobs:
- openstack-tox-linters
- k8sapp-openstack-tox-py39
- k8sapp-openstack-tox-pylint
- k8sapp-openstack-tox-flake8
- k8sapp-openstack-tox-metadata
- k8sapp-openstack-tox-pep8
post:
jobs:
- stx-openstack-armada-app-upload-git-mirror
- job:
name: k8sapp-openstack-tox-py39
parent: openstack-tox-py39
description: |
Run py39 test for k8app-openstack
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-openstack/k8sapp_openstack/*
vars:
tox_envlist: py39
python_version: 3.9
tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-openstack-tox-metadata
parent: tox
description: |
Run metadata tests for k8sapp_oidc
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
vars:
tox_envlist: metadata
tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-openstack-tox-pylint
parent: tox
description: |
Run pylint tests for k8sapp_oidc
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-openstack/*
vars:
tox_envlist: pylint
tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-openstack-tox-flake8
parent: tox
description: |
Run flake8 tests for k8sapp_oidc
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-openstack/*
vars:
tox_envlist: flake8
tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-openstack-tox-pep8
parent: tox
description: |
Run pep8 tests for k8sapp_openstack
nodeset: ubuntu-bionic
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
files:
- python3-k8sapp-openstack/*
vars:
tox_envlist: pep8
tox_extra_args: -c python3-k8sapp-openstack/k8sapp_openstack/tox.ini
- job:
name: stx-openstack-armada-app-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/openstack-armada-app to
github.com/starlingx/openstack-armada-app
vars:
git_mirror_repository: starlingx/openstack-armada-app
secrets:
- name: git_mirror_credentials
secret: stx-openstack-armada-app-github-secret2
pass-to-parent: true
- secret:
name: stx-openstack-armada-app-github-secret2
data:
user: git
host: github.com
# yamllint disable-line rule:line-length
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqP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