mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
scripts: get_nodes_ids.sh
Add the script used to obtain graphql node IDs from Github so it's easier to add a new component.
This commit is contained in:
36
scripts/get_node_ids.sh
Executable file
36
scripts/get_node_ids.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
gh api graphql -H "X-Github-Next-Global-ID: 1" -f query='{
|
||||
calicoctl_binary: repository(owner: "projectcalico", name: "calico") {
|
||||
id
|
||||
}
|
||||
ciliumcli_binary: repository(owner: "cilium", name: "cilium-cli") {
|
||||
id
|
||||
}
|
||||
crictl: repository(owner: "kubernetes-sigs", name: "cri-tools") {
|
||||
id
|
||||
}
|
||||
crio_archive: repository(owner: "cri-o", name: "cri-o") {
|
||||
id
|
||||
}
|
||||
etcd_binary: repository(owner: "etcd-io", name: "etcd") {
|
||||
id
|
||||
}
|
||||
kubectl: repository(owner: "kubernetes", name: "kubernetes") {
|
||||
id
|
||||
}
|
||||
nerdctl_archive: repository(owner: "containerd", name: "nerdctl") {
|
||||
id
|
||||
}
|
||||
runc: repository(owner: "opencontainers", name: "runc") {
|
||||
id
|
||||
}
|
||||
skopeo_binary: repository(owner: "lework", name: "skopeo-binary") {
|
||||
id
|
||||
}
|
||||
yq: repository(owner: "mikefarah", name: "yq") {
|
||||
id
|
||||
}
|
||||
kubernetes: repository(owner: "kubernetes", name: "kubernetes") {
|
||||
id
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user