5bbddf837a
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>
51 lines
1.3 KiB
INI
51 lines
1.3 KiB
INI
[tox]
|
|
envlist = linters
|
|
minversion = 2.3
|
|
skipsdist = True
|
|
#sitepackages=False
|
|
|
|
[testenv]
|
|
install_command = pip install \
|
|
-v -v -v \
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
|
|
{opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
OS_STDOUT_CAPTURE=1
|
|
OS_STDERR_CAPTURE=1
|
|
OS_DEBUG=1
|
|
OS_LOG_CAPTURE=1
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
whitelist_externals =
|
|
bash
|
|
|
|
[testenv:bashate]
|
|
# Treat all E* codes as Errors rather than warnings using: -e 'E*'
|
|
commands =
|
|
bash -c "find {toxinidir} \
|
|
-not \( -type d -name .?\* -prune \) \
|
|
-type f \
|
|
-not -name \*~ \
|
|
-not -name \*.md \
|
|
-name \*.sh \
|
|
-print0 | xargs -r -n 1 -0 bashate -v \
|
|
-e 'E*'"
|
|
|
|
[testenv:linters]
|
|
commands =
|
|
{[testenv:bashate]commands}
|
|
|
|
[testenv:flake8]
|
|
basepython = python3
|
|
description = Dummy environment to allow flake8 to be run in subdir tox
|
|
|
|
[testenv:pylint]
|
|
basepython = python3
|
|
description = Dummy environment to allow pylint to be run in subdir tox
|
|
|
|
[testenv:bandit]
|
|
basepython = python3
|
|
description = Dummy environment to allow bandit to be run in subdir tox
|