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

ci(NODE-5652): move vars to expansions #3877

Merged
merged 7 commits into from
Oct 4, 2023
Merged

Conversation

nbbeeken
Copy link
Contributor

@nbbeeken nbbeeken commented Sep 28, 2023

Description

What is changing?

  • Move all usages of vars to expansions
  • set add_expansions_to_env: true
  • formatting

Note to reviewer it is easier to follow changes per commit to skip over misc formatting fixes

Is there new documentation needed for these changes?

No

What is the motivation for this change?

Avoiding use of var removes the risk of breakages when evergreen removes the behavior where vars persist across functions

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@nbbeeken nbbeeken changed the title NODE-5652-ci-vars ci(NODE-5652): move vars to expansions Sep 28, 2023
@nbbeeken nbbeeken marked this pull request as ready for review September 29, 2023 17:21
baileympearson
baileympearson previously approved these changes Oct 2, 2023
Copy link
Contributor

@baileympearson baileympearson left a comment

Choose a reason for hiding this comment

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

one optional comment


const TASKS = [];
const SINGLETON_TASKS = [];

/** Accepts {key: value} -> returns {key, value}[] */
function updateExpansions(expansions) {
Copy link
Contributor

Choose a reason for hiding this comment

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

jsdoc here maybe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

@baileympearson baileympearson merged commit 33933ba into main Oct 4, 2023
@baileympearson baileympearson deleted the NODE-5652-ci-vars branch October 4, 2023 13:52
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.

2 participants