Skip to content

feat(config): variables #35350

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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

RahulGautamSingh
Copy link
Collaborator

@RahulGautamSingh RahulGautamSingh commented Apr 13, 2025

Changes

  • Implement self-hosted config option variables
  • Introduce a util/interpolator.ts to house the repeated logic between secrets and variables

Context

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:

Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

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

would be nice to have the refactor in separate PR, otherwise lgtm

Copy link
Collaborator

@rarkins rarkins left a comment

Choose a reason for hiding this comment

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

Create refactor PR first

Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

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

failed checks

@rarkins rarkins requested a review from viceice May 16, 2025 08:19
Copy link
Collaborator

@rarkins rarkins left a comment

Choose a reason for hiding this comment

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

What was the reason for keeping variables and secrets "apply" function separate?

viceice
viceice previously approved these changes May 16, 2025
@RahulGautamSingh
Copy link
Collaborator Author

What was the reason for keeping variables and secrets "apply" function separate?

No reason :)

@RahulGautamSingh RahulGautamSingh requested a review from rarkins May 16, 2025 15:27
@rarkins
Copy link
Collaborator

rarkins commented May 16, 2025

Is there any place where applying secrets and applying variables aren't done at the same time? If there's never any separation of them, these functions should be combined.

@RahulGautamSingh RahulGautamSingh requested review from viceice and rarkins and removed request for rarkins May 28, 2025 06:52
@RahulGautamSingh RahulGautamSingh requested a review from viceice June 4, 2025 23:22
@RahulGautamSingh RahulGautamSingh requested a review from viceice June 7, 2025 03:13
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.

Non-masked "variables" object to complement "secrets"
3 participants