ceph-csi/scripts
Niels de Vos aa062513c0 ci: report connections failures with GitHub API
On occasion the scripts that use the GitHub API fail without logging any
useful error:

    ./scripts/get_github_labels.py --id=1568 --has-label=ci/skip/e2e
    Traceback (most recent call last):
      File "./scripts/get_github_labels.py", line 71, in <module>
        main()
      File "./scripts/get_github_labels.py", line 55, in main
        names = get_names(json)
      File "./scripts/get_github_labels.py", line 40, in get_names
        names.append(label['name'])
    TypeError: string indices must be integers

While debugging, it seems that the limit of API calls is reached:

    403 Client Error: rate limit exceeded

It is useful to have failure messages reported in the output of the CI
jobs for future potential troubleshooting.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-10-13 12:05:57 +00:00
..
Dockerfile.test ci: add 'make test' target to validate CI job scripts 2020-05-27 12:52:21 +02:00
get_github_labels.py ci: report connections failures with GitHub API 2020-10-13 12:05:57 +00:00
get_patch_release.py ci: report connections failures with GitHub API 2020-10-13 12:05:57 +00:00
lint-extras.sh ci: add 'make test' target to validate CI job scripts 2020-05-27 12:52:21 +02:00
mdl-style.rb ci: add 'make test' target to validate CI job scripts 2020-05-27 12:52:21 +02:00
skip-doc-change.sh ci: mark .commitlintrc.yml as doc-only 2020-08-19 10:04:19 +00:00