#!/bin/sh # 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 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: 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 tmt-redhat-provision-minute