[COMPASS-3113] Refactor .evergreen.yaml for improved build times and functional tests Created: 05/Sep/18 Updated: 19/Nov/18 Resolved: 22/Oct/18 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | CI |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Lucas Hrabovsky (Inactive) | Assignee: | Lucas Hrabovsky (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | COMPASS-3028 |
| Story Points: | 8 |
| Sprint: | Iteration Mango Miso, Iteration Naan, Iteration Octopus |
| Description |
|
Refactor .evergreen.yaml to be sane so we can debug during setup for executing functional tests. |
| Comments |
| Comment by Githook User [ 19/Nov/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message:
But, this will still be faster than before as we're only `npm install`-ing 1 time instead of 4.
almost all working...
Func tests, builds, and package/publish all working. Now faster than master which is just doing builds/package/publish and not tests.
Upgrade to `hadron-spectron@5`. See mongodb-js/hadron-spectron#3 for more details.
electron@3.0 maps to node@10.2
Should fix ```
Updates mongodb-runner to 4.7.0 which includes the actual fix in https://github.com/mongodb-js/mongodb-tools/commit/7559449ba68a0bf266eac1a50e13a9363ce2227c Related to
See BUILD-4243
The `xvfb-maybe` command in `package.json` will handle finding the `xvfb-run` executable and environment variables. See https://github.com/paulcbetts/xvfb-maybe
https://github.com/10gen/compass/commit/1dbbf7bbe52f1d697adf44260afffc34d7d88c54
This reverts commit e30a0bc537f118c592e952de523372587b9591a2.
This reverts commit 182e756a1982073b0952d521bdefa22469cfa79f.
[hadron-compile-cache](https://github.com/mongodb-js/hadron-compile-cache) :arrow_right: depends on chokidar :arrow_right: depends on fsevents... http://npm.im/fsevents is supposed to be macOS only but there is something super wacky going on with that project... and because `electron-rebuild` doesn't unstead that `fsevents` is a transitive optional dependency of `hadron-compile-cache` (a real production dependency), `electron-rebuild` throws a panic and dies because `fsevents` (macOS only) cannot be rebuilt on Windows (which is not macOS). :dizzy_face: ``` An unhandled error occurred inside electron-rebuild
Evergreens CWD is mutable so we need to regenerate ~/compass_env.sh before running vs just restoring from the tarball
to try and figure out why func tests higher up are failing. quick notes: xvfb-maybe makes linux tests now pass w/o hanging
They've switched mainline to `libsecret` (was gnome-keyring specific before). Adding `libsecret` support is why I forked originally so that fork can just go away now. Mainline `keytar` now also supports prebuilds for `electron@3` cc @durran
This reverts commit 7ccd5167c67ad41d0925920c543001712fa5376c.
|
| Comment by Githook User [ 12/Nov/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: Evergreens CWD is mutable so we need to regenerate ~/compass_env.sh before running vs just restoring from the tarball |
| Comment by Githook User [ 06/Nov/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 06/Nov/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 05/Nov/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 05/Nov/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 01/Nov/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 01/Nov/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 31/Oct/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 31/Oct/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 26/Oct/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 26/Oct/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 16/Oct/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 04/Oct/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 20/Sep/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: Backport
This reverts commit d39c6cbd877f502f575c157a19f1054adce6df9f.
|
| Comment by Githook User [ 20/Sep/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: Backport:
This reverts commit d39c6cbd877f502f575c157a19f1054adce6df9f.
|
| Comment by Githook User [ 20/Sep/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: Backport
This reverts commit d39c6cbd877f502f575c157a19f1054adce6df9f.
|
| Comment by Githook User [ 20/Sep/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: Backport:
This reverts commit d39c6cbd877f502f575c157a19f1054adce6df9f.
|
| Comment by Githook User [ 19/Sep/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message:
This reverts commit d39c6cbd877f502f575c157a19f1054adce6df9f.
|
| Comment by Githook User [ 19/Sep/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: Revert " This reverts commit d39c6cbd877f502f575c157a19f1054adce6df9f. |
| Comment by Githook User [ 19/Sep/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: |
| Comment by Githook User [ 14/Sep/18 ] |
|
Author: {'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas'}Message: Making headway. Continue with https://github.com/evergreen-ci/evergreen/wiki/Project-Files as ref |