nginx-ingress-controller-ar.../.zuul.yaml
Igor Soares 7b848a24cb 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: AIO-SX fresh install
PASS: Apply application

Story: 2010929
Task: 49510

Change-Id: I8c75a95b6cead02a36ac8bead99cbc10b4c875b8
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2024-02-05 19:35:14 -03:00

207 lines
11 KiB
YAML

---
- project:
check:
jobs:
- openstack-tox-linters
- k8sapp-nginx-ingress-controller-tox-py39
- k8sapp-nginx-ingress-controller-tox-flake8
- k8sapp-nginx-ingress-controller-tox-pylint
- k8sapp-nginx-ingress-controller-tox-metadata
- k8sapp-nginx-ingress-controller-tox-bandit
gate:
jobs:
- openstack-tox-linters
- k8sapp-nginx-ingress-controller-tox-py39
- k8sapp-nginx-ingress-controller-tox-flake8
- k8sapp-nginx-ingress-controller-tox-pylint
- k8sapp-nginx-ingress-controller-tox-metadata
- k8sapp-nginx-ingress-controller-tox-bandit
post:
jobs:
- stx-nginx-ingress-controller-armada-app-upload-git-mirror
- job:
name: k8sapp-nginx-ingress-controller-tox-py39
parent: openstack-tox-py39
description: |
Run py39 test for k8sapp-nginx-ingress-controller
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-nginx-ingress-controller/*
vars:
tox_extra_args: -c python3-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-nginx-ingress-controller-tox-flake8
parent: tox
description: |
Run flake8 test for k8sapp-nginx-ingress-controller
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-nginx-ingress-controller/*
vars:
tox_envlist: flake8
tox_extra_args: -c python3-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-nginx-ingress-controller-tox-metadata
parent: tox
description: |
Run metadata test for k8sapp-nginx-ingress-controller
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-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-nginx-ingress-controller-tox-pylint
parent: tox
description: |
Run pylint test for k8sapp-nginx-ingress-controller
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-nginx-ingress-controller/*
vars:
tox_envlist: pylint
tox_extra_args: -c python3-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: k8sapp-nginx-ingress-controller-tox-bandit
parent: tox
description: |
Run bandit test for k8sapp-nginx-ingress-controller
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
- starlingx/root
files:
- python3-k8sapp-nginx-ingress-controller/*
vars:
tox_envlist: bandit
tox_extra_args: -c python3-k8sapp-nginx-ingress-controller/k8sapp_nginx_ingress_controller/tox.ini
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
- job:
name: stx-nginx-ingress-controller-armada-app-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/nginx-ingress-controller-armada-app to
github.com/starlingx/nginx-ingress-controller-armada-app
vars:
git_mirror_repository: starlingx/nginx-ingress-controller-armada-app
secrets:
- name: git_mirror_credentials
secret: stx-nginx-ingress-controller-armada-app-github-secret2
pass-to-parent: true
- secret:
name: stx-nginx-ingress-controller-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+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
ssh_key: !encrypted/pkcs1-oaep
- 4GoY5jRmFQndeGi6uQYVYGlA06yOZoKFTA4TMK5+wSfne2Ic+fKQxnUGN9AqDURT0PsUX
nR4uZqxANdNP03Yhfi0+nq1CTxA+aNk6jji1qwKvGjbhtikA1ZqW8RsEOpl5J7uE9rRpZ
OvyBbVYs2K60rj88IVzEJgdiX2KV3mWGnf1fmoL7LNDWjjtGATOFftysZsclBmpDAR/yG
f7i52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