-
Notifications
You must be signed in to change notification settings - Fork 720
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
Bench nomad sub-backends #5037
Bench nomad sub-backends #5037
Conversation
b3ee18d
to
66fbd60
Compare
30fead3
to
db9a23d
Compare
describe-run ) | ||
backend_nomad describe-run "$@" | ||
;; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fmaste, you can simplify this passthrough very significantly -- you can see how the top-level wb
does it, at the end of the file, when handling aliases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was simpler, the way you recommend, but I used this form to debug and I kept it
@@ -294,6 +299,7 @@ main() { | |||
chaindb | c ) chaindb "$@";; | |||
genesis | g ) genesis "$@";; | |||
manifest | m ) manifest "$@";; | |||
nomad | n ) wb_nomad "$@";; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small thing.
Thank you @fmaste ! ❤️
nomadpodman
using the podman task driver andnomadexec
using the exec task driver, and one cloud backendnomadcloud
using IOG infrastructure. This PR makes the distinction and usage between the three of them more clear.wb nomad
) to reuse thewb publish
code for fetching the credentials (wb nomad vault
) and make sub-backend agnostic the code that manages the life-cycle of Nomad Agents (wb nomad server|client start|stop
).