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

Update JS pipeline generator to add new variable group #3752

Closed

Conversation

praveenkuttappan
Copy link
Member

JS live test needs an additional variable group for JS specific variables. This PR will configure this additional variable group for JS.

@praveenkuttappan praveenkuttappan requested a review from a team as a code owner July 26, 2022 15:49
@praveenkuttappan praveenkuttappan self-assigned this Jul 26, 2022
@praveenkuttappan praveenkuttappan added the Central-EngSys This issue is owned by the Engineering System team. label Jul 26, 2022
@benbp
Copy link
Member

benbp commented Jul 26, 2022

Part of me wants to not merge this so we can try to stop people from consuming this variable group entirely on a case by case basis...

@praveenkuttappan
Copy link
Member Author

Part of me wants to not merge this so we can try to stop people from consuming this variable group entirely on a case by case basis...

Are we planning to move to single variable group with all required keys?

@benbp
Copy link
Member

benbp commented Jul 27, 2022

@praveenkuttappan the recommended approach is to avoid a 1:1 mapping between values and secrets, in favor of a config file hierarchy in as few keyvaults as possible. This makes secret self service easier for devs and reduces all the locations and service principals that need to be tracked when variable groups proliferate. See https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/389/Configuring-Tests?anchor=configuring-subscriptions-and-cloud-environments for docs on this.

TestOptions: '--variablegroup ${{ parameters.Secrets_for_Resource_Provisioner }}'
TestOptions: >-
--variablegroup ${{ parameters.Secrets_for_Resource_Provisioner }}
--variablegroup ${{ parameters.Test_Secrets_for_JS_Live_Tests }}
Copy link
Member

Choose a reason for hiding this comment

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

@weshaggard
Copy link
Member

@praveenkuttappan I assume this is in response to #3741. If so please read over that discussion. I'm also hesitant to blindly add this variable group to all test pipelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants