[Ci-users] testing fedora in CICO

Wed Mar 6 09:33:53 UTC 2019
Vladimir Benes <benesv at email.cz>

Hi all,
I know there are fedora images available in CI is there any howto use
that? I am especially looking for rawhide and f30.

I am now using something like this in build script:
....
    url_base="http://admin.ci.centos.org:8080"
    # This file was generated on your slave.  See 
https://wiki.centos.org/QaWiki/CI/GettingStarted
    api=open('duffy.key').read().strip()
    ver="7"
    arch="x86_64"
    count=1

    get_nodes_url="%s/Node/get?key=%s&ver=%s&arch=%s&count=%s" %
(url_base,api,ver,arch,count)

    dat=urllib.urlopen(get_nodes_url).read()
    b=json.loads(dat)

    tests=process_raw_features(features, test_branch)
    print (tests)

    for h in b['hosts']:
        h += str(".ci.centos.org")

....

any idea? I saw libvirt was for sure testing a bunch of fedoras.
Thanks,
Vladimir