51fd1f1cc2
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: 49494 Change-Id: I946413552b24aa43cc17aff1df6f824ceb57395f Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
187 lines
9.2 KiB
YAML
187 lines
9.2 KiB
YAML
---
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-istio-tox-py39
|
|
- k8sapp-istio-tox-pylint
|
|
- k8sapp-istio-tox-flake8
|
|
- k8sapp-istio-tox-metadata
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-istio-tox-py39
|
|
- k8sapp-istio-tox-pylint
|
|
- k8sapp-istio-tox-flake8
|
|
- k8sapp-istio-tox-metadata
|
|
post:
|
|
jobs:
|
|
- stx-app-istio-upload-git-mirror
|
|
|
|
- job:
|
|
name: k8sapp-istio-tox-py39
|
|
parent: tox-py39
|
|
description: |
|
|
Run py39 for istio app
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-istio/*
|
|
vars:
|
|
tox_envlist: py39
|
|
python_version: 3.9
|
|
tox_extra_args: -c python3-k8sapp-istio/k8sapp_istio/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-istio-tox-metadata
|
|
parent: tox
|
|
description: |
|
|
Run metadata test for k8sapp_istio
|
|
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-istio/k8sapp_istio/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-istio-tox-pylint
|
|
parent: tox
|
|
description: |
|
|
Run pylint test for k8sapp_istio
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-istio/*
|
|
vars:
|
|
tox_envlist: pylint
|
|
tox_extra_args: -c python3-k8sapp-istio/k8sapp_istio/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-istio-tox-flake8
|
|
parent: tox
|
|
description: |
|
|
Run flake8 test for k8sapp_istio
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-istio/*
|
|
vars:
|
|
tox_envlist: flake8
|
|
tox_extra_args: -c python3-k8sapp-istio/k8sapp_istio/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: stx-app-istio-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: >
|
|
Mirrors opendev.org/starlingx/app-istio to
|
|
github.com/starlingx/app-istio
|
|
vars:
|
|
git_mirror_repository: starlingx/app-istio
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: stx-app-istio-github-secret2
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: stx-app-istio-github-secret2
|
|
data:
|
|
user: git
|
|
host: github.com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