mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
Gvisor releases, besides only being tags, have some particularities: - they are of the form yyyymmdd.p -> this get interpreted as a yaml float, so we need to explicitely convert to string to make it work. - there is no semver-like attached to the version numbers, but the API (= OCI container runtime interface) is expected to be stable (see linked discussion) - some older tags don't have hashs for some archs Link: https://groups.google.com/g/gvisor-users/c/SxMeHt0Yb6Y/m/Xtv7seULCAAJ
30 lines
523 B
GraphQL
30 lines
523 B
GraphQL
query($repoWithReleases: [ID!]!, $repoWithTags: [ID!]!) {
|
|
with_releases: nodes(ids: $repoWithReleases) {
|
|
|
|
... on Repository {
|
|
nameWithOwner
|
|
releases(first: 100) {
|
|
nodes {
|
|
tagName
|
|
isPrerelease
|
|
releaseAssets {
|
|
totalCount
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
with_tags: nodes(ids: $repoWithTags) {
|
|
|
|
... on Repository {
|
|
nameWithOwner
|
|
refs(refPrefix: "refs/tags/", last: 25) {
|
|
nodes {
|
|
name
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|