rook-ceph/.zuul.yaml
Martin, Chen 5bbddf837a Introduce application to deploy rook ceph, support for Helm v3
rook enable with such procedure
1, deploy system without add ceph storage backend
2, update osd info with helm override
    $ system helm-override-update rook-ceph-apps rook-ceph --values value.yaml
3, apply rook-ceph application
    $ system application-apply rook-ceph-storage

sample value.yaml to deploy provision sdb on host 'controller-0'
cluster:
  storage:
    nodes:
    - devices:
      - config:
          journalSizeMB: 1024
          storeType: bluestore
        name: sdb
      name: controller-0

Story: 2005527
Task: 39214

Depends-On: https://review.opendev.org/#/c/713084/

Change-Id: Ie8f43082a5022b4e3507f0ac8fe0a2654e2a3302
Signed-off-by: Martin, Chen <haochuan.z.chen@intel.com>
2021-01-08 08:52:39 +08:00

186 lines
8.6 KiB
YAML

---
- project:
check:
jobs:
- openstack-tox-linters
- k8sapp-rook-ceph-tox-py27
- k8sapp-rook-ceph-tox-py36
- k8sapp-rook-ceph-tox-flake8
- k8sapp-rook-ceph-tox-pylint
- k8sapp-rook-ceph-tox-bandit
gate:
jobs:
- openstack-tox-linters
- k8sapp-rook-ceph-tox-py27
- k8sapp-rook-ceph-tox-py36
- k8sapp-rook-ceph-tox-flake8
- k8sapp-rook-ceph-tox-pylint
- k8sapp-rook-ceph-tox-bandit
post:
jobs:
- stx-rook-ceph-apps-upload-git-mirror
- job:
name: k8sapp-rook-ceph-tox-py27
parent: tox
description: |
Run py27 test for k8sapp_rook_ceph
nodeset: ubuntu-xenial
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
files:
- python-k8sapp-rook/*
vars:
tox_envlist: py27
tox_extra_args: -c python-k8sapp-rook/k8sapp_rook/tox.ini
- job:
name: k8sapp-rook-ceph-tox-py36
parent: tox
description: |
Run py36 test for k8sapp_rook_ceph
nodeset: ubuntu-bionic
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
files:
- python-k8sapp-rook/*
vars:
tox_envlist: py36
tox_extra_args: -c python-k8sapp-rook/k8sapp_rook/tox.ini
- job:
name: k8sapp-rook-ceph-tox-flake8
parent: tox
description: |
Run flake8 test for k8sapp_rook_ceph
files:
- python-k8sapp-rook/*
vars:
tox_envlist: flake8
tox_extra_args: -c python-k8sapp-rook/k8sapp_rook/tox.ini
- job:
name: k8sapp-rook-ceph-tox-pylint
parent: tox
description: |
Run pylint test for k8sapp_rook_ceph
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
files:
- python-k8sapp-rook/*
vars:
tox_envlist: pylint
tox_extra_args: -c python-k8sapp-rook/k8sapp_rook/tox.ini
- job:
name: k8sapp-rook-ceph-tox-bandit
parent: tox
description: |
Run bandit test for k8sapp_rook_ceph
files:
- python-k8sapp-rook/*
vars:
tox_envlist: bandit
tox_extra_args: -c python-k8sapp-rook/k8sapp_rook/tox.ini
- 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-secret
pass-to-parent: true
- secret:
name: stx-rook-ceph-apps-github-secret
data:
user: git
host: github.com
# yamllint disable-line rule:line-length
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
ssh_key: !encrypted/pkcs1-oaep
- RBkNQek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