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

CCT-1052: timeout for a beaker util #265

Merged
merged 2 commits into from
Feb 19, 2025

Conversation

jstavel
Copy link
Contributor

@jstavel jstavel commented Feb 13, 2025

Card-ID: CCT-1052

the utility will stop waiting for status of a beaker job after 2hours (default value).

There is new property in virtwho.ini

[beaker]
reserve_duration=259200
timeout=7200

reserve_duration ... a time for a machine to be reservered
timeout ... the utility will stop waiting for a beaker service after timeout is lasted

@Lorquas
Copy link
Contributor

Lorquas commented Feb 13, 2025

@jstavel please rebase, I fixed the linter with #266

@jstavel jstavel force-pushed the jstavel/repeating-of-beaker-reservation branch from e1d2e15 to 79eed70 Compare February 18, 2025 18:56
Copy link

github-actions bot commented Feb 18, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 1 0 0.02s
✅ JSON eslint-plugin-jsonc 2 0 0 1.07s
✅ JSON jsonlint 2 0 0.2s
✅ JSON prettier 2 0 0 0.39s
✅ JSON v8r 2 0 3.44s
✅ PYTHON black 57 1 0 2.68s
✅ PYTHON flake8 57 0 1.65s
✅ YAML prettier 2 0 0 0.56s
✅ YAML v8r 2 0 5.5s
✅ YAML yamllint 2 0 0.28s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@Lorquas Lorquas self-requested a review February 18, 2025 19:33
Copy link
Contributor

@Lorquas Lorquas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@jstavel jstavel merged commit 42ec915 into main Feb 19, 2025
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.

2 participants