galaxy_importer/ansible_test/runners/openshift_job.py
def _get_build(self):
        """Get build associated with buildconfig."""
        params = {'labelSelector': f'buildconfig={self.name}'}
        r = requests.get(
            self.build_url, headers=self.auth_header, params=params, verify=self.ca_path)
        if r.status_code != requests.codes.ok:
            raise exceptions.AnsibleTestError('Could not access builds')
        return r.json()
Get build associated with buildconfig.
Get build associated with buildconfig.
Get build associated with buildconfig .
def _get_build(self):
        params = {'labelSelector': f'buildconfig={self.name}'}
        r = requests.get(
            self.build_url, headers=self.auth_header, params=params, verify=self.ca_path)
        if r.status_code != requests.codes.ok:
            raise exceptions.AnsibleTestError('Could not access builds')
        return r.json()
def _get_build ( self ) : params = { 'labelSelector' : f'buildconfig={self.name}' } r = requests . get ( self . build_url , headers = self . auth_header , params = params , verify = self . ca_path ) if r . status_code != requests . codes . ok : raise exceptions . AnsibleTestError ( 'Could not access builds' ) return r . json ( )
Get build associated with buildconfig.
Get build associated with buildconfig .
"""Get build associated with buildconfig."""
self