Use Litmus for libraries jobs
Change-Id: I9a989ccf4c271cb519aa90445931628cc9664b7e
This commit is contained in:
parent
f723bfa349
commit
7d392fc095
15
playbooks/run-libraries-litmus-tests.yaml
Normal file
15
playbooks/run-libraries-litmus-tests.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
- hosts: all
|
||||||
|
tasks:
|
||||||
|
- shell:
|
||||||
|
cmd: |
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
trap "{{ ansible_user_dir }}/workspace/puppet-openstack-integration/copy_logs.sh" EXIT
|
||||||
|
if [ "{{ puppet_gem_version }}" != "latest" ]; then
|
||||||
|
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}'
|
||||||
|
fi
|
||||||
|
./run_litmus_tests.sh
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: '{{ ansible_user_dir }}/workspace'
|
||||||
|
become: yes
|
||||||
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
@ -30,8 +30,8 @@
|
|||||||
- puppet-openstack-libraries-puppet-unit-6.14-centos-8
|
- puppet-openstack-libraries-puppet-unit-6.14-centos-8
|
||||||
- puppet-openstack-libraries-puppet-unit-6.14-ubuntu-bionic
|
- puppet-openstack-libraries-puppet-unit-6.14-ubuntu-bionic
|
||||||
- puppet-openstack-libraries-puppet-unit-latest-ubuntu-bionic
|
- puppet-openstack-libraries-puppet-unit-latest-ubuntu-bionic
|
||||||
- puppet-openstack-libraries-puppet-beaker-rspec-centos-8
|
- puppet-openstack-libraries-litmus-centos-8
|
||||||
- puppet-openstack-libraries-puppet-beaker-rspec-ubuntu-bionic
|
- puppet-openstack-libraries-litmus-ubuntu-bionic
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- puppet-openstack-libraries-puppet-lint-ubuntu-bionic
|
- puppet-openstack-libraries-puppet-lint-ubuntu-bionic
|
||||||
@ -39,7 +39,7 @@
|
|||||||
- puppet-openstack-libraries-puppet-syntax-6-ubuntu-bionic
|
- puppet-openstack-libraries-puppet-syntax-6-ubuntu-bionic
|
||||||
- puppet-openstack-libraries-puppet-unit-6.14-centos-8
|
- puppet-openstack-libraries-puppet-unit-6.14-centos-8
|
||||||
- puppet-openstack-libraries-puppet-unit-6.14-ubuntu-bionic
|
- puppet-openstack-libraries-puppet-unit-6.14-ubuntu-bionic
|
||||||
- puppet-openstack-libraries-puppet-beaker-rspec-centos-8
|
- puppet-openstack-libraries-litmus-centos-8
|
||||||
|
|
||||||
# integration jobs
|
# integration jobs
|
||||||
- project-template:
|
- project-template:
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
abstract: true
|
abstract: true
|
||||||
pre-run: playbooks/prepare-node-litmus.yaml
|
pre-run: playbooks/prepare-node-litmus.yaml
|
||||||
post-run: playbooks/upload-logs.yaml
|
post-run: playbooks/upload-logs.yaml
|
||||||
run: playbooks/run-litmus-tests.yaml
|
|
||||||
timeout: 5400
|
timeout: 5400
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.md$
|
- ^.*\.md$
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*$
|
- ^doc/.*$
|
||||||
|
- ^etc/.*$
|
||||||
- ^releasenotes/.*$
|
- ^releasenotes/.*$
|
||||||
- ^spec/unit/.*$
|
- ^spec/unit/.*$
|
||||||
- ^spec/classes/.*$
|
- ^spec/classes/.*$
|
||||||
@ -24,8 +24,20 @@
|
|||||||
- ^setup.py$
|
- ^setup.py$
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: puppet-openstack-litmus-centos-8
|
name: puppet-openstack-litmus-module-base
|
||||||
parent: puppet-openstack-litmus-run-base
|
parent: puppet-openstack-litmus-run-base
|
||||||
|
abstract: true
|
||||||
|
run: playbooks/run-litmus-tests.yaml
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: puppet-openstack-litmus-libraries-base
|
||||||
|
parent: puppet-openstack-litmus-run-base
|
||||||
|
abstract: true
|
||||||
|
run: playbooks/run-libraries-litmus-tests.yaml
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: puppet-openstack-litmus-centos-8
|
||||||
|
parent: puppet-openstack-litmus-module-base
|
||||||
nodeset: centos-8
|
nodeset: centos-8
|
||||||
vars:
|
vars:
|
||||||
puppet_gem_version: 6.16
|
puppet_gem_version: 6.16
|
||||||
@ -33,13 +45,27 @@
|
|||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: puppet-openstack-litmus-ubuntu-bionic
|
name: puppet-openstack-litmus-ubuntu-bionic
|
||||||
parent: puppet-openstack-litmus-run-base
|
parent: puppet-openstack-litmus-module-base
|
||||||
nodeset: ubuntu-bionic
|
nodeset: ubuntu-bionic
|
||||||
voting: false
|
voting: false
|
||||||
vars:
|
vars:
|
||||||
puppet_gem_version: latest
|
puppet_gem_version: latest
|
||||||
ceph: nautilus
|
ceph: nautilus
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: puppet-openstack-libraries-litmus-centos-8
|
||||||
|
parent: puppet-openstack-litmus-libraries-base
|
||||||
|
vars:
|
||||||
|
puppet_gem_version: 6.18.0
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: puppet-openstack-libraries-litmus-ubuntu-bionic
|
||||||
|
parent: puppet-openstack-litmus-libraries-base
|
||||||
|
voting: false
|
||||||
|
nodeset: ubuntu-bionic
|
||||||
|
vars:
|
||||||
|
puppet_gem_version: latest
|
||||||
|
|
||||||
- project-template:
|
- project-template:
|
||||||
name: puppet-openstack-litmus-jobs
|
name: puppet-openstack-litmus-jobs
|
||||||
check:
|
check:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user