-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.packit.yaml
More file actions
88 lines (86 loc) · 2.48 KB
/
Copy path.packit.yaml
File metadata and controls
88 lines (86 loc) · 2.48 KB
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
84
85
86
87
88
# Copyright (C) 2024 Maxwell G <maxwell@gtmx.me>
# SPDX-License-Identifier: MIT
upstream_package_name: go-vendor-tools
srpm_build_deps:
- golang-bin
- git-core
- pipx
- rpmdevtools
- /usr/bin/unshare
- wget
# This messes up wait-for-copr, since each merge commit has a different commit
# hash and then fclogr calculates a different NVR than what the actual package
# built.
merge_pr_in_ci: false
packages:
# Main package
go-vendor-tools:
specfile_path: go-vendor-tools.spec
actions:
fix-spec-file:
- "./contrib/main-archive.sh go-vendor-tools.spec"
create-archive:
- "./contrib/main-archive.sh go-vendor-tools.spec"
- "sh -c 'ls go-vendor-tools-*.tar.gz'"
release_suffix: ""
osh_diff_scan_after_copr_build: false
# Integration packages
autorestic:
specfile_path: autorestic.spec
paths:
- ./tests/integration/autorestic
actions:
fix-spec-file: []
create-archive:
- bash -x ../../../contrib/integration-archive.sh
post-upstream-clone:
- bash -x ../../../contrib/wait-for-copr.sh
osh_diff_scan_after_copr_build: false
fzf:
specfile_path: fzf.spec
paths:
- ./tests/integration/fzf
actions:
fix-spec-file: []
create-archive:
- bash -x ../../../contrib/integration-archive.sh
post-upstream-clone:
- bash -x ../../../contrib/wait-for-copr.sh
osh_diff_scan_after_copr_build: false
jobs:
- job: copr_build
packages:
- go-vendor-tools
- autorestic
- fzf
targets:
fedora-all-x86_64:
# Extra dependencies (trivy, python-zstarfile) not packaged in Fedora
additional_repos:
- "copr://@go-sig/go-vendor-tools-dev"
epel-9-x86_64:
# Extra dependencies (trivy, python-zstarfile) not packaged in Fedora
additional_repos:
- "copr://@go-sig/go-vendor-tools-dev"
epel-10-x86_64:
# Extra dependencies (trivy, python-zstarfile) not packaged in Fedora
additional_repos:
- "copr://@go-sig/go-vendor-tools-dev"
- https://dl.fedoraproject.org/pub/epel/testing/10/Everything/$basearch
trigger: pull_request
- job: copr_build
packages:
- go-vendor-tools
- autorestic
- fzf
targets:
- fedora-all-x86_64
- fedora-all-x86_64
- epel-10-aarch64
- epel-10-x86_64
- epel-9-aarch64
- epel-9-x86_64
owner: "@go-sig"
project: go-vendor-tools-dev
trigger: commit
branch: main