-
Notifications
You must be signed in to change notification settings - Fork 55
/
.packit.yaml
75 lines (65 loc) · 2.22 KB
/
.packit.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
# yamllint disable rule:line-length
specfile_path: ../distro/stratisd.spec
merge_pr_in_ci: false
update_release: false
upstream_package_name: stratisd
downstream_package_name: stratisd
actions:
post-upstream-clone:
- "git clone https://github.com/stratis-storage/ci --depth=1 ../distro"
- "mv ../distro/mockbuild_test/stratisd.spec ../distro/stratisd.spec"
- "cargo install cargo-get"
- "cargo install cargo-vendor-filterer"
create-archive:
- "sh -c 'python3 ../distro/release_management/create_artifacts.py ../distro/ --pre-release --specfile-path=../distro/stratisd.spec stratisd --vendor-method=filtered'"
fix-spec-file:
- "echo 'skipping automatic fix-spec-file actions'"
get-current-version:
- "cargo get package.version"
srpm_build_deps:
- git
- cargo
- openssl-devel
jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-development
- job: copr_build
trigger: pull_request
additional_repos:
- https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/40/Everything/x86_64/
targets:
- fedora-40
- job: copr_build
trigger: pull_request
additional_repos:
- https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/39/Everything/x86_64/
targets:
- fedora-39
- job: tests
identifier: local
trigger: pull_request
targets:
- fedora-all
# run Cockpit storage tests, see plans/ with `cockpit == yes`
- job: tests
identifier: cockpit
trigger: pull_request
targets:
- fedora-development
notifications:
failure_comment:
message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check."
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo
tmt:
context:
plan: "cockpit"
notifications:
pull_request:
successful_build: true