1756 Commits

Author SHA1 Message Date
Amin Yahyaabadi
a9b9eb96aa Update apm to 2.6.2 2021-04-29 04:34:47 -05:00
Amin Yahyaabadi
772a47964f Merge branch 'master' into remove-windows-build-tools 2021-04-28 04:40:57 -05:00
darangi
f0a79a0143 fetch 2021-03-23 08:10:49 +01:00
Musa Ibrahim
c7bf8f1aa3 Merge pull request #22019 from atom/fix-dependency-bump-failure
Fixes failing Dependency Bump script
2021-03-10 11:18:44 -08:00
Sadick
f4d832f2e2 Upgrade to electron 9.4.4 (#21777)
* Electron 9.4.4 Upgrade

Co-authored-by: Amin Yahyaabaadi <aminyahyaabadi74@gmail.com>
Co-authored-by: Maarten Fonville <mfonville@users.noreply.github.com>
Co-authored-by: Andrea Bogazzi <andreabogazzi79@gmail.com>
2021-03-05 07:48:45 +03:00
Sadick
7fbc957fba Clang 9 is already in the image. (#22000)
It's on the PATH and is the version that will be used without needing to do update-alternatives.
2021-03-03 17:48:30 +03:00
darangi
7a255bc138 rm .catch block 2021-03-01 19:01:36 +01:00
darangi
ce5e0f3068 use a default branch instead of master 2021-03-01 18:57:27 +01:00
Sadick
2f6f41b96e Revert "Bump minidump @aminya/minidump@0.19.0-8 (#21792)" (#21942)
This reverts commit 11b9559a5b.
2021-02-09 09:08:23 +03:00
Musa Ibrahim
394b468779 Merge pull request #21928 from atom/fix-dependency-bump-failure
Fixes dependency bump script
2021-02-04 15:48:11 +01:00
darangi
b6b8a87558 fix lint 2021-02-04 13:40:24 +01:00
darangi
1db87c09b0 checkout origin/master 2021-02-04 08:29:27 +01:00
DeeDeeG
83a883e8d0 script/test: Add a timeout message to retry for (#21898)
We should retry when encountering "Error: Timed out waiting on",
seen in the wild as "Error: Timed out waiting on anonymous condition".
2021-01-28 21:01:58 +03:00
Sadick
80bf68edbc Fix path when copying resource (#21900)
When copying resource from `{repositoryRootPath}/resources/win/*` to `{bundledResourcesPath}/cli/*`, omitted the {repositoryRootPath}.

Co-authored-by: yoonhyung <yoonhyungkim@webida.org>
2021-01-28 12:24:23 +03:00
Amin Yahyaabadi
11b9559a5b Bump minidump @aminya/minidump@0.19.0-8 (#21792)
* ⬆️ Bump minidump @aminya/minidump@0.19.0-8
2021-01-27 21:51:06 +03:00
Benjamin Gray
4e1f76530c Define npm_config_jobs env variable in build scripts (#21315)
Adds the npm_config_jobs env variable across build scripts that may benefit from it (ones that run apm install). This variable is used by node-gyp to compile native code with a number of threads equal to the reported CPU core count
2021-01-22 23:03:30 +03:00
DeeDeeG
79446ad2ef CI: Cache the packages/ directory (#21884)
Ensures we do not miss restoring these packages' node_modules folders
when running the post-build jobs (the test jobs in particular).
2021-01-21 20:53:15 +03:00
dependabot[bot]
2182479e4f ⬆️ Bump ini from 1.3.5 to 1.3.7 in /script/vsts (#21793)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 19:44:31 +03:00
sadick254
b9ef64e667 Add authorization 2021-01-04 22:19:26 +03:00
Benjamin Gray
0a169b5794 Update the macOS Azure CI image to macos-10.15 (#21318) 2020-11-18 14:01:57 +03:00
Amin Yahyaabadi
5d3df55641 Run Prettier script/test (#21624)
* run prettier on script/test + replcae `==` with `===`

Fixes: 
script\test.js:391 Expected '===' and instead saw '=='. (eqeqeq)
script\test.js:394 Expected '===' and instead saw '=='. (eqeqeq)
script\test.js:474 Expected '===' and instead saw '=='. (eqeqeq)

* remove excess spawn 

The next line calls spawnTest
2020-11-02 17:55:48 +03:00
DeeDeeG
d600556858 CI: Get 32-bit Node via the official NodeTool task (#21490)
The official NodeTool@0 task can now download 32-bit Node even on Windows x64 hosts. (As of this PR: microsoft/azure-pipelines-tasks#13399)
2020-10-30 15:26:45 +03:00
Atom Build Bot
5b0a00b027 Merge postcss-selector-parser-6.0.4 into master 2020-10-13 05:12:01 +02:00
Musa Ibrahim
a60471b1d9 Merge pull request #21326 from Aerijo/lint-job
Separate lint into own job
2020-10-08 20:42:14 +01:00
Musa Ibrahim
5b8840b415 Merge pull request #21413 from DeeDeeG/bootstrap-apm-print-current-Atom-version
script/bootstrap: Make `apm --version` print the Atom version currently being bootstrapped
2020-10-08 20:31:52 +01:00
Benjamin Gray
40175271d2 Remove electron configuration (#21354)
* remove electron configuration
2020-10-08 20:14:44 +03:00
darangi
0414ee6b30 fix lint 2020-10-06 15:10:15 +01:00
darangi
32e92c13f0 add util-deprecate to snapshot blacklist 2020-10-06 14:49:11 +01:00
Benjamin Gray
76f80eadb8 Consistent CI job names (#21327)
* consistent job names
2020-10-06 16:46:12 +03:00
darangi
ab5e729e31 merge dependency bumps 2020-10-02 12:06:03 +01:00
DeeDeeG
e49879918f script/bootstrap: apm prints the current Atom ver
Lets apm know where this repository's Atom metadata is located,
so that `apm --version` prints the version of Atom being bootstrapped.

Previously, this would print "unknown" if no Atom was installed to the
system, or whatever stable version was installed...
which was irrelevant info during the bootstrapping process.

This should be more straightforward, and less confusing.
2020-09-30 12:34:10 -04:00
Musa Ibrahim
2bb82aafb4 Merge pull request #21398 from atom-ide-community/exclude-tests
exclude test folders from the packaged app
2020-09-29 09:57:19 +01:00
Amin Yahyaabadi
83bc6b8379 exclude specific spec folders
Picked by hand to make sure they are test
2020-09-27 20:41:56 -05:00
Amin Yahyaabadi
449d6e6d80 exclude test folders from packaged app 2020-09-27 14:27:22 -05:00
Ash Wilson
efca1361f5 Prevent node_modules/nan pattern from matching node_modules/nanoid 2020-09-27 10:28:51 -04:00
darangi
166fde8fdb fixed issue with re-open closed PRs 2020-09-25 08:54:39 +01:00
Amin Yahyaabadi
8dd9901ef8 use the pre-installed Visual Studio 2017 instead of windows-build-tools
Windows-build-tools v4 (which is an old unmaintaind version) installs 
Visual Studio 2015. But we can use the pre-installed 2017 in 
vs2017-win2016

Requires https://github.com/atom/apm/pull/892
2020-09-24 03:55:20 -05:00
dependabot[bot]
bd8036acca Bump acorn from 5.7.1 to 5.7.4 in /script
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.1 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.1...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-18 22:02:36 +03:00
Sadick
cd7a8e47e3 Merge branch 'master' into lint-job 2020-09-18 12:13:19 +03:00
Amin Yahyaabadi
f3e9434410 add core main timeout retry trigger 2020-09-17 19:51:47 -05:00
Amin Yahyaabadi
7d14d560c1 Finalize in the end (not between retry attempts)
don't finalize until the end which the test fails or passes.
2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
30c35eec46 add Error Downloading Update to the retry commands 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
0572568ef5 increase the retryNumber to 6 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
e187bf26cb Retry 4 times 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
c48aacd0e7 pass exitCode 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
8450f16bdb call the callback only on fail or success
Don't call the callback on retry
2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
4f0acf4a83 call the callback after retrying 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
7063b48f05 Retry the timed out tests for a number of times 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
5d09c88927 shouldTryAgain 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
d7f5ea58e0 isTimedOut 2020-09-17 18:46:28 -05:00