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

chore: only run the driver nightly on x64 linux, npm i --force MONGOSH-1473 #1788

Closed
wants to merge 1 commit into from

Conversation

lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Jan 16, 2024

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?)

@lerouxb
Copy link
Contributor Author

lerouxb commented Jan 16, 2024

I can't tell if this works because if you schedule a patch manually: https://spruce.mongodb.com/version/65a64d792a60edcb6def40db/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

then it seems to just add all the build variants anyway regardless of whether they are disabled and then you can tell the disabled ones to run. Can't trigger a periodic build from the UI until it is merged.

All this assumes that disabled: true/false there is even valid, obviously.

@lerouxb lerouxb requested a review from addaleax January 16, 2024 09:41
@lerouxb lerouxb changed the title chore: only run the nightly on x64 linux, npm i --force chore: only run the driver nightly on x64 linux, npm i --force Jan 17, 2024
@lerouxb lerouxb changed the title chore: only run the driver nightly on x64 linux, npm i --force chore: only run the driver nightly on x64 linux, npm i --force MONGOSH-1473 Jan 17, 2024
@lerouxb
Copy link
Contributor Author

lerouxb commented Jan 18, 2024

Closing in favour of #1790

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