-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add the BATS executor #55
Conversation
anfimovdm
commented
Sep 9, 2023
•
edited
Loading
edited
- Add the BATS executor class
- Code refactoring
- Add unit tests
- Add github action for unit tests
- Black/isort syntax
- Fix config schemas
b3a5594
to
8806aa3
Compare
Coverage report for changed files •
|
c185a2d
to
b11fe0f
Compare
518e582
to
db1e306
Compare
b793f15
to
59d408d
Compare
* Add the BATS executor class * Code refactoring * Add unit tests * Add github action for unit tests * Black/isort syntax * Fix config schemas
alts/shared/constants.py
Outdated
'gssapi-with-mic', | ||
'hostbased', | ||
'publickey', | ||
'keyboard-interactive', |
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.
I don't think we intend to support interactive SSH authorization, so 'keyboard-interactive' and 'password' methods can be removed
alts/worker/executors/base.py
Outdated
@measure_stage('run_local_command') | ||
def run_local_command(self, cmd_args: List[str]) -> CommandResult: | ||
try: | ||
with local.env(**self.env_vars): |
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.
Since you're already here, please update env usage to local[self.binary_name].with_env(**self.env_vars).run(...
and update plumbum library version
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.
plumbum
has already been updated to the latest version