Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: add v retry apt update, for more robust CI jobs #21104

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

spytheman
Copy link
Member

@spytheman spytheman commented Mar 26, 2024

#0 16:47:14 ᛋ tools_add_v_retry /v/oo❱v retry -h
v retry 0.0.1
-----------------------------------------------
Usage: v retry [options] CMD

Description: Run the command CMD in a loop, untill it succeeds, or until a predetermined amount of seconds pass.

The arguments should be at least 1 in number.

Options:
  -h, --help                Show this help screen.
  -t, --timeout <float>     Timeout in seconds. Default: 300.0 seconds.
  -d, --delay <float>       Delay between each retry in seconds. Default: 1.0 second.
  -r, --retries <int>       Maximum number of retries. Default: 999_999_999.
#0 16:50:19 ᛋ tools_add_v_retry /v/oo❱

@spytheman spytheman merged commit 9923343 into vlang:master Mar 26, 2024
42 checks passed
@spytheman spytheman deleted the tools_add_v_retry branch March 26, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant