-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.packit.yaml
More file actions
49 lines (38 loc) · 936 Bytes
/
.packit.yaml
File metadata and controls
49 lines (38 loc) · 936 Bytes
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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: testing-farm.spec
# Name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: testing-farm
# Strip starting 'v' from our git tags
upstream_tag_template: v{version}
# Disable osh scan
osh_diff_scan_after_copr_build: false
targets:
- fedora-all
srpm_build_deps:
- poetry
- python3-poetry-dynamic-versioning
actions:
create-archive:
- poetry build --format=sdist
- bash -c "ls dist/tft_cli-*.tar.gz"
get-current-version:
- poetry version -s
jobs:
# Build on MRs
- job: copr_build
trigger: pull_request
# Build on commits to main
- job: copr_build
trigger: commit
branch: main
owner: "@testing-farm"
project: latest
# Build on releases
- job: copr_build
trigger: release
owner: "@testing-farm"
project: stable
# Test on MRs
- job: tests
trigger: pull_request