Skip to content
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
18 changes: 17 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
failure_comment:
message: "Packit jobs failed. @containers/packit-build please check."
enable_net: true
targets:
targets: &fedora_copr_targets
- fedora-all

- job: copr_build
Expand Down Expand Up @@ -71,6 +71,22 @@ jobs:
project: podman-next
enable_net: true

# All tests specified in the `/plans/` subdir
# Tests for Fedora
- job: tests
trigger: pull_request
packages: [containers-common-fedora]
notifications:
failure_comment:
message: "Tests failed. @containers/packit-build please check."
targets: *fedora_copr_targets
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo


- job: propose_downstream
trigger: release
packages: [containers-common-fedora]
Expand Down
27 changes: 27 additions & 0 deletions plans/skopeo.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
discover:
how: fmf
url: https://github.com/lsm5/skopeo
ref: "ci-agnostic-2"
execute:
how: tmt
prepare:
# Ensure we're preferring packages from podman-next copr
- when: initiator == packit
how: shell
script: |
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
if compgen -G $COPR_REPO_FILE > /dev/null; then
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
fi
dnf update -y --allowerasing --best
order: 20
- name: Disable installing everything from srpm
how: install
exclude:
- ".*"
order: 25
- name: Install the main package
how: install
package:
- containers-common
order: 30
Loading