786a1be338
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: 49497 Change-Id: I804032ea96823eda2ea26e0bfc2bb7a3dc85aee3 Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
190 lines
9.8 KiB
YAML
190 lines
9.8 KiB
YAML
---
|
|
- project:
|
|
vars:
|
|
ensure_tox_version: '<4'
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-node-feature-discovery-tox-py39
|
|
- k8sapp-node-feature-discovery-tox-pylint
|
|
- k8sapp-node-feature-discovery-tox-flake8
|
|
- k8sapp-node-feature-discovery-tox-metadata
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-node-feature-discovery-tox-py39
|
|
- k8sapp-node-feature-discovery-tox-pylint
|
|
- k8sapp-node-feature-discovery-tox-flake8
|
|
- k8sapp-node-feature-discovery-tox-metadata
|
|
post:
|
|
jobs:
|
|
- stx-app-node-feature-discovery-upload-git-mirror
|
|
|
|
- job:
|
|
name: k8sapp-node-feature-discovery-tox-py39
|
|
parent: tox-py39
|
|
description: |
|
|
Run py39 for node-feature-discovery app
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-node-feature-discovery/*
|
|
vars:
|
|
tox_envlist: py39
|
|
python_version: 3.9
|
|
tox_extra_args: -c python3-k8sapp-node-feature-discovery/k8sapp_node_feature_discovery/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-node-feature-discovery-tox-metadata
|
|
parent: tox
|
|
description: |
|
|
Run metadata test for node-feature-discovery app
|
|
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-node-feature-discovery/k8sapp_node_feature_discovery/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-node-feature-discovery-tox-pylint
|
|
parent: tox
|
|
description: |
|
|
Run pylint test for node-feature-discovery app
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-node-feature-discovery/*
|
|
vars:
|
|
tox_envlist: pylint
|
|
tox_extra_args: -c python3-k8sapp-node-feature-discovery/k8sapp_node_feature_discovery/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-node-feature-discovery-tox-flake8
|
|
parent: tox
|
|
description: |
|
|
Run flake8 test for node-feature-discovery app
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-node-feature-discovery/*
|
|
vars:
|
|
tox_envlist: flake8
|
|
tox_extra_args: -c python3-k8sapp-node-feature-discovery/k8sapp_node_feature_discovery/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: stx-app-node-feature-discovery-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: >
|
|
Mirrors opendev.org/starlingx/app-node-feature-discovery to
|
|
github.com/starlingx/app-node-feature-discovery
|
|
vars:
|
|
git_mirror_repository: starlingx/app-node-feature-discovery
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: stx-app-node-feature-discovery-github-secret
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: stx-app-node-feature-discovery-github-secret
|
|
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
|
|
- YqcIgrjEbsEpB0y3So7p4xuUt6/i4C4lRJZfkTR/qtJlXtIBzTrAzVjxkNXiSDqKdEzLq
|
|
WnUHvQ0V83AwRsNEgBpKP/cfiVpnMZcL65CniRw7E9lS+Y4ksK2edcSZQGjpfLXAdATS8
|
|
mid3RcYXAekm0FurldLtSpsl3ukD6dl5hkEW298szTlbbaAVYVJr7GyQDW+tGaliu5GtX
|
|
LqP+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