Refactor zuul jobs

- Avoid using content provider job and the second standalone one
- Integration jobs are now running as experimental

Change-Id: I8a2f19fd091e827458f6769612c46341259047f3
This commit is contained in:
Sorin Sbarnea 2021-06-14 14:33:21 +01:00
parent a9af906a30
commit cc6ff6f07c

View File

@ -30,53 +30,48 @@
- project: - project:
vars: vars:
fail_logs_collection: true fail_logs_collection: true
templates:
- tripleo-undercloud-jobs-pipeline
check: check:
jobs: &jobs jobs: &jobs
- openstack-tox-linters - openstack-tox-linters
- openstack-tox-molecule - openstack-tox-molecule
- tox-ansible-test-sanity - tox-ansible-test-sanity
- tox-ansible-test-units - tox-ansible-test-units
- zuul-ansible-role-collect-logs
experimental:
jobs:
# Limit the number of jobs executed while still assuring a relevant # Limit the number of jobs executed while still assuring a relevant
# level of coverage. If specific tasks are to be tested we should # level of coverage. If specific tasks are to be tested we should
# consider implementing functional tests for them, especially as # consider implementing functional tests for them, especially as
# running full integration does not effectively validates that the # running full integration does not effectively validates that the
# outcome was produced (they still rely on manual verification). # outcome was produced (they still rely on manual verification).
- tripleo-ci-centos-8-content-provider: - tripleo-ci-centos-8-scenario001-standalone:
irrelevant-files: &irrelevant_sa irrelevant-files: &irrelevant_sa
# do not put requirements.txt here, as it can have a huge impact
- ^.*\.md$ - ^.*\.md$
- ^.*\.rst$ - ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
# do not put requirements.txt here, as it can have a huge impact
- ^test-requirements.txt$
- ^lower-constraints.txt$
- ^spec/.*$
- ^Puppetfile.*$
- tox.ini
- ^vars/sova-patterns.yml$
- ^.ansible-lint$ - ^.ansible-lint$
- ^.pre-commit-config.yaml$ - ^.pre-commit-config.yaml$
- ^.yamllint$ - ^.yamllint$
- tripleo-ci-centos-8-scenario001-standalone: - ^Puppetfile.*$
irrelevant-files: *irrelevant_sa - ^doc/.*$
vars: &c8_content_provider - ^etc/.*$
consumer_job: true - ^lower-constraints.txt$
- ^metadata.json$
- ^releasenotes/.*$
- ^spec/.*$
- ^test-requirements.txt$
- ^vars/sova-patterns.yml$
- ^zuul.d/tox\.yaml$
- tox.ini
vars:
consumer_job: false
build_container_images: true
tags: tags:
- standalone - standalone
dependencies: &c8_content_deps
- tripleo-ci-centos-8-content-provider
- tripleo-ci-centos-8-scenario002-standalone:
irrelevant-files: *irrelevant_sa
vars: *c8_content_provider
dependencies: *c8_content_deps
- tripleo-ci-centos-8-containers-multinode: - tripleo-ci-centos-8-containers-multinode:
irrelevant-files: *irrelevant_sa irrelevant-files: *irrelevant_sa
vars: &multi_consumer_vars vars:
consumer_job: true consumer_job: false
build_container_imags: true build_container_imags: true
tags: tags:
- undercloud-setup - undercloud-setup
@ -90,8 +85,6 @@
- overcloud-deploy - overcloud-deploy
- overcloud-post-deploy - overcloud-post-deploy
- overcloud-validate - overcloud-validate
dependencies: *c8_content_deps
- zuul-ansible-role-collect-logs
gate: gate:
jobs: *jobs jobs: *jobs
queue: tripleo queue: tripleo