openshift-pipelines / pipelines-as-code

Pipelines-as-Code for Tekton
https://pipelinesascode.com
Apache License 2.0
137 stars 81 forks source link

Add new subcommand auth in tkn-pac CLI #1736

Open zakisk opened 4 months ago

zakisk commented 4 months ago

Adds new subcommand to authenticate user with git providers and stores those token locally for further use of tkn-pac

fix #680 https://issues.redhat.com/browse/SRVKP-5548

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 18.50649% with 251 lines in your changes missing coverage. Please review.

Project coverage is 64.03%. Comparing base (2d465fe) to head (ecb34fd).

Files Patch % Lines
pkg/cmd/tknpac/auth/login.go 0.00% 135 Missing :warning:
pkg/cmd/tknpac/auth/keyring.go 0.00% 54 Missing :warning:
pkg/cmd/tknpac/auth/login_flow.go 54.80% 41 Missing and 6 partials :warning:
pkg/cmd/tknpac/auth/root.go 0.00% 14 Missing :warning:
pkg/cmd/tknpac/root.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1736 +/- ## ========================================== - Coverage 65.11% 64.03% -1.09% ========================================== Files 174 178 +4 Lines 13137 13445 +308 ========================================== + Hits 8554 8609 +55 - Misses 4018 4265 +247 - Partials 565 571 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

zakisk commented 4 months ago

@savitaashture have a look at this.