Browse Source

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.
pull/11891/head
Max Gautier 9 months ago
parent
commit
c938dfa634
Failed to extract signature
1 changed files with 36 additions and 0 deletions
  1. 36
      scripts/get_node_ids.sh

36
scripts/get_node_ids.sh

@ -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
}
}'
Loading…
Cancel
Save