Browse Source

Switch to new IR plugin for TripleO jobs

Change-Id: I548ee769d074114f0aee8a8637498ab4e145ebda
changes/58/723558/9
Federico Ressi 2 years ago
parent
commit
2a5b1c0096
  1. 10
      playbooks/tripleo/post.yaml
  2. 19
      playbooks/tripleo/pre.yaml
  3. 12
      playbooks/tripleo/run.yaml
  4. 2
      zuul.d/project.yaml
  5. 27
      zuul.d/tripleo.yaml

10
playbooks/tripleo/post.yaml

@ -1,10 +1,6 @@
---
- hosts: all
- hosts: primary
roles:
- name: collect tobiko test case results
role: tobiko
vars:
tobiko_pre_run: false
tobiko_run: false
tobiko_post_run: true
- tobiko-zuul
- tobiko-post-run

19
playbooks/tripleo/pre.yaml

@ -1,21 +1,12 @@
---
- hosts:
- primary
- hosts: primary
roles:
- name: install python3-devel and other requirements
role: bindep
- tobiko-zuul
- tobiko-pre-run
- name: import tripleo-ci common role
- name: "import tripleo-ci common role"
role: common
- name: install tripleo
- name: "install tripleo"
role: run-test
- name: prepare environment to run Tobiko test cases
role: tobiko
vars:
tobiko_pre_run: true
tobiko_run: false
tobiko_post_run: false

12
playbooks/tripleo/run.yaml

@ -14,13 +14,7 @@
---
- hosts:
- primary
- hosts: primary
roles:
- name: run Tobiko test cases
role: tobiko
vars:
tobiko_pre_run: false
tobiko_run: true
tobiko_post_run: false
- tobiko-zuul
- tobiko-run

2
zuul.d/project.yaml

@ -22,6 +22,8 @@
- tobiko-tox-infrared-centos-7
- tobiko-tox-infrared-centos-8
- tobiko-tox-infrared-ubuntu-bionic
- tobiko-tripleo-functional
- tobiko-tripleo-faults
gate:
jobs:

27
zuul.d/tobiko-tripleo.yaml → zuul.d/tripleo.yaml

@ -11,7 +11,7 @@
run: playbooks/tripleo/run.yaml
post-run: playbooks/tripleo/post.yaml
vars:
tobiko_conf:
test_conf:
keystone:
cloud_name: standalone
featureset: '052'
@ -48,13 +48,14 @@
- tripleo-environments
- x/tobiko
- job:
name: tobiko-tripleo-functional
description: Functional testing Tobiko TripleO job
parent: tobiko-tripleo
voting: false
vars:
tox_envlist: functional
test_workflow: functional
irrelevant-files:
- ^.*\.rst$
- ^doc/
@ -66,31 +67,13 @@
- ^tobiko/tests/unit/
- job:
name: tobiko-tripleo-scenario
description: Scenario testing Tobiko TripleO job
parent: tobiko-tripleo
abstract: true
vars:
tox_envlist: scenario
irrelevant-files:
- ^.*\.rst$
- ^doc/
- ^infrared/
- ^releasenotes/
- ^report/
- ^tobiko/tests/faults/
- ^tobiko/tests/functional/
- ^tobiko/tests/unit/
- job:
name: tobiko-tripleo-faults
description: OS faults and scenario testing Tobiko TripleO job
parent: tobiko-tripleo-scenario
parent: tobiko-tripleo
voting: false
vars:
tobiko_run_faults: true
test_workflow: faults
irrelevant-files:
- ^.*\.rst$
- ^doc/
Loading…
Cancel
Save