Commit Graph

2129 Commits

Author SHA1 Message Date
Maurício Szabo
517357db6c Adding icon to resources path 2022-08-19 15:00:38 -03:00
Maurício Szabo
1b63109dd3 Fixed icons 2022-08-19 12:10:11 -03:00
Maurício Szabo
4513bd79e8 Renaming atom-package-manager to pulsar 2022-08-19 02:07:00 -03:00
Maurício Szabo
1c6ce90a9c Trying to distribute tests 2022-08-17 18:40:42 -03:00
Maurício Szabo
d8f7879699 Removed filter for packages tests 2022-08-17 16:38:23 -03:00
Maurício Szabo
0ad7d6eb5c Adding scripts to build Pulsar 2022-08-17 16:05:51 -03:00
Maurício Szabo
f22622b08f
Apply suggestions from code review
Co-authored-by: Spiker985 <Spiker985@users.noreply.github.com>
2022-08-17 12:09:26 -03:00
Spiker985
8368a476e8 [script] Add script to copy icon to directory 2022-08-17 01:23:49 -03:00
Spiker985
354f45fe66 Update remaining scripts - A[a]tom -> P[p]pulsar 2022-08-17 01:23:49 -03:00
Spiker985
05e6672954 Update Azure-CI - A[a]tom -> P[p]ulsar 2022-08-17 01:23:49 -03:00
Spiker985
4422306fd8 Update packaging scripts - A[a]tom -> P[p]ulsar 2022-08-17 01:23:49 -03:00
Maurício Szabo
56d7314ebe Added missing script 2022-08-15 12:59:36 -03:00
DeeDeeG
7fdf02a683 deps: downgrade fs-admin to 0.19.0 in script/
Consistent fs-admin version in script/ and in core.
2022-07-11 08:29:22 -04:00
DeeDeeG
0f3785899b deps: Update fs-admin to 0.20.0 in script/ 2022-07-10 21:00:04 -04:00
Amin Yahyaabadi
f8993f390d build: fix the permissions of the scripts on unix 2022-07-09 22:39:33 -07:00
Amin Yahyaabadi
be29e10602 ci: fix macos caffeinate test script 2022-07-09 21:59:45 -07:00
Amin Yahyaabadi
9794abce55 fix: deprecate shell scripts and extension less scripts 2022-07-09 21:38:26 -07:00
Amin Yahyaabadi
48cebc86ea fix: use node shabang for backwards compatibility 2022-07-09 21:27:57 -07:00
Amin Yahyaabadi
7a1e4d1936 fix: fix the path to verify-snapshot-script 2022-07-09 21:22:35 -07:00
Amin Yahyaabadi
1ab0ac450a ci: run scripts using node in CI 2022-07-09 17:34:52 -07:00
Amin Yahyaabadi
c6a39b5887 build: add file extension for js files + create sh scripts + lint 2022-07-09 17:28:31 -07:00
Amin Yahyaabadi
f9f031c822 chore: fix prettier + update the lock files 2022-07-08 22:06:35 -07:00
Amin Yahyaabadi
ca0eda7351 fix: exclude nsfw from the snapshot 2022-07-07 22:04:52 -07:00
Amin Yahyaabadi
a600e30ed9 build: add npmrc with Nodejs target versions 2022-07-04 16:14:56 -07:00
Amin Yahyaabadi
2f0cbdeb08 Merge branch 'master' into pr/67 2022-07-01 14:59:16 -07:00
Amin Yahyaabadi
e752405bd9
Merge pull request #409 from atom-community/dump-symbols 2022-07-01 14:50:00 -07:00
Amin Yahyaabadi
38e5586b10 fix: ignore the errors caused by dumping the symbols on non-windows 2022-07-01 14:49:08 -07:00
Amin Yahyaabadi
eb56872337 fix: exclude supports-color from the snapshot 2022-06-30 01:50:46 -07:00
Amin Yahyaabadi
9a775082dd Merge branch 'master' into pr/67 2022-06-30 00:32:26 -07:00
Spiker985
ff88105584
Change Windows Build image - 2016 -> 2019
The Windows 2016 image has been/will be deprecated as of today. https://github.com/actions/virtual-environments/issues/5403
2022-06-30 03:03:55 -04:00
Steven Nguyen
35cff5b294
Revert "deps: Bump minidump (0.22.0 to 0.23.0) in script/" 2022-06-20 17:21:15 -05:00
DeeDeeG
d4ec4e9ffd deps: Bump minidump (0.22.0 to 0.23.0) in script/
Should fix an error when building Atom on Arch Linux,
specifically when dumping debug symbols.
2022-06-20 17:40:10 -04:00
DeeDeeG
0b1a764c2c CI: Bump Node to 12.18.3 to match Electron 11
See: https://www.electronjs.org/releases/stable?version=11&page=6#11.0.0
2022-06-19 11:36:17 -04:00
Amin Yahyaabadi
7ebf8b96b5
Merge pull request #367 from icecream17/dependabot/npm_and_yarn/script/vsts/y18n-3.2.2 2022-06-15 14:04:24 -07:00
Amin Yahyaabadi
df5eb81540 fix: use the script-runner's npm in the bootstrap 2022-06-10 20:25:35 -07:00
Amin Yahyaabadi
f15a9de354
Merge branch 'master' into upstream_master_new 2022-06-10 20:06:23 -07:00
Musa Ibrahim
80b6c8a9f6
Merge pull request #23664 from icecream17/revert-npm
Fix npm ENOENT error in install-script-runner-dependencies
2022-04-20 14:37:41 +04:00
steven nguyen
f3b631b458 ⬆️ electron-packager to 15.1.0 in /script
According to https://www.electronjs.org/blog/apple-silicon,
if arm64 is going to be supported, `electron-packager` should be at least
`15.1.0`
Running npm install seemed to update a bunch of other things

