platform-armada-app/.zuul.yaml
Reed, Joshua 99d4652354 Correct trigger for metadata job in .zuul.yaml
The metadata job previously would only trigger when
a file in the python3-* repo was changed.  This means
one could get a change to the metadata.yaml submitted
without the proper pipeline job checking the file. This
change corrects that.

Test Plan:
PASS: Verify metadata job runs.

Story: 2010929
Task: 49489

Change-Id: Ie81411fbc6e8debc2f1b8f4050c7bb72b3b2c3fd
Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
2024-02-06 09:47:00 -07:00

209 lines
10 KiB
YAML

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