2a5db63dc2
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: 49490 Change-Id: I576df5c732d8b32621961f9d7b76f5b347334ddf Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
209 lines
9.9 KiB
YAML
209 lines
9.9 KiB
YAML
---
|
|
- project:
|
|
vars:
|
|
ensure_tox_version: '<4'
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-oidc-tox-py39
|
|
- k8sapp-oidc-tox-flake8
|
|
- k8sapp-oidc-tox-pylint
|
|
- k8sapp-oidc-tox-metadata
|
|
- k8sapp-oidc-tox-bandit
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-oidc-tox-py39
|
|
- k8sapp-oidc-tox-flake8
|
|
- k8sapp-oidc-tox-pylint
|
|
- k8sapp-oidc-tox-metadata
|
|
- k8sapp-oidc-tox-bandit
|
|
post:
|
|
jobs:
|
|
- stx-oidc-auth-armada-app-upload-git-mirror
|
|
|
|
- job:
|
|
name: k8sapp-oidc-tox-py39
|
|
parent: openstack-tox-py39
|
|
description: |
|
|
Run py39 test for k8sapp_oidc
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-oidc/*
|
|
vars:
|
|
tox_extra_args: -c python3-k8sapp-oidc/k8sapp_oidc/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
|
|
- job:
|
|
name: k8sapp-oidc-tox-flake8
|
|
parent: tox
|
|
description: |
|
|
Run flake8 test for k8sapp_oidc
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-oidc/*
|
|
vars:
|
|
tox_envlist: flake8
|
|
tox_extra_args: -c python3-k8sapp-oidc/k8sapp_oidc/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-oidc-tox-metadata
|
|
parent: tox
|
|
description: |
|
|
Run metadata test for k8sapp_oidc
|
|
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-oidc/k8sapp_oidc/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-oidc-tox-pylint
|
|
parent: tox
|
|
description: |
|
|
Run pylint test for k8sapp_oidc
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-oidc/*
|
|
vars:
|
|
tox_envlist: pylint
|
|
tox_extra_args: -c python3-k8sapp-oidc/k8sapp_oidc/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-oidc-tox-bandit
|
|
parent: tox
|
|
description: |
|
|
Run bandit test for k8sapp_oidc
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-oidc/*
|
|
vars:
|
|
tox_envlist: bandit
|
|
tox_extra_args: -c python3-k8sapp-oidc/k8sapp_oidc/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: stx-oidc-auth-armada-app-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: >
|
|
Mirrors opendev.org/starlingx/oidc-auth-armada-app to
|
|
github.com/starlingx/oidc-auth-armada-app
|
|
vars:
|
|
git_mirror_repository: starlingx/oidc-auth-armada-app
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: stx-oidc-auth-armada-app-github-secret2
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: stx-oidc-auth-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
|
|
- iKbCOcm9wDkN5Bvr1s+DDZUL5C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