Add a minimal child job

This commit is contained in:
Fabien Boucher 2020-03-19 16:03:55 +01:00 committed by Lukáš Hrázký
parent bb2354a1dc
commit 0f7e6e74a3
2 changed files with 27 additions and 0 deletions

View File

@ -1,4 +1,22 @@
- job:
name: dnf-run-tests
description: Run DNF tests
roles:
- zuul: zuul-distro-jobs
requires: repo
# require-projects:
# - rpm-software-management/ci-dnf-stack
branches:
- master
vars:
dnf_master_copr: fbo/dnf-master
run: zuul-ci/run-tests.yaml
nodeset: fedora-31-vm
- project:
check:
jobs:
- dnf-rpm-build
- dnf-run-tests:
dependencies:
- dnf-rpm-build

9
zuul-ci/run-tests.yaml Normal file
View File

@ -0,0 +1,9 @@
- hosts: all
roles:
- repo-setup
tasks:
- name: Show zuul-build repo definition
command: cat /etc/yum.repos.d/zuul-build.repo
- name: Install fbo/dnf-master copr
become: True
command: dnf -y copr enable {{ dnf_master_copr }}