This repository has been archived by the owner on Apr 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beah-review-checks-rpms.yaml
53 lines (52 loc) · 1.86 KB
/
beah-review-checks-rpms.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
- job-template:
name: beah-review-checks-rpms-{distro}
description: |
Builds RPMs for {distro} in Brew for patches posted to Gerrit.
properties:
- build-discarder:
days-to-keep: 30
concurrent: true
node: fedora
scm: !include: beah-review-checks-scmconfig.yaml.inc
triggers:
- gerrit:
server-name: gerrit.beaker-project.org
projects:
- project-compare-type: PLAIN
project-pattern: beah
branches:
- branch-compare-type: ANT
branch-pattern: "**"
trigger-on:
- comment-added-event:
approval-category: Ready-for-Checks
approval-value: 1
custom-url: "https://beaker-project.org/jenkins-results/$JOB_NAME/$BUILD_NUMBER/"
escape-quotes: false
silent-start: true
skip-vote:
failed: "{ignorefail}"
builders:
- restraint-build-rpms:
dist: "{dist}"
kojitarget: "{kojitarget}"
publishers:
- archive:
artifacts: koji-result/**
wrappers:
- credentials-binding:
- file:
credential-id: "1fc5282d-0e61-4736-ace4-9ff23b065636"
variable: JENKINS_KEYTAB
- publish-over-ssh-post-build:
site: "beaker-project.org jenkins-results"
# Not saving the RPMs because they are too big.
# After https://bugzilla.redhat.com/show_bug.cgi?id=1559638 is done they should be smaller,
# consider adding them then.
source: "koji-result/**/*.log"
target: "$JOB_NAME/$BUILD_NUMBER"
- project:
name: beah-review-checks-rpms
distro: !include: beah-rpms-distroconfig.yaml.inc
jobs:
- beah-review-checks-rpms-{distro}