blob: f9ebf42a452c852c647d430c622489288093b3ca [file] [log] [blame]
- job:
name: run-ci-build-sh
description: |
Run project's ./ci/build.sh script.
run: playbooks/run-test-command/run.yaml
vars:
test_command: "ci/build.sh"
perform_extra_work: false
nodeset:
nodes:
- name: w
label: f31
timeout: 900
- job:
name: run-ci-build-sh-f31
parent: run-ci-build-sh
- job:
name: promote-artifacts
parent: publish-artifacts-tenant
description: |
Retrieve all artifacts built by the last matching run in the check
pipeline, and promote them into a permanent location in the log server.
This is intended to be run within a promote pipeline.
nodeset:
nodes: []
# TODO: this should be renamed and replace cpp-coverage-diff once we no longer have Fedora 29
- job:
name: f31-cpp-coverage-diff
description: |
Report how coverage changed compared to the previous state of the repo.
nodeset:
nodes:
- name: w
label: f31-small
timeout: 120
pre-run: playbooks/coverage-diff/prepare.yaml
run: playbooks/coverage-diff/generate.yaml
post-run: playbooks/coverage-diff/upload-diff.yaml
success-url: coverage-diff.html
failure-url: coverage-diff.html
requires:
- coverage-f31-gcc-old
- coverage-f31-gcc-new
dependencies:
- f31-gcc-cover
- f31-gcc-cover-previous
vars:
previous_source_prefix: "{{ ansible_user_dir }}/previous-src"
coverage_xml_dir: "{{ zuul.project.src_dir }}/cover"
coverage_job_name_previous: f31-gcc-cover-previous
coverage_job_name_current: f31-gcc-cover
- job:
name: clang-format
description: |
Lint the current change via git-clang-format
run: playbooks/clang-format/run.yaml
failure-url: git-clang-format.patch
nodeset:
nodes:
- name: bld
label: f31-small
timeout: 120
- job:
name: f31-gcc
description: |
Build on Fedora 31 with GCC.
parent: run-ci-build-sh-f31
vars:
perform_extra_work: true
- job:
name: f31-gcc-cover
description: |
Build on Fedora 31 with GCC and code coverage.
parent: f31-gcc
post-run: playbooks/coverage-diff/upload-one-report.yaml
provides: coverage-f31-gcc-new
vars:
coverage_xml_dir: "{{ ansible_user_dir }}/build"
- job:
name: f31-gcc-cover-previous
description: |
Build previous version of sources on Fedora 31 with GCC and code coverage.
parent: f31-gcc-cover
pre-run: playbooks/coverage-diff/checkout-previous.yaml
provides: coverage-f31-gcc-old
voting: false
vars:
coverage_xml_dir: "{{ ansible_user_dir }}/build"
- job:
name: f31-gcc-asan
description: |
Build on Fedora 31 with GCC and ASAN sanitizer.
parent: run-ci-build-sh-f31
- job:
name: f31-gcc-asan-ubsan
description: |
Build on Fedora 31 with GCC and ASAN+UBSAN sanitizers.
parent: run-ci-build-sh-f31
- job:
name: f31-clang
description: |
Build on Fedora 31 with clang.
parent: run-ci-build-sh-f31
- job:
name: f31-clang-asan
description: |
Build on Fedora 31 with clang and ASAN sanitizer.
parent: run-ci-build-sh-f31
- job:
name: f31-clang-asan-ubsan
description: |
Build on Fedora 31 with clang and ASAN+UBSAN sanitizers.
parent: run-ci-build-sh-f31
- job:
name: f31-clang-tsan
description: |
Build on Fedora 31 with clang and TSAN thread sanitizer.
parent: run-ci-build-sh-f31