]> piware.de Git - bin.git/blobdiff - install-rhel-tools
ubuntu-backport-cockpit: Adjust for Ubuntu 22.04
[bin.git] / install-rhel-tools
index 681abd75c384d8d9780809e2896e1549729f884c..955ff305eae7c7054de841745d9651ff8fa85ed0 100755 (executable)
@@ -8,12 +8,17 @@ sudo update-ca-trust
 (cd /etc/yum.repos.d; sudo curl -O --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo)
 sudo dnf install -y rhpkg
 
+# CentOS stream
+sudo dnf copr enable -y james/centpkg
+sudo dnf install -y centpkg streamkoji
+
 # coverity
 sudo dnf copr enable -y copr.devel.redhat.com/kdudka/covscan
 sudo dnf install -y covscan-client
 
-# 1minutetip
-sudo umount /mnt  # HACK: rhts-test-env-5.0-2.fc32eng.noarch wants to fiddle with it
-sudo wget -O /etc/yum.repos.d/qa-tools.repo http://liver.brq.redhat.com/repo/qa-tools.repo
+# 1minutetip: https://wiki.test.redhat.com/BaseOs/Projects/1minuteTIP
+if mountpoint /mnt; then sudo umount /mnt; fi # HACK: rhts-test-env-5.0-2.fc32eng.noarch wants to fiddle with it
+. /etc/os-release
+sudo wget -O /etc/yum.repos.d/qa-tools.repo https://copr.devel.redhat.com/coprs/lpol/qa-tools/repo/fedora-34/lpol-qa-tools-fedora-${VERSION_ID}.repo
 sudo wget -O /etc/yum.repos.d/beaker-client.repo http://download.lab.bos.redhat.com/beakerrepos/beaker-client-Fedora.repo
-sudo dnf install -y qa-tools-workstation-1minutetip
+sudo dnf install -y qa-tools-workstation-1minutetip tmt-redhat-provision-minute