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

Add Updatecli integration with Udash part 1 #1344

Merged
merged 49 commits into from
Jul 12, 2023

Conversation

olblak
Copy link
Member

@olblak olblak commented May 25, 2023

As an experiment to publish Updatecli report on an Updatecli backend.
This pullrequest introduces the two following enhancements

  • Add login capability to an Updatecli backend using PKCE OAuth2 flow
  • Add function to publish report to the updatecli API

This pullrequest is designed to work with:

Test

To test this pull request, you can run the following commands (if udash is available on localhost):

go build -o bin/updatecli .
./bin/updatecli login http://localhost:8081 --experimental
./bin/updatecli diff --config updatecli/updatecli.d/updatecli.yaml --experimental 

Additional Information

Tradeoff

Potential improvement

olblak and others added 3 commits May 25, 2023 22:27
Signed-off-by: Olblak <me@olblak.com>
handle error

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak marked this pull request as draft May 25, 2023 20:36
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
@olblak olblak added the experimental Experimental feaure label May 26, 2023
@olblak olblak marked this pull request as ready for review May 27, 2023 17:23
@olblak olblak changed the title Add updatecli login for authenticating on an API backend A Updatecli support with its backend API Jun 5, 2023
@olblak olblak changed the title A Updatecli support with its backend API Add Updatecli support with its backend API Jun 5, 2023
@olblak olblak changed the title Add Updatecli support with its backend API Add Updatecli integration with Udash Jun 24, 2023
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
olblak and others added 8 commits July 4, 2023 21:10
Signed-off-by: Olblak <me@olblak.com>
The purpose of this commit is to reduce the need to specify front and
back url by storing those two informations in the configuration file

Then a report api can either be specified using a environment variable
or relying on the default config

Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
@olblak olblak marked this pull request as ready for review July 6, 2023 07:46
pkg/core/pipeline/main.go Outdated Show resolved Hide resolved
pkg/core/result/target.go Outdated Show resolved Hide resolved
pkg/core/auth/config.go Outdated Show resolved Hide resolved
pkg/core/auth/main.go Outdated Show resolved Hide resolved
pkg/core/auth/config.go Outdated Show resolved Hide resolved
olblak and others added 5 commits July 9, 2023 15:01
Co-authored-by: Damien Duportal <damien.duportal@gmail.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
dduportal
dduportal previously approved these changes Jul 10, 2023
Signed-off-by: Olblak <me@olblak.com>
@olblak olblak added the enhancement New feature or request label Jul 10, 2023
@olblak olblak merged commit 82c294f into updatecli:main Jul 12, 2023
6 checks passed
@olblak olblak deleted the updatecliBackend branch July 12, 2023 12:19
@olblak olblak changed the title Add Updatecli integration with Udash Add Updatecli integration with Udash part 1 Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request experimental Experimental feaure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants