-
Notifications
You must be signed in to change notification settings - Fork 188
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
refactor: Renames MONGODB_ATLAS_ENABLE_BETA to MONGODB_ATLAS_ENABLE_PREVIEW for features in preview #2004
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Zuhair Ahmed <zuhair.ahmed@mongodb.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -265,7 +265,9 @@ jobs: | |||
terraform_wrapper: false | |||
- name: Migration Tests | |||
env: | |||
MONGODB_ATLAS_ENABLE_BETA: ${{ vars.MONGODB_ATLAS_ENABLE_BETA }} | |||
MONGODB_ATLAS_ENABLE_PREVIEW: "true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
knitpit: I think "true" and true are equivalent here as env vars are passed as strings
@@ -306,7 +306,7 @@ jobs: | |||
terraform_wrapper: false | |||
- name: Acceptance Tests | |||
env: | |||
MONGODB_ATLAS_ENABLE_BETA: ${{ vars.MONGODB_ATLAS_ENABLE_BETA }} | |||
MONGODB_ATLAS_ENABLE_PREVIEW: ${{ vars.MONGODB_ATLAS_ENABLE_PREVIEW }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vars.MONGODB_ATLAS_ENABLE_PREVIEW can be replaced by true as in mig config
we need to remove all references to vars.MONGODB_ATLAS_ENABLE_PREVIEW and vars.MONGODB_ATLAS_ENABLE_BETA so they can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I didn't see these changes before merging 🤦
Maybe we can clean it up in one of the test improvement PRs?
@@ -13,7 +13,7 @@ on: | |||
|
|||
env: | |||
AWS_DEFAULT_REGION: us-west-2 | |||
MONGODB_ATLAS_ENABLE_BETA: ${{ vars.MONGODB_ATLAS_ENABLE_BETA }} | |||
MONGODB_ATLAS_ENABLE_PREVIEW: ${{ vars.MONGODB_ATLAS_ENABLE_PREVIEW }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same, vars.MONGODB_ATLAS_ENABLE_PREVIEW can be replaced by true
Description
Adds MONGODB_ATLAS_ENABLE_PREVIEW flag for features in preview
Link to any related issue(s): CLOUDP-223391
Type of change:
Required Checklist:
Further comments