Commit Graph

1595 Commits

Author SHA1 Message Date
DeeDeeG
4d9d6fa171 👕 Fix lints (verify-machine-requirements.js) 2020-05-30 18:40:27 -04:00
DeeDeeG
2656d19714
ci: Update Windows build from Python 2.7 to 3.8
Python 2 is officially end-of-life. We can use Python 3 now.
2020-05-30 17:41:59 -04:00
DeeDeeG
2c6c14d197 script: Add attempt logging for verifyPython()
Log which Python commands were tried, and the results,
if no usable Python was found. Useful for debugging failures.
2020-05-30 16:33:32 -04:00
DeeDeeG
b86afa5854 script: Reimplement node-gyp's find-python library
Use this to find python for the verify-machine-requirements.js script.
2020-05-30 11:19:29 -04:00
DeeDeeG
10811f1158 🔥 Lintian overrides
These overrides are very outdated.
(Haven't been updated since the day they were added, back in 2014.)
Even with these applied, Lintian still prints many warns/errors.

I think no-one has been running Lintian
against the .deb package for a while now.
2020-05-30 10:23:56 -04:00
Descear
89fe5a000f
Don't chmod chrome-sandbox 2020-05-29 00:17:08 +01:00
Descear
368f790a39
Publish build artefacts for pull requests 2020-05-28 22:16:11 +01:00
Descear
a5db2fbf11
Trigger CI 2020-05-28 20:52:50 +01:00
Descear
865e8fdd78
Trigger CI 2020-05-28 20:51:22 +01:00
Descear
73bd087fa3
Trigger artefact uploading 2020-05-28 20:20:49 +01:00
Descear
2247a74755
Remove debugging code 2020-05-27 22:48:29 +01:00
Descear
535ab93968
Remove debugging code 2020-05-27 22:48:28 +01:00
Descear
ab01bcd48a
Fix parsing error 2020-05-27 22:01:53 +01:00
Descear
a51c31c51a
Fix parsing error 2020-05-27 22:01:51 +01:00
Descear
4d12c46a2d
Fix lint 2020-05-27 21:42:14 +01:00
Descear
41aba7665a
Fix lint 2020-05-27 21:42:10 +01:00
Descear
66ce0b71b6
Add debugging code to create-rpm-package.js 2020-05-23 17:29:43 +01:00
Descear
a1c4e47296
Add debugging code to create-debian-package.js 2020-05-23 17:29:39 +01:00
Mazen El-Kashef
985dc66c8c Update package-lock.json 2020-05-20 00:58:00 -05:00
Mazen El-Kashef
a8047f889b back to electron 6 2020-05-20 00:54:26 -05:00
Mazen El-Kashef
9dcac63419 Upgrade npm 2020-05-20 00:44:18 -05:00
Mazen El-Kashef
7389cff85c check out build on electron 7 2020-05-20 00:41:32 -05:00
Mazen El-Kashef
891c80a0e7 Update script to support electron-packager 14 2020-05-20 00:09:30 -05:00
Mazen El-Kashef
c3f824a041 downgrade to electron 13 to get targets.hostArch 2020-05-19 23:49:59 -05:00
Mazen El-Kashef
397afdeca0 Fix node versioin 2020-05-19 23:37:57 -05:00
Mazen El-Kashef
29f184d6af Update electron dependencies 2020-05-19 23:27:48 -05:00
Mazen El-Kashef
ffb34f3d7e disable cache save 2020-05-19 19:09:10 -05:00
Mazen El-Kashef
98bb0d40de remove log and verify lint 2020-05-19 18:39:47 -05:00
Mazen El-Kashef
1c5bf90647 update npm path 2020-05-19 17:35:46 -05:00
Mazen El-Kashef
ad3c1fad11 debug npm upgrade fail 2020-05-19 17:17:16 -05:00
Mazen El-Kashef
5562f5f1af Update macos.yml 2020-05-19 17:06:08 -05:00
Mazen El-Kashef
237d3eec6d install npm 2020-05-19 16:58:19 -05:00
Mazen El-Kashef
0c25fdeebf try removing npm upgrade in mac job 2020-05-19 16:47:53 -05:00
Mazen El-Kashef
ed8f4f9d51 Update npm version 2020-05-19 16:28:35 -05:00
Mazen El-Kashef
9e01d5ac3b electron 6 again and bump node to 12.4.0 2020-05-19 16:06:38 -05:00
Mazen El-Kashef
b0669ecc31 Upgrade scrollbar-style without electron 2020-05-19 15:41:00 -05:00
Mazen El-Kashef
a16d2d1cd3 electron-mksnapshot@6.0.0 2020-05-19 07:50:17 -05:00
Mazen El-Kashef
c8ad0e71ee electron-chromedriver@6.0.0 2020-05-19 07:45:05 -05:00
DeeDeeG
f2e2871f66 script: Update npm to 6.14.4 for Python 3 support
npm as of 6.14.2 has node-gyp 5.1.0, which now supports Python 3.
2020-05-07 14:33:32 -04:00
Darangi
df36a205e7 set windows NPM_BIN_PATH path correctly 2020-03-11 20:17:21 +01:00
Darangi
bde2fe82f0 Merge branch 'master' of https://github.com/atom/atom into electron-upgrade 2020-03-11 18:11:48 +01:00
Darangi
563dbe7f17 Merge branch 'master' into electron-upgrade 2020-03-11 17:16:56 +01:00
Mazen El-Kashef
667c73a713 Upgrade to widows image to vs2017-win2016 2020-03-10 11:26:17 -05:00
Mazen El-Kashef
6f47204bdb
Merge pull request #20462 from dmoonfire/spell-check-0.76.0-fix
Fix to get ⬆️ spell-check@0.76.0 #20400 to merge
2020-03-04 08:17:48 -05:00
Mazen El-Kashef
ffb31c4c64
Merge pull request #20456 from atom/upgrade-azure-macos-image-version
Bump Azure Devops Mac images to version 10.14
2020-03-04 07:53:55 -05:00
Dylan R. E. Moonfire
df52109903 Updated dynamic linking for spell-check 2020-02-29 15:20:21 -06:00
Mazen El-Kashef
8247bc0e4e Bump images to version 10.14 2020-02-28 15:07:32 -05:00
Darangi
bcbf7c6343 Removed script to build native modules 2020-02-28 11:57:35 +01:00
Darangi
1fec04a2d0 build native module 2020-02-28 11:38:29 +01:00
Mazen El-Kashef
4f231cf0a3 cleaning up 2020-02-27 23:15:45 -05:00
Mazen El-Kashef
3540dae7c0 re-enable notarization 2020-02-27 13:38:15 -05:00
Mazen El-Kashef
3a022d6ec1 fix lint 2020-02-27 13:06:23 -05:00
Mazen El-Kashef
f658e69285 allow build to continue if notarization failed for testing pruposes only 2020-02-27 12:59:25 -05:00
Mazen El-Kashef
f7ab15b1cd Add child entitlements 2020-02-27 12:56:18 -05:00
Mazen El-Kashef
11b814d736 disable notarization to get an artifact 2020-02-27 11:48:31 -05:00
Mazen El-Kashef
bc8b84b5e3 pass env variables to the notarize script 2020-02-26 15:41:11 -05:00
Mazen El-Kashef
08fbd4587a correct notarize-on-mac helper path 2020-02-26 11:46:50 -05:00
Mazen El-Kashef
49eab7eb57 add notarization 2020-02-26 11:31:17 -05:00
Mazen El-Kashef
20e62193d8 disable hardened runtime 2020-02-26 08:06:44 -05:00
Mazen El-Kashef
7124233ea3 check macos sdk version 2020-02-25 02:15:22 -05:00
Mazen El-Kashef
ca7170b76b fix macos yaml 2020-02-25 02:02:24 -05:00
Mazen El-Kashef
a534190de7 Double check the version of mac and xcode 2020-02-25 02:00:17 -05:00
Mazen El-Kashef
7fc1064e88 re-implement code signing using async §electron-osx-sign 2020-02-24 23:52:47 -05:00
Mazen El-Kashef
e2c1596049 upgrade macos version to 10.14 majove 2020-02-24 21:30:23 -05:00
Mazen El-Kashef
58e9bcd6d4 add code signing using osx-sign 2020-02-24 20:18:52 -05:00
Mazen El-Kashef
a0cabdaade disable release step to avoid releasing this 2020-02-20 11:40:58 -05:00
Darangi
13535e4940 removed apm command from yml config 2020-02-17 17:35:09 +01:00
Darangi
6f1d9e568e install locked dependencies 2020-02-17 17:20:32 +01:00
Darangi
2c7092deb0 Logged error object 2020-02-14 10:48:46 +01:00
Darangi
6f851aeeee removed logs and ⬇️ snippets@1.5.1 2020-02-13 22:13:42 +01:00
Darangi
be5a04feb4 logged more paths 2020-02-13 21:35:25 +01:00
Darangi
f9ba783098 Logged resource path 2020-02-13 21:08:23 +01:00
Darangi
1b0487455b uncommented caching command in yml files 2020-02-13 19:00:42 +01:00
Mazen El-Kashef
e897ae2007 revert notarization 2020-02-07 15:08:55 -05:00
Darangi
220d9c39e3 Added npm_config_build_from_source variable to yaml config. 2020-01-30 23:01:07 +01:00
Darangi
2406f2c66b removed caching 2020-01-30 19:04:58 +01:00
Mazen El-Kashef
fbc06f50a8 switch from atom's special winstaller version to electron's winstaller 2020-01-25 02:28:15 -05:00
Mazen El-Kashef
519ee7c345 Correct entitlements path 2020-01-24 06:59:45 -05:00
Mazen El-Kashef
135e64f9e2 Remove entitlement allow-jit and Downgrade CI to MacOS 10.13 2020-01-24 05:10:22 -05:00
Mazen El-Kashef
0f521f1e8a Add notarization to the build process 2020-01-24 03:31:03 -05:00
Mazen El-Kashef
2073e2e917 Pass notarization credentials to the build script 2020-01-24 03:30:45 -05:00
Mazen El-Kashef
f6108fd31d Enable hardend runtime for code-signing on mac 2020-01-24 01:58:53 -05:00
Mazen El-Kashef
9616bb2eb0 Upgrade macos image to Majove to support notarization 2020-01-24 01:54:09 -05:00
Darangi
db55725c5f Removed logs 2020-01-23 18:10:36 +01:00
Darangi
5df052aec2 logged test variables 2020-01-21 19:37:45 +01:00
Darangi
47154351f0 added linux check 2020-01-09 19:42:43 +01:00
Darangi
d89d035e7f added no-sandbox flag to core-main process tests 2020-01-09 19:38:59 +01:00
Darangi
d3ada54531 removed --no-sandbox flag 2020-01-08 17:48:54 +01:00
Darangi
18da630975 added sudo to chmod 2020-01-07 20:59:14 +01:00
Darangi
7e24756a3d added sudo to chmod command 2020-01-07 18:56:59 +01:00
Darangi
d9eb0bb3e6 edited chrome sandbox path 2020-01-07 18:20:05 +01:00
Darangi
cc193b0123 get chrome-sandbox path 2020-01-07 17:27:49 +01:00
Darangi
b463ed2551 chrome-sandbox-file 2020-01-07 13:40:00 +01:00
Darangi
f73e465463 added --no-sandbox flag 2020-01-07 11:43:33 +01:00
Darangi
8a709366cb modify chrome-sandbox permission 2020-01-07 11:07:13 +01:00
Darangi
788d21f380 modify chrome-sandbox permission 2019-12-20 07:30:52 +01:00
Darangi
777e3ed915 modify chrome-sandbox permission 2019-12-20 01:52:47 +01:00
Darangi
cbf8aa3c02 modify chrome-sandbox permission 2019-12-20 01:48:05 +01:00
Darangi
1a59f72955 added sandbox workaround 2019-12-20 00:34:10 +01:00
Darangi
8bb7855966 modified chrome-sandbox permission 2019-12-19 19:13:32 +01:00
Darangi
e655892565 moved sandbox workaround inbetween build and test scripts 2019-12-19 18:28:24 +01:00
Darangi
8a956fc0ea Update linux CI file 2019-12-19 17:40:40 +01:00
Darangi
89403fbb20 Update linux CI file 2019-12-19 17:20:43 +01:00
Darangi
d4b93f40c4 Added sandbox workaround 2019-12-19 14:40:00 +01:00
Darangi
25281f540f Removed sandbox workaround from linux CI config 2019-12-19 14:23:00 +01:00
Darangi
6cdb140a60 update CI for linux to fix setuid_sandbox error 2019-12-18 21:11:45 +01:00
Darangi
73f4e9f8f2 update CI for linux to fix setuid_sandbox error 2019-12-18 20:23:24 +01:00
Darangi
39f91fe3fa Attempt to fix setuid_sandbox error 2019-12-18 19:45:27 +01:00
Darangi
bdf248d4db Increase maxBuffer to fix ENOBUFS error 2019-12-18 17:10:28 +01:00
Darangi
3bf17ac004 added parse5 to exclude list to fix "Unable to transform source code for module" error 2019-12-16 22:58:39 +01:00
Darangi
f37af2c723 removed parse5 from the exclude list 2019-12-16 20:22:19 +01:00
Darangi
45596ce4e8 fixed build error 2019-12-16 17:17:44 +01:00
Darangi
79bc4e77af ⬆️ node@12.13.1 and ⬆️npm@6.12.1 2019-11-29 19:22:04 +01:00
Darangi
ef559976dc ⬆️node@12.13.1 and ⬆️npm@6.12.1 2019-11-29 19:11:16 +01:00
Darangi
2c95adbd3e ⬆️ fs-admin@0.12.0 2019-11-29 17:07:12 +01:00
Darangi
9841a990c5 ⬆️ electron-link@0.4.1 2019-11-25 23:01:34 +01:00
Darangi
1c802b9a64 bumped electron-chromedriver and electron-mksnapshot 2019-11-25 17:52:05 +01:00
Jason Rudolph
ffcf92e5c0
Merge pull request #19802 from atom/dependabot/npm_and_yarn/script/underscore.string-3.3.5
Bump underscore.string from 3.3.4 to 3.3.5 in /script
2019-08-15 16:08:57 -04:00
Jason Rudolph
ffb9673d47
Merge pull request #19803 from atom/dependabot/npm_and_yarn/script/vsts/extend-3.0.2
Bump extend from 3.0.1 to 3.0.2 in /script/vsts
2019-08-15 16:08:30 -04:00
dependabot[bot]
0150a90209
Bump extend from 3.0.1 to 3.0.2 in /script/vsts
Bumps [extend](https://github.com/justmoon/node-extend) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/justmoon/node-extend/releases)
- [Changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/justmoon/node-extend/compare/v3.0.1...v3.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-15 18:18:32 +00:00
dependabot[bot]
fb26c63018
Bump js-yaml from 3.12.0 to 3.13.1 in /script
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-15 18:14:58 +00:00
dependabot[bot]
00dc804d44
Bump underscore.string from 3.3.4 to 3.3.5 in /script
Bumps [underscore.string](https://github.com/epeli/underscore.string) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/epeli/underscore.string/releases)
- [Changelog](https://github.com/epeli/underscore.string/blob/master/CHANGELOG.markdown)
- [Commits](https://github.com/epeli/underscore.string/compare/3.3.4...3.3.5)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-15 17:39:33 +00:00
Jason Rudolph
559913ae1a
Merge pull request #19797 from atom/dependabot/npm_and_yarn/script/lodash.merge-4.6.2
Bump lodash.merge from 4.6.1 to 4.6.2 in /script
2019-08-15 11:04:12 -04:00
dependabot[bot]
2b8bcf2c20
Bump lodash.merge from 4.6.1 to 4.6.2 in /script
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-15 13:57:34 +00:00
dependabot[bot]
7e396e3cf0
Bump lodash.template from 4.4.0 to 4.5.0 in /script
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-15 13:56:03 +00:00
Antonio Scandurra
d227a202dd Upgrade tello to v1.2.0
Fixes #16106
Fixes #17746
2019-07-26 11:21:44 +02:00
Antonio Scandurra
dc42506b53 Re-enable CI for Windows and macOS on Azure pipelines
Co-Authored-By: Jason Rudolph <jason@jasonrudolph.com>
2019-07-24 15:25:47 +02:00
Antonio Scandurra
e938c0136b Revert "WIP: Temporarily upload artifacts on builds triggered by pull requests"
This reverts commit 10fc3f254e.

Co-Authored-By: Jason Rudolph <jason@jasonrudolph.com>
2019-07-24 15:25:29 +02:00
Antonio Scandurra
383fda8869 Install ICU dev tools to fix artifact caching tool 2019-07-24 15:02:38 +02:00
Antonio Scandurra
10fc3f254e WIP: Temporarily upload artifacts on builds triggered by pull requests 2019-07-24 12:55:41 +02:00
Antonio Scandurra
445548e68d Downgrade Ubuntu to 14.04 2019-07-24 12:48:24 +02:00
Rafael Oleza
f7f002fd20 Merge branch 'master' into electron-4 2019-07-19 17:35:28 +02:00
Rafael Oleza
535c0311d4 Calculate correctly the nupkg filenames when uploading artifacts 2019-07-17 15:33:13 +02:00
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
Rafael Oleza
5b61fbaf3a Merge branch 'master' into electron-4 2019-06-24 10:17:21 +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