Also language-ruby keeps reverting to 0.72, this seems to fix that.
2022-02-28 15:41:56 +00:00
steven nguyen
ee56b4ba7b separate getLocalNpmBinPath for install-apm.js 2022-02-28 14:44:12 +00:00
icecream17
ece90b3e3f Remove unused imports 2022-02-26 16:35:23 -06:00
icecream17
790511ac51 Fix npm ENOENT error in install-script-runner-dependencies
Despite what https://github.com/atom/atom/pull/23322 is named,
the pull request actually makes install-script-dependencies
use the non-local npm binary.

So this pr fixes install-script-runner-dependencies by making the npmBinPath
consistent with install-script-dependencies

ENOENT detected by https://github.com/atom-community/atom/pull/351,
specifically https://dev.azure.com/atomcommunity/atomcommunity/_build/results?buildId=1132&view=logs&j=2985f0af-e798-5fdc-91b8-be9f0a3685c5&t=0a53f124-4db9-5fc3-be81-e293757effc7&l=16
2022-02-26 16:26:23 -06:00
DeeDeeG
dafca7ef79 deps: "downgrade" node-fetch to ^v2.6.7 in script/
This version has all the known security patches in v3.x,
and is meanwhile the recommended version to use from CommonJS
(NodeJS-style) modules, as opposed to ESM.

Atom's build and CI scripts are all CommonJS as far as I know,
so we should basically stay on node-fetch v2.x.

This fixes the currently broken "Bump dependencies" job in Nightly CI.

Effectively reverts ad1318e3fb,
AKA https://github.com/atom/atom/pull/23506,
albeit with a more up-to-date patch version of node-fetch v2.x.
2022-02-22 22:06:41 -05:00
dependabot[bot]
8812bf2102
Bump y18n from 3.2.1 to 3.2.2 in /script/vsts
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

