Uploaded image for project: 'CentOS Stream Pipeline'
  1. CentOS Stream Pipeline
  2. CS-461

[ops] Ability to add standalone builders to the koji hub

XMLWordPrintable

    • 5
    • False
    • False
    • Undefined

      config.ini file:

      [koji]
      webrul = https://koji-mbox.apps.ocp.centos.org/koji
      topurl = https://koji-mbox.apps.ocp.centos.org/
      server = https://koji-mbox.apps.ocp.centos.org/kojihub
      cert=client.pem
      serverca=ca_cert.pem
      authtype = ssl
      use_fast_upload = yes
      debug = True
      
      

       

      Download certs by running:

      oc get secret/koji-hub-admin-cert  -n mbox -o jsonpath="{.data['client\.pem']}" | base64 -d > client.pem
      oc get secret/koji-hub-ca-cert  -n mbox -o jsonpath='{.data.cert}' | base64 -d > ca_cert.pem
      

       

      Any koji command needs to specify the custom config file path: 

      koji --conf config.ini list-targets
      

              bstinson@redhat.com Brian Stinson
              mboddu Mohan Boddu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: