Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
---

specfile_path: resalloc-aws.spec
upstream_package_name: resalloc-aws
downstream_package_name: resalloc-aws
upstream_project_url: https://github.com/praiskup/resalloc-aws
upstream_tag_template: 'resalloc-aws-{version}'

actions:
get-current-version:
- bash -c "git describe --match resalloc-aws-[0-9]* --abbrev=0 HEAD | egrep -o [0-9]+\.[0-9]+"
create-archive:
- bash -c "tito build --tgz --test -o ."
- bash -c "ls -1t *.tar.gz | head -n 1"

srpm_build_deps:
- tito

jobs:
- &copr
job: copr_build
trigger: pull_request
identifier: mock
metadata:
targets:
- fedora-all-x86_64
- epel-all-x86_64
actions:
create-archive:
- bash -c "tito build --tgz --test -o ."
- bash -c "ls -1t *.tar.gz | head -n 1"
get-current-version:
- bash -c "git describe --match resalloc-aws-[0-9]* --abbrev=0 HEAD | egrep -o [0-9]+\.[0-9]+"
specfile_path: resalloc-aws.spec
srpm_build_deps:
- tito
upstream_package_name: resalloc-aws
downstream_package_name: resalloc-aws
upstream_tag_template: 'resalloc-aws-{version}'
targets:
- fedora-all-x86_64
- epel-all-x86_64

- <<: *copr
trigger: commit
Expand Down