---
updated-dependencies:
- dependency-name: y18n
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 13:39:25 +00:00
darangi
52adb31cf6 ⬆️ pr-changelog@0.3.4 2022-02-08 20:00:22 +01:00
steven nguyen
ebcebb2fa8 sync package-lock 2022-02-07 15:01:46 +00:00
steven nguyen
9e6302f7a2 fix/deps: min versions of electron-chromedriver...
... and electron-snapshot to the current electron version (v11)
2022-02-07 14:33:33 +00:00
dependabot[bot]
ad1318e3fb
Bump node-fetch from 2.6.1 to 3.1.1 in /script
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 12:52:00 +00:00
sadick254
309ecff84d
Use correct npm bin name depending on the OS 2021-12-03 16:26:23 +03:00
sadick254
22c3e44d10
We don't need to verify npm version
We have defaulted to using npm that installed as part of the script
dependancies. This is to increase predictability on what version of npm
was used to install atom dependencies
2021-12-03 16:22:25 +03:00
sadick254
36562eaea1
Install using npm installed during installation of script dependencies 2021-12-03 14:19:52 +03:00
sadick254
094b8dfdf5
Remove aws-sdk
We have now moved to using azure for our block storage. We no longer
need to have the aws-sdk and the related functionality on Atom.
2021-11-22 06:14:01 +03:00
Musa Ibrahim
dd4fae1eb9
Merge pull request #22979 from DeeDeeG/update-system-requirements-checker-node
bootstrap: Use legacy-compatible `catch` syntax (support older Node)
2021-09-20 16:47:01 +01:00
DeeDeeG
f35e51273d bootstrap: Update required Node to 10.12+
"Node 10.12 or newer" has been a hard requirement since this PR:
https://github.com/atom/atom/pull/20879,
due to newer versions of electron-chromedriver and electron-mksnapshot
relying on extract-zip@2 as an indirect dependency.

(extract-zip@2 requires Node 10.12 or newer for its recursive mkdir.
Using extract-zip@2 with Node older than 10.12 results in errors.

That leads to a lack of electron-vendored
chromedriver or mksnapshot binaries where they're supposed to be.
Which in turn causes startup blob creation (via mksnapshot) to fail
toward the end of the Atom build scripts.)
2021-09-18 16:28:13 -04:00
DeeDeeG
5339e5d528 bootstrap: Fix syntax error for Node older than 10
We don't actually support Node older than 10 for successfully
bootstrapping an Atom build, but we should support older Node in the
system requirements checker script so that we can print useful errors,
like ones to tell the user their system's copy of Node is too old!

