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

Fix env.example Default Values #3827

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Conversation

razo7
Copy link
Collaborator

@razo7 razo7 commented Sep 10, 2024

Follow up commit to #3681 when AZURE_PREFIX env var was suggested and fix due to #3593 changes

Which issue this PR addresses:

It complicates testing #3815 when the USER is not set.

What this PR does / why we need it:

  1. Allow using AZURE_PREFIX (when it is set) over USER.
  2. Allow using an existing LOCATION over a set value of westeurope.

Test plan for issue:

Is there any documentation that needs to be updated for this PR?

How do you know this will function as expected in production?

Follow up commit to use an Azure unique prefix for the Azure resources that ARO-RP is using instead of always fetching the USER. When AZURE_PREFIX env var is not set, then use the USER env var
@razo7
Copy link
Collaborator Author

razo7 commented Sep 10, 2024

/azp run ci,e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Don't override existed LOCATION env var when it is already set, and 'westeurope' as the default value
@razo7
Copy link
Collaborator Author

razo7 commented Sep 11, 2024

/azp run ci

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@razo7 razo7 changed the title Set Azure prefix over USER as Optional at env.example Fix env.example Default Values Sep 16, 2024
@SudoBrendan
Copy link
Collaborator

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@SudoBrendan SudoBrendan merged commit 8fdfa78 into master Sep 17, 2024
24 checks passed
edisonLcardenas pushed a commit that referenced this pull request Sep 18, 2024
* Set Azure prefix and USER as optional at env.example

Follow up commit to use an Azure unique prefix for the Azure resources that ARO-RP is using instead of always fetching the USER. When AZURE_PREFIX env var is not set, then use the USER env var

* Use westeurope as default location

Don't override existed LOCATION env var when it is already set, and 'westeurope' as the default value
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.

4 participants