Skip to content

Commit

Permalink
Basic test case - push trigger
Browse files Browse the repository at this point in the history
This test case is triggered automatically by our validation script.

```yaml
- job: copr_build
  trigger: pull_request
  targets:
  - fedora-stable-x86_64
  - fedora-rawhide-x86_64
```
  • Loading branch information
lbarcziova authored and Hunor Csomortáni committed Mar 3, 2023
1 parent fc6f281 commit bfacf8f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
36 changes: 13 additions & 23 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
packit_instances: ["prod", "stg"]
packit_instances: ["prod",]
specfile_path: hello.spec
synced_files:
files_to_sync:
- .packit.yaml
- hello.spec
upstream_package_name: hello
downstream_package_name: hello
Expand All @@ -12,34 +13,23 @@ downstream_package_name: hello
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-stable-x86_64
- fedora-rawhide-x86_64
targets:
- fedora-stable-x86_64
- fedora-rawhide-x86_64

- job: copr_build
trigger: release
metadata:
targets:
- fedora-stable
targets:
- fedora-stable

- job: copr_build
trigger: commit
metadata:
branch: main
targets:
- fedora-stable

- job: tests
trigger: pull_request
metadata:
targets:
- fedora-stable-x86_64
- fedora-rawhide-x86_64
branch: main
targets:
- fedora-stable

- job: propose_downstream
trigger: release
packit_instances: ["stg"]
metadata:
dist_git_branches:
- fedora-all
dist_git_branches:
- fedora-all
1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Testing the push trigger.

0 comments on commit bfacf8f

Please sign in to comment.