-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a setup with two different tests
- Loading branch information
1 parent
f2c98da
commit 07290b5
Showing
1 changed file
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,38 @@ | ||
--- | ||
packit_instances: ["prod", "stg"] | ||
packit_instances: ["stg"] | ||
specfile_path: hello.spec | ||
files_to_sync: | ||
- .packit.yaml | ||
- hello.spec | ||
upstream_package_name: hello | ||
downstream_package_name: hello | ||
# actions: | ||
# post-upstream-clone: "python3 setup.py sdist --dist-dir ." | ||
# current_version_command: ["python3", "setup.py", "--version"] | ||
# create_tarball_command: ["python3", "setup.py", "sdist", "--dist-dir", "."] | ||
|
||
jobs: | ||
- job: copr_build | ||
trigger: pull_request | ||
targets: | ||
- fedora-stable-x86_64 | ||
- fedora-rawhide-x86_64 | ||
|
||
- job: copr_build | ||
trigger: release | ||
targets: | ||
- fedora-stable | ||
|
||
- job: copr_build | ||
trigger: commit | ||
branch: main | ||
- job: tests | ||
manual_trigger: true | ||
labels: | ||
- inspect | ||
identifier: inspect | ||
trigger: pull_request | ||
fmf_url: https://github.com/packit/tmt-plans | ||
fmf_ref: main | ||
tmt_plan: "/plans/rpminspect" | ||
targets: | ||
- fedora-stable | ||
- fedora-rawhide-x86_64 | ||
|
||
- job: tests | ||
manual_trigger: true | ||
labels: | ||
- lint | ||
identifier: lint | ||
trigger: pull_request | ||
fmf_url: https://github.com/packit/tmt-plans | ||
fmf_ref: main | ||
tmt_plan: "/plans/rpmlint" | ||
targets: | ||
- fedora-stable-x86_64 | ||
- fedora-rawhide-x86_64 | ||
|
||
- job: propose_downstream | ||
trigger: release | ||
packit_instances: ["stg"] | ||
dist_git_branches: | ||
- fedora-all | ||
- fedora-rawhide-x86_64 |