Skip to content

[v13] drone: gh-trigger-workflow: Retry transient server errors#25972

Merged
camscale merged 2 commits intobranch/v13from
bot/backport-25868-branch/v13
May 10, 2023
Merged

[v13] drone: gh-trigger-workflow: Retry transient server errors#25972
camscale merged 2 commits intobranch/v13from
bot/backport-25868-branch/v13

Conversation

@camscale
Copy link
Copy Markdown
Contributor

Backport #25868 to branch/v13

Retry GitHub API requests on transient server errors, using
github.com/hashicorp/retryablehttp-go. We get the occasional 502 error
which breaks the whole drone pipeline run:

Failed to start workflow run Failed polling workflow jobs
  Failed to fetch workflow jobs
      GET https://api.github.com/repos/gravitational/teleport.e/actions/runs/4858067495/jobs: 502 Server Error []

Retry GitHub API requests on transient server errors, using
`github.com/hashicorp/retryablehttp-go`. We get the occasional 502 error
which breaks the whole drone pipeline run:

    Failed to start workflow run Failed polling workflow jobs
      Failed to fetch workflow jobs
          GET https://api.github.com/repos/gravitational/teleport.e/actions/runs/4858067495/jobs: 502 Server Error []
@camscale camscale added this pull request to the merge queue May 10, 2023
Merged via the queue into branch/v13 with commit 2a4c21b May 10, 2023
@camscale camscale deleted the bot/backport-25868-branch/v13 branch May 10, 2023 23:12
@r0mant r0mant mentioned this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants