skyline-apiserver/.zuul.yaml
zhu.boxiang 6494ff6a46 fix: Fix the log_dir
If the log_dir is /var/log/kolla, and when we
deploy with devstack, we only chown the permission
for /var/log/kolla/skyline with stack user.
But the permission for /var/log/kolla is still root.
So it can not be access by stack user.
We will both change the log_dir in skyline-console
project.

Change-Id: I852c44cda2f9879aa8d8e405bb39bba13f35b8ca
2022-03-14 10:22:24 +08:00

100 lines
2.6 KiB
YAML

---
- job:
name: skyline-functional-devstack
parent: devstack
description: |
Skyline functional tests job based on devstack (single-node).
pre-run: playbooks/devstack/pre.yaml
run:
- playbooks/devstack/run-devstack.yaml
- playbooks/devstack/run-tox.yaml
post-run:
- playbooks/devstack/post.yaml
required-projects:
- openstack/skyline-apiserver
vars:
devstack_plugins:
skyline-apiserver: https://opendev.org/openstack/skyline-apiserver
zuul_copy_output:
/var/log/skyline: logs
/etc/skyline: logs
/etc/nginx: logs
host-vars:
controller:
tox_install_siblings: false
tox_envlist: functional
- job:
name: skyline-tox-unittest-py38
parent: openstack-tox-py38
description: |
Skyline py38 unittest tests
vars:
python_version: 3.8
tox_envlist: unittest-py38
- job:
name: skyline-tox-lint-py38
parent: openstack-tox-py38
description: |
Skyline code static analysis
vars:
python_version: 3.8
tox_envlist: lint
- job:
name: publish-skyline-python-branch-tarball
parent: publish-openstack-artifacts
description: |
Publish the results tar.gz and whl packages to tarballs.openstack.org.
pre-run: playbooks/python-tarball/pre.yaml
run: playbooks/python-tarball/run.yaml
post-run: playbooks/python-tarball/post.yaml
vars:
release_python: python3
- project:
check:
jobs:
- skyline-tox-unittest-py38:
irrelevant-files:
- ^container/.*$
- ^devstack/.*$
- ^docs/.*$
- ^tools/.*$
- ^.*\.rst$
- ^.*\.md$
- ^kolla/.*$
- skyline-tox-lint-py38
- skyline-functional-devstack:
irrelevant-files:
- ^container/.*$
- ^docs/.*$
- ^tools/.*$
- ^.*\.rst$
- ^.*\.md$
- ^kolla/.*$
gate:
jobs:
- skyline-tox-unittest-py38:
irrelevant-files:
- ^container/.*$
- ^devstack/.*$
- ^docs/.*$
- ^tools/.*$
- ^.*\.rst$
- ^.*\.md$
- ^kolla/.*$
- skyline-tox-lint-py38
- skyline-functional-devstack:
irrelevant-files:
- ^container/.*$
- ^docs/.*$
- ^tools/.*$
- ^.*\.rst$
- ^.*\.md$
- ^kolla/.*$
post:
jobs:
- publish-skyline-python-branch-tarball