Add an initial set of zuul jobs
This brings feature parity with the old travis configuration. The travis confiuration was removed. TrivialFix Depends-On: https://review.openstack.org/#/c/615252/ Depends-On: https://review.openstack.org/#/c/615253/ Depends-On: https://review.openstack.org/#/c/615254/ Change-Id: Ia85259f3cb7e3f6479e21104856144432882ea66
This commit is contained in:
parent
ff5b909e9b
commit
2715c36be2
45
.travis.yml
45
.travis.yml
@ -1,45 +0,0 @@
|
|||||||
---
|
|
||||||
language: python
|
|
||||||
|
|
||||||
# Run jobs in VMs - sudo is required by ansible tests.
|
|
||||||
sudo: required
|
|
||||||
|
|
||||||
# Install ansible
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- gcc
|
|
||||||
- python-apt
|
|
||||||
- python-virtualenv
|
|
||||||
- realpath
|
|
||||||
|
|
||||||
# Create a build matrix for the different test jobs.
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
# Run Python style checks.
|
|
||||||
- python: 3.5
|
|
||||||
env: TOX_ENV=pep8
|
|
||||||
# Run Ansible linting.
|
|
||||||
- python: 3.5
|
|
||||||
env: TOX_ENV=alint
|
|
||||||
# Run Python 3.5 tests.
|
|
||||||
- python: 3.5
|
|
||||||
env: TOX_ENV=py35
|
|
||||||
# Run Python 2.7 tests.
|
|
||||||
- python: 2.7
|
|
||||||
env: TOX_ENV=py27
|
|
||||||
# Run coverage checks.
|
|
||||||
- python: 3.5
|
|
||||||
env: TOX_ENV=cover
|
|
||||||
# Generate docs.
|
|
||||||
- python: 3.5
|
|
||||||
env: TOX_ENV=docs
|
|
||||||
|
|
||||||
install:
|
|
||||||
# Install tox in a virtualenv to ensure we have an up to date version.
|
|
||||||
- pip install -U pip
|
|
||||||
- pip install tox
|
|
||||||
|
|
||||||
script:
|
|
||||||
# Run the tox environment.
|
|
||||||
- tox -e ${TOX_ENV}
|
|
9
zuul.d/jobs.yaml
Normal file
9
zuul.d/jobs.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- job:
|
||||||
|
name: tenks-tox-ansible-lint
|
||||||
|
description: |
|
||||||
|
Tox job that runs ansible-lint
|
||||||
|
parent: openstack-tox
|
||||||
|
vars:
|
||||||
|
tox_envlist: alint
|
||||||
|
|
@ -1,9 +1,16 @@
|
|||||||
---
|
---
|
||||||
- project:
|
- project:
|
||||||
|
templates:
|
||||||
|
- build-openstack-docs-pti
|
||||||
|
- openstack-cover-jobs
|
||||||
|
- openstack-python35-jobs
|
||||||
|
- openstack-python-jobs
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- noop
|
- build-openstack-releasenotes
|
||||||
|
- tenks-tox-ansible-lint
|
||||||
gate:
|
gate:
|
||||||
queue: tenks
|
queue: tenks
|
||||||
jobs:
|
jobs:
|
||||||
- noop
|
- build-openstack-releasenotes
|
||||||
|
- tenks-tox-ansible-lint
|
||||||
|
Loading…
Reference in New Issue
Block a user