-
Notifications
You must be signed in to change notification settings - Fork 18
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
Allow set key_filename/key_policy in computer configure #537
Conversation
if "proxy_jump" in self.computer_configure: | ||
authparams["proxy_jump"] = self.computer_configure["proxy_jump"] | ||
|
||
if "proxy_command" in self.computer_configure: | ||
authparams["proxy_command"] = self.computer_configure["proxy_command"] | ||
|
||
if "key_filename" in self.computer_configure: | ||
authparams["key_filename"] = self.computer_configure["key_filename"] | ||
|
||
if "key_policy" in self.computer_configure: | ||
authparams["key_policy"] = self.computer_configure["key_policy"] |
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.
Such if
clauses can be simplified and moved to the authparams
, but since there are still three sources for the setup, maybe good to keep it as it is?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #537 +/- ##
==========================================
+ Coverage 85.83% 85.88% +0.04%
==========================================
Files 27 27
Lines 4610 4618 +8
==========================================
+ Hits 3957 3966 +9
+ Misses 653 652 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
937241a
to
7bb157c
Compare
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
7bb157c
to
6f8ea9f
Compare
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.
Thanks, @unkcpz, I have a bunch of little requests.
6076b23
to
6d549b6
Compare
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.
LGTM!
…#537) This PR detects the unsaved changes in the already confirmed steps. If there are any unsaved changes, it will block the submit step and show the blocker messages there. This is achieved by observing the selected_index of the _wizard_app_widget, and comparing the related values. --------- Co-authored-by: Jusong Yu <[email protected]> Co-authored-by: Miki Bonacci <[email protected]>
There are some values for authinfo setting that are hardcoded. It should be able to be set from computer-configure dict. This is required by the CSCS MFA configure setup. The key filename is set in configure to
cscs-key
but not passed to theAuthInfo
.