install-rhel-tools: Add CentOS stream development tools
[bin.git] / install-rhel-tools
1 #!/bin/sh
2 # Install RHEL development tools into a toolbox
3 set -eux
4
5 sudo curl -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt https://password.corp.redhat.com/RH-IT-Root-CA.crt
6 sudo update-ca-trust
7
8 (cd /etc/yum.repos.d; sudo curl -O --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo)
9 sudo dnf install -y rhpkg
10
11 # CentOS stream
12 sudo dnf copr enable -y james/centpkg
13 sudo dnf install -y centpkg streamkoji
14
15 # coverity
16 sudo dnf copr enable -y copr.devel.redhat.com/kdudka/covscan
17 sudo dnf install -y covscan-client
18
19 # 1minutetip
20 sudo umount /mnt  # HACK: rhts-test-env-5.0-2.fc32eng.noarch wants to fiddle with it
21 sudo wget -O /etc/yum.repos.d/qa-tools.repo http://liver.brq.redhat.com/repo/qa-tools.repo
22 sudo wget -O /etc/yum.repos.d/beaker-client.repo http://download.lab.bos.redhat.com/beakerrepos/beaker-client-Fedora.repo
23 sudo dnf install -y qa-tools-workstation-1minutetip