ci: Fetch Fedora release list from Bodhi
RPMs/wal-g/pipeline/pr-master There was a failure building this commit
Details
RPMs/wal-g/pipeline/pr-master There was a failure building this commit
Details
Fedora PDC has been retired: https://fedora-arc.readthedocs.io/en/latest/pdc/split.html
parent
5f4b741939
commit
70b4193749
|
@ -1,11 +1,11 @@
|
|||
def getFedoraVersions() {
|
||||
def response = httpRequest(
|
||||
url: 'https://pdc.fedoraproject.org/rest_api/v1/product-versions?short=fedora&active=true',
|
||||
url: 'https://bodhi.fedoraporject.org/releases?state=current',
|
||||
acceptType: 'APPLICATION_JSON',
|
||||
)
|
||||
def content = readJSON(text: response.content)
|
||||
return content.results.
|
||||
findAll { it.version != "rawhide" }.
|
||||
return content.releases.
|
||||
findAll { it.id_prefix == "FEDORA" }.
|
||||
collect { it.version }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue