Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a setup with two different tests #2119

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
46 changes: 23 additions & 23 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
---
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", "."]

test_command:
default_identifier: inspect

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