35 lines
824 B
Plaintext
35 lines
824 B
Plaintext
discover:
|
|
how: fmf
|
|
|
|
execute:
|
|
how: tmt
|
|
|
|
prepare:
|
|
- when: distro == centos-stream or distro == rhel
|
|
how: shell
|
|
script: |
|
|
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
|
|
dnf -y config-manager --set-enabled epel
|
|
order: 10
|
|
- 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 -y upgrade --allowerasing
|
|
order: 20
|
|
|
|
provision:
|
|
how: artemis
|
|
hardware:
|
|
memory: ">= 16 GB"
|
|
cpu:
|
|
cores: ">= 4"
|
|
threads: ">=8"
|
|
disk:
|
|
- size: ">= 512 GB"
|
|
|
|
|