Commit Graph

1350 Commits

Author SHA1 Message Date
Rafael Oleza
6fcfaffa04 Do not depend on CONFIG.executableName on the windows tests
CONFIG.executableName depends on the ATOM_RELEASE_VERSION env variable
to work correctly on nightly releases.

Since this env variable is not being set for the testing steps, the
nightly release builds contain a wrong executableName on the testing
step, which causes a failure when trying to find the Atom executable.

This commit fixes that by stop using the executableName from the test
step, like it's done on other platforms.
2019-07-17 11:40:39 +02:00
Rafael Oleza
35bc01f7a3
Merge pull request #19675 from atom/fix-signing-issues
Use the correct executable name on the code signing tool
2019-07-16 19:25:22 +02:00
Rafael Oleza
27e9ab8d32 Use the correct executable name on the code signing tool 2019-07-16 18:32:24 +02:00
Rafael Oleza
0578c0626e Merge branch 'master' into dw-windows-separate-channels 2019-07-04 10:34:39 +02:00
Rafael Oleza
698b581106 Run prettier 2019-06-26 16:32:07 +02:00
Nathan Sobo
c919744f0e Rely on Azure Pipelines instead of Travis for Linux builds 2019-06-25 14:28:27 -06:00
Linus Eriksson
2d6cc4f172 Use a different name depending on channel
This makes Atom beta install in %LOCALAPPDATA%\atom-beta and stable in 
%LOCALAPPDATA%\atom so that installs are side by side
2019-06-25 17:58:50 +02:00
Linus Eriksson
0ac07e7f32 Specify exe in the metadata
Because we changed it to be atom-beta.exe on beta for example this is 
required for electron-winstaller to find the executable
2019-06-25 17:58:28 +02:00
Rafael Oleza
b6644dfad8 Merge branch 'master' into dw-windows-separate-channels 2019-06-25 15:49:34 +02:00
Antonio Scandurra
ed75930d21 Upgrade npm on Azure Pipelines when running macOS tests 2019-06-20 18:17:50 +02:00
Antonio Scandurra
639a126eb8
Merge pull request #19578 from atom/as/fix-policy-files
Use a different polkit policy name for each Atom channel on Linux
2019-06-20 17:46:27 +02:00
Antonio Scandurra
85567ff70e Pass policyFileName variable to RPM spec template 2019-06-20 15:11:15 +02:00
Antonio Scandurra
6dcc0f1f74 Use a different polkit policy name for each Atom channel on Linux
Using the same name would generate an exception when trying to install 
more than one version of Atom at the same time.
2019-06-20 14:29:23 +02:00
Antonio Scandurra
73274fb70a Run script/bootstrap for pull requests originated from forks 2019-06-20 14:20:31 +02:00
Rafael Oleza
a6c21292be Publish nightly releases to atom repo on packagecloud.io 2019-06-20 11:13:19 +02:00
Rafael Oleza
2c516fb705 ⬆️ electron-winstaller
With this PR Atom uses a custom version of `electron-winstaller` named
`@atom/electron-winstaller` which contains a custom version of `Squirrel.Windows`
built from https://github.com/Squirrel/Squirrel.Windows/pull/149

This should fix the issues when upgrading from e.g nightly-9 to
nightly-10
2019-06-19 17:06:44 +02:00
Rafael Oleza
354a432e5f
Merge pull request #19570 from atom/fix-nightly-warnings
Generate delta nightly updaters for windows
2019-06-19 11:16:51 +02:00
Rafael Oleza
ef8e5bc12a Generate delta nightly updaters for windows
We've recently updated to electron-winstaller@3.0.4, which includes a
new version of Squirrel.Windows with the following fix:
https://github.com/anaisbetts/NuGet/pull/1

Thanks to that fix we don't need anymore to disable delta nuget
updaters, since that won't fail anymore.
2019-06-19 09:42:45 +02:00
Rafael Oleza
136ec1474e Fix generation of release notes for nightly builds 2019-06-19 09:16:19 +02:00
Rafael Oleza
e05bb34d4a
Merge pull request #19553 from atom/release-notes-on-nightly
Improve logic to generate nightly release notes
2019-06-18 18:50:13 +02:00
Rafael Oleza
fae8032781
Merge pull request #19539 from atom/upgrade-electron-winstaller
⬆️ electron-winstaller@3.0.4
2019-06-17 23:39:26 +02:00
Rafael Oleza
c67794cf96 Improve logic to generate nightly release notes 2019-06-17 23:35:41 +02:00
Rafael Oleza
0e7d99dce9 Update name of windows autoupdater executable 2019-06-17 19:35:44 +02:00
Rafael Oleza
5595c11072 ⬆️ electron-winstaller@3.0.4 2019-06-17 19:35:44 +02:00
Jason Rudolph
52c0698f76
Merge 'origin/master' into 🔥-appveyor 2019-06-17 12:34:29 -04:00
Winston Liu
86ad1c6604
Revert "Install apm using ci"
This reverts commit c7b55e5cea.
2019-06-13 22:26:52 -04:00
Winston Liu
c7b55e5cea
Install apm using ci 2019-06-13 22:25:23 -04:00
Rafael Oleza
442549eb62
Merge pull request #19504 from atom/update-node-ci-version
Update Node.js version used in CI systems
2019-06-12 18:25:55 +02:00
Jason Rudolph
898c12fe21
Rely on Azure Pipelines instead of AppVeyor for Windows builds 2019-06-12 10:23:18 -04:00
Rafael Oleza
7c3a628336 ⬆️ fs-admin@0.5.0 2019-06-12 15:25:37 +02:00
Rafael Oleza
8d9a7aa978 Add yml files to the node_modules cache key
This is to prevent reusing the node_modules folder when there are
changes in the build system, which can affect the npm install step (like
upgrading the Node.js version).
2019-06-12 15:24:23 +02:00
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
e213a69a1f Re-apply prettier JS formatter 2019-06-01 00:29:10 +02:00
Rafael Oleza
79f6836349 Merge commit '1d9a4cafcf6cc288d675512db8fd984e13aab869' into dw-windows-separate-channels 2019-06-01 00:28:37 +02:00
Rafael Oleza
975f203dc7 Merge commit '677bbb7f0b8754787ff9e7bfab4602ba82e13b0b' into dw-windows-separate-channels 2019-06-01 00:27:52 +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