chore: only run the driver nightly on x64 linux, npm i --force MONGOSH-1473 #1788
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow-up to #1780
npm ci doesn't work if your package lock doesn't match what it should be so we have to npm i but then npm i doesn't work on all the exotic platforms due to all the deps we can't install there.. But there's no point running the nightly driver on every platform anyway, so let's only run it on x64 linux while at it.
This pull request now reuses the same templating we have to make .evergreen.yml to also make .evergreen-nightly-driver.yml so we can have one with all the build variants we don't want disabled.
All this to work around the limitations of evergreen's periodic builds. Another option would be to use the evergreen CLI to filter the variants/tasks that will be run, but then we need that set up somewhere we can run it. (github workflows, perhaps?)