metrics-server-armada-app/.zuul.yaml
Igor Soares fb4bf32cf0 Add minimum Kubernetes version supported
Add the minimum Kubernetes version supported to 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: 49496

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

186 lines
9.5 KiB
YAML

---
- project:
check:
jobs:
- openstack-tox-linters
- k8sapp-metrics-server-tox-py39
- k8sapp-metrics-server-tox-flake8
- k8sapp-metrics-server-tox-pylint
- k8sapp-metrics-server-tox-metadata
gate:
jobs:
- openstack-tox-linters
- k8sapp-metrics-server-tox-py39
- k8sapp-metrics-server-tox-flake8
- k8sapp-metrics-server-tox-pylint
- k8sapp-metrics-server-tox-metadata
post:
jobs:
- stx-metrics-server-armada-app-upload-git-mirror
- job:
name: k8sapp-metrics-server-tox-py39
parent: tox-py39
description: |
Run py39 test for metrics_server
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-metrics-server/*
vars:
tox_extra_args: -c python3-k8sapp-metrics-server/k8sapp_metrics_server/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-metrics-server-tox-metadata
parent: tox
description: |
Run metadata test for k8sapp_metrics_server
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-metrics-server/k8sapp_metrics_server/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-metrics-server-tox-pylint
parent: tox
description: |
Run pylint test for k8sapp_metrics_server
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-metrics-server/*
vars:
tox_envlist: pylint
tox_extra_args: -c python3-k8sapp-metrics-server/k8sapp_metrics_server/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-metrics-server-tox-flake8
parent: tox
description: |
Run flake8 for metrics-server
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-metrics-server/*
vars:
tox_envlist: flake8
tox_extra_args: -c python3-k8sapp-metrics-server/k8sapp_metrics_server/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: stx-metrics-server-armada-app-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/metrics-server-armada-app to
github.com/starlingx/metrics-server-armada-app
vars:
git_mirror_repository: starlingx/metrics-server-armada-app
secrets:
- name: git_mirror_credentials
secret: stx-metrics-server-armada-app-github-secret2
pass-to-parent: true
- secret:
name: stx-metrics-server-armada-app-github-secret2
data:
user: git
host: github.com
# yamllint disable-line rule:line-length
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7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