diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000000..d00491fd7e --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.packit.yaml b/.packit.yaml index 91f3dc7751..5b739c00f2 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -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 @@ -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] diff --git a/plans/skopeo.fmf b/plans/skopeo.fmf new file mode 100644 index 0000000000..b55a33ab59 --- /dev/null +++ b/plans/skopeo.fmf @@ -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