1756 Commits

Author SHA1 Message Date
Sergio Padrino
6b696d6329 Use the new naming format for snapshots on macOS 2022-11-22 16:56:11 +01:00
Sadick
729daa2f0a Merge pull request #25694 from atom/fix-uploads
Remove dependancies.
2022-11-15 08:29:26 +03:00
sadick254
4decada54e Remove dependancies. 2022-11-15 08:27:44 +03:00
sadick254
3f66da9b6f Disable tests.
Due to the instability of atom's package api, we have the CI process
failing to install some packages. This failure is random and there is no
way to have consistent results.
2022-11-15 07:47:26 +03:00
sadick254
842125f291 Change to github refs 2022-10-28 09:10:28 +03:00
Sadick
2338a2897d upgrade to window-2019 (#25633) 2022-09-27 10:07:12 +03: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
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
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