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

Use SSO account to configure sandbox in one click #4439

Merged

Conversation

vrubezhny
Copy link
Contributor

@vrubezhny vrubezhny commented Sep 8, 2024

Uses a POC 'feat: use sso account to configure sandbox in one click #4232' by @dgolovin.

Allows logging in to the DevSandbox using a SSO account by creating a token and installing it into the pipeline Service Account, otherwise, if a token cannot be created/installed, a token from the Clipboard is to be used.

Screencast.from.2024-09-09.03-31-15.mp4

@codecov-commenter
Copy link

codecov-commenter commented Sep 8, 2024

Codecov Report

Attention: Patch coverage is 23.88060% with 51 lines in your changes missing coverage. Please review.

Project coverage is 43.39%. Comparing base (da60441) to head (ed9e623).
Report is 509 commits behind head on main.

Files with missing lines Patch % Lines
src/openshift/cluster.ts 18.91% 30 Missing ⚠️
src/webview/cluster/clusterViewLoader.ts 23.07% 20 Missing ⚠️
src/oc/ocWrapper.ts 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4439       +/-   ##
===========================================
+ Coverage   32.37%   43.39%   +11.02%     
===========================================
  Files          85       98       +13     
  Lines        6505     8049     +1544     
  Branches     1349     1698      +349     
===========================================
+ Hits         2106     3493     +1387     
- Misses       4399     4556      +157     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vrubezhny vrubezhny force-pushed the fix-add-login-using-pipeline-token branch 4 times, most recently from f584034 to 3b7fe95 Compare September 9, 2024 02:07
@datho7561
Copy link
Contributor

I gave it a try and couldn't get it working; I'll try again tomorrow morning

Uses a POC ['feat: use sso account to configure sandbox in one click redhat-developer#4232'](redhat-developer#4232) by @dgolovin.

Allows logging in to the DevSandbox using a SSO account if Service Account pipeline token is configured,
otherwise a token from the Clipboard is to be used.

Co-authored-by: Denis Golovin <dgolovin@redhat.com>
Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
@vrubezhny vrubezhny force-pushed the fix-add-login-using-pipeline-token branch from 3b7fe95 to ed9e623 Compare September 11, 2024 00:54
@vrubezhny
Copy link
Contributor Author

I gave it a try and couldn't get it working; I'll try again tomorrow morning

@datho7561, Hm... Still works for me with no any problem. Rebased, please update before give it a try again.

Copy link
Contributor

@datho7561 datho7561 left a comment

Choose a reason for hiding this comment

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

Works very well for me! Thanks, Victor

@vrubezhny vrubezhny merged commit bb299ec into redhat-developer:main Sep 12, 2024
4 checks passed
@vrubezhny vrubezhny added this to the 1.17.0 milestone Nov 26, 2024
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.

3 participants