mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 06:45:13 +01:00
26 lines
829 B
Bash
Executable File
26 lines
829 B
Bash
Executable File
#!/bin/bash
|
|
set -xeuo pipefail
|
|
|
|
# For some reason dnf copr enable -y says there are no builds?
|
|
cat >/etc/yum.repos.d/coreos-continuous.repo << 'EOF'
|
|
[copr:copr.fedorainfracloud.org:group_CoreOS:continuous]
|
|
name=Copr repo for continuous owned by @CoreOS
|
|
baseurl=https://download.copr.fedorainfracloud.org/results/@CoreOS/continuous/fedora-$releasever-$basearch/
|
|
type=rpm-md
|
|
skip_if_unavailable=True
|
|
gpgcheck=1
|
|
gpgkey=https://download.copr.fedorainfracloud.org/results/@CoreOS/continuous/pubkey.gpg
|
|
repo_gpgcheck=0
|
|
enabled=1
|
|
enabled_metadata=1
|
|
EOF
|
|
|
|
# Pull skopeo and ostree from updates-testing, since we depend on new features in our git main
|
|
dnf config-manager --set-enabled updates-testing
|
|
|
|
# Our tests depend on this
|
|
dnf -y install skopeo
|
|
|
|
# Always pull ostree from updates-testing to avoid the bodhi wait
|
|
dnf -y update ostree
|