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

feat(hostRules): support https options and platform in host rules from env #25015

Conversation

lyonlai
Copy link
Contributor

@lyonlai lyonlai commented Oct 4, 2023

Changes

made hostRulesFromEnv able to:

  • pick up https options from environment variables.
  • pick up credentials for platform in additional to datasource

Context

As per changes for discussion of moving setGlobalHostRules before platform initialisation. Renovate needs to be able to pickup https options from environment variable and apply before platform initialisation.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@lyonlai lyonlai changed the title Ylai/support https options and platform in host rules from env fix: support https options and platform in host rules from env Oct 4, 2023
lib/types/host-rules.ts Outdated Show resolved Hide resolved
docs/usage/self-hosted-configuration.md Outdated Show resolved Hide resolved
@lyonlai
Copy link
Contributor Author

lyonlai commented Oct 18, 2023

@rarkins and @viceice would you mind take an other look and let me know if there's anything else that I need to do to get this in?

rarkins
rarkins previously approved these changes Oct 18, 2023
rarkins
rarkins previously approved these changes Oct 19, 2023
@lyonlai
Copy link
Contributor Author

lyonlai commented Oct 23, 2023

@rarkins 👋 how are we looking for the merge? are we still waiting for anything?

@rarkins
Copy link
Collaborator

rarkins commented Oct 23, 2023

Awaiting second review

@lyonlai
Copy link
Contributor Author

lyonlai commented Oct 25, 2023

@viceice would you take a second review on this please?

@lyonlai
Copy link
Contributor Author

lyonlai commented Oct 29, 2023

@rarkins there seems to be no progress on the second review for the past week. Any other member that could perform a second review to get this going?

@rarkins rarkins changed the title fix: support https options and platform in host rules from env feat(hostRules): support https options and platform in host rules from env Oct 30, 2023
@rarkins
Copy link
Collaborator

rarkins commented Oct 30, 2023

@viceice can you merge if this looks ok to you?

lyonlai and others added 2 commits October 31, 2023 12:59
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
@lyonlai lyonlai requested a review from viceice October 31, 2023 04:37
@rarkins rarkins added this pull request to the merge queue Oct 31, 2023
Merged via the queue into renovatebot:main with commit bdabe43 Oct 31, 2023
36 checks passed
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 37.37.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

jon4hz pushed a commit to jon4hz/renovate that referenced this pull request Nov 9, 2023
…m env (renovatebot#25015)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants