Skip to content

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

Merged
spytheman merged 1 commit into
vlang:masterfrom
spytheman:tools_add_v_retry
Mar 26, 2024
Merged

spytheman merged 1 commit into
vlang:masterfrom
spytheman:tools_add_v_retry

Conversation

@spytheman

@spytheman spytheman commented Mar 26, 2024 •

Copy link
Copy Markdown
Contributor
#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
@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.

1 participant