]> piware.de Git - bin.git/blobdiff - build-devtoolbox
build-devtoolbox: Set up waiverdb-cli
[bin.git] / build-devtoolbox
index 87d4de91f6241042f17070eb909e4be65fbcd573..bfa2a79216962692f5804a9cffc73ff669051975 100755 (executable)
@@ -24,12 +24,12 @@ sudo update-ca-trust
 sudo dnf builddep -y cockpit
 sudo dnf install -y make npm fontconfig git valgrind chromium-headless \
     libvirt-daemon-kvm libvirt-client python3-libvirt \
-    virt-viewer libappstream-glib \
+    virt-viewer virt-install libappstream-glib \
     expect python3-pycodestyle python3-pyflakes \
     fedpkg rhpkg /usr/bin/oc /usr/bin/genisoimage \
     man-pages socat wget genisoimage vim-enhanced \
     ansible standard-test-roles rsync strace \
-    pwgen glibc-langpack-en
+    pwgen glibc-langpack-en waiverdb-cli
 
 sudo dnf clean packages
 
@@ -38,4 +38,8 @@ cat <<EOF | sudo tee /etc/krb5.conf.d/0_file_ccache
 [libdefaults]
     default_ccache_name = FILE:/tmp/krb5.ccache
 EOF
+
+# set up waiverdb
+printf "[waiverdb]\nauth_method=Kerberos\nresultsdb_api_url=https://resultsdb-api.engineering.redhat.com/api/v2.0\napi_url=https://waiverdb.engineering.redhat.com/api/v1.0\nkrb_principal=HTTP/waiverdb.engineering.redhat.com@REDHAT.COM\n" | sudo tee /etc/waiverdb/client.conf
+printf "[libdefaults]\n    dns_canonicalize_hostname = false\n" | sudo tee /etc/krb5.conf.d/waiverdb-canonicalize-hostname
 '