Commit Graph

1312 Commits

Author SHA1 Message Date
Rafael Oleza
8e836b026f Update the nodejs version used on CI systems
It now matches the version of Node.js that Electron v3.1 is using.
2019-06-12 15:24:23 +02:00
Rafael Oleza
1d13427124 Auto-format yaml files 2019-06-12 12:56:22 +02:00
Antonio Scandurra
ee0ddaa1d8 Run each test suite with a pristine ATOM_HOME directory
This ensures that every test suite does not clutter subsequent ones. It 
will also prevent altering the user's `~/.atom` directory when running 
tests locally.
2019-06-07 09:33:09 +02:00
Antonio Scandurra
6a88fa4185 Don't symlink compile-cache folder in AtomWindow tests
In these tests, we create a temporary `ATOM_HOME` to avoid cluttering 
the user's real `~/.atom` folder.

Adding a symlink to the real `compile-cache` was introduced to speed up 
main process tests, so that the transpilation cache could be reused. 

Unfortunately, when the real `~/.atom` folder did not exist (such as on 
a pristine environment on CI), it would confuse Atom, which would think 
that it didn't need to re-create a `compile-cache` folder again, but 
wouldn't be able to write to it because the symlink pointed to a 
non-existant directory.

Main process tests were overhauled and made faster recently, so we can 
safely remove this performance optimization.
2019-06-06 17:11:01 +02:00
Antonio Scandurra
587a4dd72d Run main process tests during build step
For some reason, one main process test fails when run in a different 
container than the one in which Atom was built. These tests are pretty 
quick, so their impact on parallelism should be negligible.
2019-06-05 14:11:11 +02:00
Antonio Scandurra
2b0e5b0c32 Split package tests more evenly across containers 2019-06-05 13:29:24 +02:00
Antonio Scandurra
791a583860 Run package tests in parallel 2019-06-05 10:05:19 +02:00
Antonio Scandurra
9d2494ca16 Don't run benchmark tests during script/test unless explicitly requested 2019-06-04 18:50:50 +02:00
Antonio Scandurra
0d00538da3 Run core and package tests in parallel for macOS on Azure Pipelines 2019-06-04 18:50:26 +02:00
Antonio Scandurra
8231a16d77 Add package.json as a key to invalidate the cache on Electron upgrades 2019-06-04 13:08:58 +02:00
Antonio Scandurra
3a6750b3f9 Run bootstrap only once on Azure Pipelines for Windows 2019-06-04 11:10:05 +02:00
Antonio Scandurra
3be4889b77 Cache node_modules on Azure Pipelines based on package-lock.json
Co-Authored-By: Nathan Sobo <nathan@github.com>
Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-06-04 09:38:49 +02:00
Rafael Oleza
948480665f Merge commit '1d9a4cafcf6cc288d675512db8fd984e13aab869' into wl-upgrade-webdriverio 2019-05-31 18:52:18 +02:00
Rafael Oleza
77dcd96a66 Merge commit '677bbb7f0b8754787ff9e7bfab4602ba82e13b0b' into wl-upgrade-webdriverio 2019-05-31 18:51:49 +02:00
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
Rafael Oleza
677bbb7f0b Merge pull request #19408 from atom/enable-no-useless-escape-eslint-rule
Enable eslint rules that got disabled
2019-05-31 18:29:31 +02:00
Antonio Scandurra
20a49bb165 Upgrade to Electron 3.1.10 2019-05-29 18:59:40 +02:00
Antonio Scandurra
091325bd02 Merge branch 'master' into electron-3.1 2019-05-29 18:35:01 +02:00
Antonio Scandurra
dcac01fc18 Upgrade text-buffer to v13.15.4-0 2019-05-29 14:19:33 +02:00
Antonio Scandurra
3b5eb5d247 Add policy to prevent asking password more than once on RPM
See 50f73a5 for more details.

Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-05-28 11:59:29 +02:00
Antonio Scandurra
50f73a57b7 Add policy to prevent asking password more than once on Debian
This is a polkit policy that is read when fs-admin invokes `dd` via
`pkexec` after trying to write into a restricted location. By specifying
`auth_admin_keep`, we are telling the polkit daemon to not prompt users
for a password again if they have already escalated privileges recently.

Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-05-28 11:53:21 +02:00
Rafael Oleza
dc2df49b60 Enable no-useless-escape eslint rule 2019-05-27 10:59:39 +02:00
Winston Liu
791d6b4896 ⬆️ webdriverio@5.9.2 2019-05-25 21:42:32 -04:00
Winston Liu
7870675ef4 Re-enable tests 2019-05-25 20:50:53 -04:00
Winston Liu
b58243c93b Speed up CI 2019-05-24 20:26:38 -04:00
Winston Liu
21ed70687c WIP: Upgrade webdriverio 2019-05-23 18:36:12 -04:00
Antonio Scandurra
4a1ff99826 ⬆️ nsfw@1.0.23 2019-05-23 15:47:13 +02:00
Rafael Oleza
78c0a2881b Merge branch 'master' into ns-ro/ripgrep-scan 2019-05-22 23:37:19 +02:00
Jason Rudolph
0ab0e6595d Merge pull request #19346 from atom/dw-fix-draft-automation
Re-enable draft release automation for builds on release branches
2019-05-21 14:27:38 -04:00
Jason Rudolph
677a46de40 Merge pull request #18116 from atom/dw-update-server-script
Add a simple server for testing Atom updates, enable Atom to use it via environment variable
2019-05-21 12:38:38 -04:00
Antonio Scandurra
8e2e2620d3 Revert "Revert "Merge pull request #18916 from atom/electron-3.1""
This reverts commit 3da827b8b0.
2019-05-21 17:26:00 +02:00
Jason Rudolph
55080a92de 📝 Tweak README for update server
/xref https://github.com/atom/atom/pull/18116#discussion_r284952157
2019-05-21 10:28:31 -04:00
Jason Rudolph
0baff74cee Always show warning if --test-sign arg is used when building win32
/xref https://github.com/atom/atom/pull/18116#discussion_r284952925
2019-05-21 10:24:44 -04:00
Nathan Sobo
3da827b8b0 Revert "Merge pull request #18916 from atom/electron-3.1"
This reverts commit dc39210cc2, reversing
changes made to e18559f01c.
2019-05-20 16:32:09 -06:00
Rafael Oleza
b60f1b116b Small nit in comment 2019-05-20 10:16:13 -07:00
Winston Liu
9e2f830e06 Update package locks 2019-05-20 12:30:35 -04:00
Rafael Oleza
9d1406cb05 Merge branch 'master' into ns-ro/ripgrep-scan 2019-05-20 15:45:13 +02:00
Antonio Scandurra
dc39210cc2 Merge pull request #18916 from atom/electron-3.1
⬆️ Electron 3 (Take Two)
2019-05-20 15:20:12 +02:00
David Wilson
d3c556bdba Be more explicit about Nightly tag target 2019-05-17 08:04:07 -07:00
Nathan Sobo
770b8fdcf8 Revert "Merge pull request #19244 from atom/ns/notify"
This reverts commit b2ecabd527, reversing
changes made to c3bf95194a.
2019-05-17 04:10:17 -06:00
Nathan Sobo
4f08da2a98 Revert "Merge pull request #19325 from atom/ns/notify-asar-exclude"
This reverts commit da8b1a1a42, reversing
changes made to 1edf94a240.
2019-05-17 04:10:10 -06:00
Nathan Sobo
145ebb1a63 Revert "Merge pull request #19331 from atom/ns-as/notify-snapshot-exclude"
This reverts commit 1e08ad8470, reversing
changes made to 0994d8ae80.
2019-05-17 04:09:52 -06:00
Rafael Oleza
d35aef3bf0 Exclude the ripgrep module from the v8 snapshots 2019-05-17 11:55:23 +02:00
Rafael Oleza
0647a0044f Add context support to ripgrep-directory-searcher 2019-05-17 11:40:46 +02:00
David Wilson
9d30731972 Switch to atomeditor/atom-docker-ci image for Linux builds 2019-05-16 13:28:32 -07:00
Nathan Sobo
fd82a58f1d WIP
Co-Authored-By: Rafael Oleza <rafeca@users.noreply.github.com>
2019-05-16 17:45:34 +02:00
David Wilson
78833833d7 Add steps for configuring a Mac Development cert on macOS 2019-05-15 15:54:45 -07:00
David Wilson
203fbbd074 Added --test-sign to script/build to sign local builds of Atom on macOS 2019-05-15 15:46:46 -07:00
David Wilson
edbd490d0a Improve macOS update server endpoints 2019-05-15 15:46:46 -07:00
David Wilson
4433f7a6a1 Add a README.md with usage instructions 2019-05-15 15:46:46 -07:00