forked from rhinstaller/anaconda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.packit.yml.j2
83 lines (70 loc) · 1.75 KB
/
.packit.yml.j2
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
specfile_path: anaconda.spec
upstream_package_name: anaconda
upstream_tag_template: anaconda-{version}-1
copy_upstream_release_description: true
srpm_build_deps:
- automake
- autoconf
- autogen
- glib2-devel
- gettext-devel
- python3-polib
- gobject-introspection-devel
- glade-devel
- libxklavier-devel
- libarchive-devel
- rpm-devel
- nss_wrapper
- nodejs-npm
actions:
post-upstream-clone:
- ./autogen.sh
- ./configure
create-archive:
- "make release"
- 'bash -c "ls -1 anaconda-*.tar.bz2"'
jobs:
{% if distro_release == "rawhide" %}
- job: propose_downstream
trigger: release
dist_git_branches: main
- job: tests
trigger: pull_request
targets:
- fedora-rawhide
- job: copr_build
trigger: pull_request
targets:
- fedora-rawhide
- fedora-eln
- job: copr_build
trigger: commit
targets:
- fedora-rawhide
- fedora-eln
branch: master
owner: "@rhinstaller"
project: Anaconda
preserve_project: True
{% elif distro_name == "fedora" %}
- job: propose_downstream
trigger: release
dist_git_branches: f{$ distro_release $}
- job: tests
trigger: pull_request
targets:
- fedora-{$ distro_release $}
- job: copr_build
trigger: commit
targets:
- fedora-{$ distro_release $}
branch: fedora-{$ distro_release $}
owner: "@rhinstaller"
project: Anaconda-devel
preserve_project: True
additional_repos:
- "copr://@storage/blivet-daily"
# This repository contains fixup of Rawhide broken environment.
# Mainly useful when there is a package which is not yet in Rawhide but build is available.
- "https://fedorapeople.org/groups/anaconda/repos/anaconda_fixup_repo/"
{% endif %}