X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=install-rhel-tools;h=47b26f312de1b42661be91601a94b10b69d20c68;hb=5350ddd21613c7bd48dabd5f565369861f1d941b;hp=e16fc7f02acf360a94c6219168ca5936fab950d5;hpb=5c3fe1031b50391092bf0dc09ae33e808914d7ec;p=bin.git diff --git a/install-rhel-tools b/install-rhel-tools index e16fc7f..47b26f3 100755 --- a/install-rhel-tools +++ b/install-rhel-tools @@ -2,22 +2,21 @@ # Install RHEL development tools into a toolbox set -eux -sudo curl -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt https://password.corp.redhat.com/RH-IT-Root-CA.crt +sudo curl -o /etc/pki/ca-trust/source/anchors/2015-RH-IT-Root-CA.crt https://certs.corp.redhat.com/certs/2015-IT-Root-CA.pem +sudo curl -o /etc/pki/ca-trust/source/anchors/2022-RH-IT-Root-CA.crt https://certs.corp.redhat.com/certs/2022-IT-Root-CA.pem + 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 +sudo dnf install -y rhel-packager # 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 -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 +# 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 curl -o /etc/yum.repos.d/qa-tools.repo https://copr.devel.redhat.com/coprs/lpol/qa-tools/repo/fedora-36/lpol-qa-tools-fedora-${VERSION_ID}.repo +sudo curl -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 tmt-redhat-provision-minute