88fa7920ef
Update rook-ceph to use upstream code and its FluxCD manifests to align with bare metal Ceph. Changes include: - Create a migration-rook-ceph-helm package to align to the upstream helm charts - Delete previously copied upstream helm charts from stx-rook-ceph - Rename stx-rook-ceph to stx-migration-rook-ceph-helm following existing application patterns - Add new python plugin package support with python3-k8sapp-migration-rook-ceph Test Plan: PASS - Run all tox tests locally PASS - Build all application packages PASS - Deploy on AIO-SX validating that ceph cluster is operational - Followed: https://wiki.openstack.org/wiki/StarlingX/Containers/Applications/app-rook-ceph#Testing Change-Id: I99e0d3a61c6169e5aae7091dd0202350d4c3e3c9 Story: 2011055 Task: 49625 Co-Authored-By: Robert Church <robert.church@windriver.com> Signed-off-by: Caio Correa <caio.correa@windriver.com>
212 lines
10 KiB
YAML
212 lines
10 KiB
YAML
---
|
|
- project:
|
|
vars:
|
|
ensure_tox_version: '<4'
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-rook-ceph-tox-py39
|
|
- k8sapp-rook-ceph-tox-flake8
|
|
- k8sapp-rook-ceph-tox-pylint
|
|
- k8sapp-rook-ceph-tox-metadata
|
|
- k8sapp-rook-ceph-tox-bandit
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-rook-ceph-tox-py39
|
|
- k8sapp-rook-ceph-tox-flake8
|
|
- k8sapp-rook-ceph-tox-pylint
|
|
- k8sapp-rook-ceph-tox-metadata
|
|
- k8sapp-rook-ceph-tox-bandit
|
|
post:
|
|
jobs:
|
|
- stx-rook-ceph-apps-upload-git-mirror
|
|
|
|
- job:
|
|
name: k8sapp-rook-ceph-tox-py39
|
|
parent: openstack-tox-py39
|
|
description: |
|
|
Run py39 test for k8sapp_migration_rook_ceph
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
-python3-k8sapp-migration-rook-ceph/*
|
|
vars:
|
|
python_version: 3.9
|
|
tox_envlist: py39
|
|
tox_extra_args: -c python3-k8sapp-migration-rook-ceph/k8sapp_migration_rook_ceph/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-rook-ceph-tox-flake8
|
|
parent: tox
|
|
description: |
|
|
Run flake8 test for k8sapp_migration_rook_ceph
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
-python3-k8sapp-migration-rook-ceph/*
|
|
vars:
|
|
tox_envlist: flake8
|
|
tox_extra_args: -c python3-k8sapp-migration-rook-ceph/k8sapp_migration_rook_ceph/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-rook-ceph-tox-pylint
|
|
parent: tox
|
|
description: |
|
|
Run pylint test for k8sapp_migration_rook_ceph
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
-python3-k8sapp-migration-rook-ceph/*
|
|
vars:
|
|
tox_envlist: pylint
|
|
tox_extra_args: -c python3-k8sapp-migration-rook-ceph/k8sapp_migration_rook_ceph/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-rook-ceph-tox-metadata
|
|
parent: tox
|
|
description: |
|
|
Run metadata test for k8sapp_migration_rook_ceph
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
-python3-k8sapp-migration-rook-ceph/*
|
|
vars:
|
|
tox_envlist: metadata
|
|
tox_extra_args: -c python3-k8sapp-migration-rook-ceph/k8sapp_migration_rook_ceph/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-rook-ceph-tox-bandit
|
|
parent: tox
|
|
description: |
|
|
Run bandit test for k8sapp_migration_rook_ceph
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
-python3-k8sapp-migration-rook-ceph/*
|
|
vars:
|
|
tox_envlist: bandit
|
|
tox_extra_args: -c python3-k8sapp-migration-rook-ceph/k8sapp_migration_rook_ceph/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: stx-rook-ceph-apps-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: >
|
|
Mirrors opendev.org/starlingx/rook-ceph to
|
|
github.com/starlingx/rook-ceph
|
|
vars:
|
|
git_mirror_repository: starlingx/rook-ceph
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: stx-rook-ceph-apps-github-secret2
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: stx-rook-ceph-apps-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+5dIg6JTJ72pcEpEjcY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