Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Run keycloakify behind corporate proxy#260

Merged
garronej merged 11 commits intomainfrom
lordvlad/issue257
Mar 13, 2023
Merged

Run keycloakify behind corporate proxy#260
garronej merged 11 commits intomainfrom
lordvlad/issue257

Conversation

@lordvlad
Copy link
Collaborator

@lordvlad lordvlad commented Mar 7, 2023

Fixes #257

Use make-fetch-happen for the download step. This lib will use PROXY
and HTTPS_PROXY and NO_PROXY env vars out of the box.

Additionally we'll try and get proxy config from npm. Unfortunately,
the most straightforward options is to call npm config to do this, since
npm config is not easily extracted as a lib and we don't want to
replicate the resolution mechanisms.

garronej and others added 3 commits March 5, 2023 23:37
Fixes #257

Use make-fetch-happen for the download step. This lib will use `PROXY`
and `HTTPS_PROXY` and `NO_PROXY` env vars out of the box.

Additionally we'll try and get proxy config from npm. Unfortunately,
the most straightforward options is to call npm config to do this, since
npm  config is not easily extracted as a lib and we don't want to
replicate the resolution mechanisms.
@lordvlad lordvlad requested review from Mstrodl and garronej March 7, 2023 15:44
@lordvlad lordvlad marked this pull request as ready for review March 7, 2023 15:44
@lordvlad
Copy link
Collaborator Author

lordvlad commented Mar 7, 2023

unfortunately, the newly introduced lib wants to run node LTS only :( this is why some ci runs break

@lordvlad
Copy link
Collaborator Author

lordvlad commented Mar 7, 2023

@garronej you could disable the engines check https://stackoverflow.com/a/57748163. Depending on what level of support you want to guarantee users. Personally, I'd drop v15 and v17 from the CI pipeline, and introduce v18 instead. WDYT?

@garronej
Copy link
Collaborator

garronej commented Mar 7, 2023

Wow, great !

Yes let's drop v15 and 17 from the matrix

@garronej
Copy link
Collaborator

garronej commented Mar 7, 2023

@lordvlad Fantastic.
Next time would you create your next PR from a branch this way we could release a candidate just by updating to 4.12.6-rc.0 for example.
Otherwise it look good to me, is there something to document? Do you want to release a candidate or release directly?

@lordvlad
Copy link
Collaborator Author

lordvlad commented Mar 7, 2023

Next time would you create your next PR from a branch this way we could release a candidate just by updating to 4.12.6-rc.0 for example.

@garronej Not sure I get it. I don't see any RC branches, I could branch from. For the PR I did create a branch lordvlad/issue257 (used VS Code's GitHub integration, wanted to try it out)

@lordvlad
Copy link
Collaborator Author

lordvlad commented Mar 7, 2023

is there something to document? Do you want to release a candidate or release directly?

I'd wait for feedback, as I was only able to test it in a very small setup on localhost.

@garronej
Copy link
Collaborator

garronej commented Mar 7, 2023

Not sure I get it. I don't see any RC branches, I could branch from. For the PR I did create a branch lordvlad/issue257 (used VS Code's GitHub integration, wanted to try it out)

Sorry, my bad again, it's a branch indeed!

Let's release a candidate then

@Mstrodl
Copy link
Collaborator

Mstrodl commented Mar 8, 2023

@lordvlad I'm flattered, but I'm not a maintainer :P
image

Copy link
Collaborator

@Mstrodl Mstrodl left a comment

Choose a reason for hiding this comment

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

Looks sane to me

@lordvlad
Copy link
Collaborator Author

lordvlad commented Mar 8, 2023

Haha GitHub suggested you and I just rolled with it 😅

lordvlad and others added 5 commits March 8, 2023 10:24
… into lordvlad/issue257

* 'lordvlad/issue257' of github.com:InseeFrLab/keycloakify:
  Only test build on LTS node version
  Update dependency evt to ^2.4.15
  Update README.md
  Bump version
  Avoid passing unessesary realm values in the error.ftl page
@garronej garronej merged commit 62523a8 into main Mar 13, 2023
@garronej garronej deleted the lordvlad/issue257 branch April 15, 2023 00:33
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.

Run keycloakify behind corporate proxy

3 participants