(It was me that introduced this Node 10.0.0 or above-only syntax
about a year ago... My mistake. It's as good a time as any to fix it!)
2021-09-13 21:07:59 -04:00
dependabot[bot]
ec1ef580ea
Bump normalize-url from 4.5.0 to 4.5.1 in /script
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 09:45:54 +00:00
Amin Yahyaabadi
9fc4c38317 Merge branch 'master' into upstream_master 2021-08-15 23:54:20 -05:00
darangi
66e671862b change authentication method again 2021-08-13 00:12:47 +01:00
darangi
62bab604c8 change authentication method 2021-08-12 19:04:50 +01:00
mfonville
ce27104239
For glibc compatibility use Ubuntu 18.04 as environment 2021-07-16 23:09:10 +02:00
sadick254
27ab77394f
Ubuntu 16.04 LTS environment is deprecated
It will be removed on September 20, 2021. Migrate to ubuntu-latest instead.

https://github.com/actions/virtual-environments/issues/3287.

e
 On branch migrate-to-ubuntu-latest
2021-07-16 19:16:09 +03:00
icecream17
65716c967a Use old npm version to create lockfile 2021-07-01 13:14:20 -05:00
icecream17
4774c56d9e Bump async dependency to 3.2.0 in atom/script
Update lockfileVersion to *2*, but that's a side affect from npm

https://github.com/caolan/async/blob/master/CHANGELOG.md#v200
v2.0.0 allows importing functions modularily.
So I changed the code to only import the functions needed
instead of the whole thing.
2021-06-25 16:51:14 -05:00
darangi
3245160e99 fix error on master 2021-06-02 14:07:15 +01:00
darangi
929f603b47 remove pr trigger 2021-06-02 14:03:50 +01:00
darangi
8fb0761333 reset ci configs to default 2021-05-27 17:05:52 +01:00
darangi
483bdf86fe temporary enable release branch build
add migration branch to list of triggers

revert pr trigger

set isReleaseBranch and isSignedZipBranch to true, this is temporary

fix lint

alter config files

set release branch to false

add @azure/storage-blob
2021-05-27 17:00:18 +01:00
darangi
2f6f931720 init 2021-05-20 11:36:53 +01:00
Sadick
79d0a6de32
Merge pull request #22453 from atom/bump-minidump@0.22.0
⬆️  Bump minidump@0.22.0
2021-05-20 07:45:04 +03:00
sadick254
a1c939a468
⬆️ Bump minidump@0.22.0 2021-05-19 22:44:50 +03:00
DeeDeeG
b042d2ded1 script: Let bootstrap install apm with npm ci
This commit enables faster, more-reproducible installs of `apm`,
when bootstrapping/building Atom in `ci` mode.
(with `--ci` or env var `CI` set).

This only affects bootstrapping/building Atom; This should
not make any difference to the built Atom app, or to `apm`'s behavior
as a command-line tool/as a component of Atom.

Details:

As of apm 2.6.2, apm respects a `NO_APM_DEDUPE` env var on Windows.
(It was already supported on Linux and macOS before then.)
When set, this env var disables the deduping
normally performed at the end of apm's postinstall script.

This deduping doesn't work properly when installing apm with `npm ci`,
for unknown reasons. (The deduping algorithm deletes many needed
dependencies, without reconstructing a valid tree.)

Now that `apm` supports `NO_APM_DEDUPE` on all platforms,
we can safely allow installing `apm` with `npm ci`
during the bootstrap script.

Now bootstrapping apm in `ci` mode is faster in two ways:
- `npm ci` is generally faster than `npm install` for clean installs.
  - Great for actual automated builds ("CI").
- The `npm dedupe` run is now skipped in `ci` mode.
  - The `npm dedupe` was of dubious value in any case
  - The `npm dedupe` command was also surprisingly slow

We also benefit from the stronger reproducibility of `npm ci`
compared to `npm install` (guaranteed, version-locked dependencies).
2021-05-19 10:47:41 -04:00
mfonville
0d05713957
fix typo 2021-05-16 07:35:06 +02:00
mfonville
a805226393
Revert "Use Ubuntu Extended Security Maintenance mirror instead of Azure for security"
This reverts commit 78cba2a6e8.
2021-05-15 23:54:39 +02:00
mfonville
78cba2a6e8
Use Ubuntu Extended Security Maintenance mirror instead of Azure for security 2021-05-15 23:49:39 +02:00
mfonville
74e57e71de
Also add bionic security repo, some of the rpm dependencies got a security update 2021-05-15 23:41:36 +02:00
mfonville
6a723d4314
merge the two apt-get statements 2021-05-15 23:00:08 +02:00
mfonville
c232b19195
apt-get is preferred in scripts 2021-05-15 20:48:20 +02:00
mfonville
94074a8e91
Azure only has http and no https 2021-05-15 20:19:52 +02:00
mfonville
7f22c983d3
had wrong type of quotes 2021-05-15 20:11:25 +02:00
mfonville
daaf4378bf
small fixes 2021-05-15 19:57:10 +02:00
mfonville
0711623b2d
Use azure mirror repository 2021-05-15 19:55:05 +02:00
mfonville
2dce3f0aad
Get rpm from bionic 2021-05-15 19:50:29 +02:00
dependabot[bot]
b02c135d32
Bump hosted-git-info from 2.7.1 to 2.8.9 in /script/vsts
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 15:48:40 +00:00
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
Amin Yahyaabadi
c0dcd9bc8b Update lock files 2021-04-07 16:19:31 -05:00
Amin Yahyaabadi
2dc409d602 Merge branch 'master' into upstream_master 2021-04-07 16:16:22 -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
Amin Yahyaabadi
b1bdc1b55c Update lock files 2021-02-08 21:18:23 -06:00
Amin Yahyaabadi
6b49873708 Merge branch 'master' into upstream_master 2021-02-08 21:12:53 -06: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
Amin Yahyaabadi
5d563cd925 revert @babel installation in scripts
This is only needed for Eslint. We should update this once Eslint requires it
2020-11-26 16:02:06 -06:00
Amin Yahyaabadi
eacb2e617f Include @babel/runtime in the snapshot
GitHub package uses this in its relay dependency which is required on startup
2020-11-26 16:02:06 -06:00
Amin Yahyaabadi
9bbb4c159b simplify babel external declaration 2020-11-26 16:02:06 -06:00
aminya
91bb420d3d commit things temporarily 2020-11-26 16:02:06 -06:00
aminya
4cbb1109a0 external babel everything 2020-11-26 16:02:06 -06:00
aminya
988d8f5848 remove babel cli 2020-11-26 16:02:06 -06:00
aminya
a1bca32f34 declare core, cli and preset as external 2020-11-26 16:02:06 -06:00
aminya
cdf96a45ff declare the whole @babel babel-preset packages as external 2020-11-26 16:02:06 -06:00
aminya
77fabfb786 use babel-preset-atomic 2020-11-26 16:02:06 -06:00
aminya
84eb6c5546 use babel-plugin-add-module-exports 2020-11-26 16:02:06 -06:00
aminya
5062a9f2a9 remove async to generator 2020-11-26 16:02:05 -06:00
Amin Yahyaabadi
93a4f0b83a fix remaining 'babel-core's 2020-11-26 16:02:05 -06:00
Amin Yahyaabadi
4e85453221 babel proposal plugins to replace the old stage-0 plugin 2020-11-26 16:02:05 -06:00
Amin Yahyaabadi
c4c377a572 add babel react and flow. 2020-11-26 16:02:05 -06:00
Amin Yahyaabadi
f169f61abe Update babel-eslint 2020-11-26 16:02:05 -06:00
Amin Yahyaabadi
2cd409dcbb upgrade babel in script/package-json 2020-11-26 16:02:05 -06:00
aminya
17597a3b70 Update package-lock files 2020-11-26 15:49:42 -06:00
aminya
ae1aee7d2d Merge branch 'master' into upstream_master 2020-11-26 15:42:54 -06: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
aminya
d50b3dca34 Merge branch 'master' into upstream_master 2020-10-30 20:21:39 -05: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
aminya
20b3c24e1b Merge branch 'master' into upstream_master 2020-10-20 23:13:06 -05: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
Amin Yahyaabadi
aca4c328af fix release notes config path 2020-10-03 18:44:09 -05:00
darangi
ab5e729e31 merge dependency bumps 2020-10-02 12:06:03 +01:00
Amin Yahyaabadi
609f2236ec parallelize clean 2020-10-01 22:02:00 -05:00
Amin Yahyaabadi
619ec1059f make test executable
Fixes https://github.com/atom-ide-community/atom/issues/204
2020-10-01 19:57:14 -05:00
Amin Yahyaabadi
1808785e66 missed upstream change 2020-10-01 19:09:42 -05:00
Amin Yahyaabadi
ca9daf7421
Merge pull request #198 from atom-ide-community/config-repo 2020-10-01 18:29:41 -05:00
Amin Yahyaabadi
4baccf2313 parallelize copy-assets 2020-10-01 05:54:09 -05:00
Amin Yahyaabadi
58ca358383 destructure REPO_OWNER, MAIN_REPO, NIGHTLY_RELEASE_REPO from config 2020-10-01 05:35:50 -05:00
Amin Yahyaabadi
d0ef9a1f22 add REPO_OWNER, MAIN_REPO, NIGHTLY_RELEASE_REPO to config 2020-10-01 05:31:04 -05: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
Amin Yahyaabadi
ed3f73c1bd run prebuildLessCache in series 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
7c533694a7 Revert "run prebuildLessCache on a thread"
This reverts commit 8f1a2c42bffd2713904c321c0bdf7ec8ee71d146.
2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
2ad224b2ad use async await in build 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
ebfea74cf7 make transpile parallel 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
cdd84502fa run prebuildLessCache on a thread 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
bab37eeda9 run transpileBabelPaths on a thread 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
6dc39006af run transpileCoffeeScriptPaths on a thread 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
cb41f48f51 run transpileCsonPaths on a thread 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
94897624f2 run transpilePackagesWithCustomTranspilerPaths on a thread 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
846b58336f run transpilePegJsPaths on a thread 2020-09-30 01:46:31 -05:00
Amin Yahyaabadi
28900612f1 don't set JOBS if already defined. 2020-09-30 01:46:30 -05:00
Amin Yahyaabadi
51b3a24d37 add option for showing version 2020-09-30 01:46:30 -05:00
Amin Yahyaabadi
6d4bd27cbd remove unnecessary env variable
It is not used in script-runner
2020-09-30 01:46:30 -05:00
Amin Yahyaabadi
db7005c41c update locks 2020-09-30 01:43:42 -05:00
Amin Yahyaabadi
5546bff4fc Merge branch 'master' into upstream_master 2020-09-30 01:37:15 -05: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
3baa299bf4
Merge pull request #190 from atom-ide-community/exclude-tests 2020-09-28 01:26:42 -05: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
Amin Yahyaabadi
29f3d28127 Merge branch 'master' into upstream_master 2020-09-26 14:52:21 -05: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
Amin Yahyaabadi
6cc06dc029 Cache script/script-runner/node_modules
Fixes https://github.com/atom-ide-community/atom/issues/183
2020-09-23 07:19:19 -05:00
Amin Yahyaabadi
b0820ffd74 Merge branch 'master' into upstream_master 2020-09-23 07:04:04 -05:00
Amin Yahyaabadi
203ddae682 fix process.env.CI 2020-09-19 06:23:45 -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
f2f8a1e8cf install the latest dpkg 2020-09-18 03:55:06 -05:00
Amin Yahyaabadi
f40ac60e45 use sudo instead of fakeroot if available
fakeroot is slower than sudo
2020-09-18 03:55:00 -05:00
Amin Yahyaabadi
9f91544ad7 linux deb: don't compress unless on release-branch 2020-09-18 03:54:36 -05:00
Amin Yahyaabadi
b72c9049f4 install vst/script deps on IsSignedZipBranch 2020-09-18 01:09:03 -05:00
Amin Yahyaabadi
f3e9434410 add core main timeout retry trigger 2020-09-17 19:51:47 -05:00
Amin Yahyaabadi
4da6c7f544 Merge branch 'master' into upstream_master 2020-09-17 19:44:28 -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
Amin Yahyaabadi
3b10e63204 createTestKey 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
44f7b43bbb retryOrFailTest 2020-09-17 18:46:28 -05:00
Sadick
86a7b38fa5
Merge pull request #21336 from atom/fix-typo
DependsOn windows_tests
2020-09-17 17:17:16 +03:00
sadick254
951efc40ec DependsOn windows_tests 2020-09-17 07:20:55 +03:00
Benjamin Gray
4d9241b9b3 remove lint caching 2020-09-17 11:18:53 +10:00
Benjamin Gray
19ef091441 fix template path 2020-09-17 11:14:44 +10:00
Benjamin Gray
4a619cdd6d fix ci invocation 2020-09-17 11:13:35 +10:00
Benjamin Gray
a44f440a36 add cache template 2020-09-17 11:13:12 +10:00
Benjamin Gray
278d490277 see if this caches 2020-09-17 10:58:48 +10:00
Benjamin Gray
323a3830b9 add Lint as release dependency 2020-09-17 10:56:30 +10:00
Benjamin Gray
d2391a0b65 lint the other locations too 2020-09-17 10:56:30 +10:00