Jason Rudolph
44f0a0175b
Remove CircleCI configuration
2018-08-06 09:39:59 -04:00
David Wilson
8b95226e3c
Fix syntax error
2018-08-02 13:31:08 -07:00
David Wilson
263394f450
Fix asset globbing in publish-release script
2018-08-02 12:59:08 -07:00
David Wilson
8ba93a7215
Add itemPattern and downloadType params to artifact download task
2018-08-02 11:27:19 -07:00
David Wilson
f73fb63701
Enable IS_RELEASE_BRANCH and IS_SIGNED_ZIP_BRANCH to be overridden
2018-08-02 10:26:49 -07:00
David Wilson
e4e04cb074
Fix build artifact downloads in production builds
2018-08-02 10:24:36 -07:00
David Wilson
52d6d43485
Move artifact upload condition for IsSignedZipBranch
2018-08-02 09:41:15 -07:00
David Wilson
480ae959b4
Use Build.BuildId for master S3 artifact path
2018-08-02 08:59:25 -07:00
David Wilson
cf79c545c8
Change Atom.RunTests to Atom.SkipTests to not require it in build defs
2018-08-02 07:24:46 -07:00
David Wilson
8f006cab61
Add check for Atom.RunTests variable to make it easy to skip CI tests
2018-08-02 06:55:30 -07:00
David Wilson
d2ed1d4bbd
Fix broken logic for IsReleaseBranch
2018-08-02 06:45:46 -07:00
David Wilson
167de057b4
Compress artifacts on Windows PR builds
2018-08-01 20:38:07 -07:00
David Wilson
059dc29135
Improve logic in macos.yml for deciding when to code sign macOS builds
2018-08-01 19:54:23 -07:00
David Wilson
fb0bbd9832
Fix wrong VSTS variable name
2018-08-01 18:52:27 -07:00
David Wilson
be99688094
Use quotes on env variable values coming from VSTS
2018-08-01 18:52:18 -07:00
David Wilson
1d5c71ef7f
Disable branch builds for Pull Requests build definition
2018-08-01 17:41:14 -07:00
David Wilson
9ecb284737
Fix wrong variable name
2018-08-01 17:40:52 -07:00
David Wilson
c1eba502c3
Enable S3 artifact uploads for builds on master
2018-08-01 17:35:58 -07:00
David Wilson
ff2409f10e
Only use --code-sign parameter on macOS if env variables are set
2018-08-01 14:46:01 -07:00
David Wilson
e64bd40ff5
More windows.yml syntax fixes
2018-08-01 14:35:09 -07:00
David Wilson
fefb1f2ed0
Fix syntax error in windows.yml when referencing environment variables
2018-08-01 11:40:02 -07:00
David Wilson
668e25a504
Add Pull Request build configuration for VSTS
2018-08-01 11:26:46 -07:00
David Wilson
20f6a2d8db
Move over some build logic from appveyor.yml
2018-08-01 11:20:30 -07:00
David Wilson
aa4efbb3d6
Disable Windows release build on VSTS until issues are fixed
2018-08-01 08:58:39 -07:00
David Wilson
12bb7cdb22
Merge pull request #17749 from atom/dw-vsts-release-builds
...
Create release branch build definition for VSTS
2018-08-01 08:03:39 -07:00
David Wilson
61830f598a
Add master branch as a trigger for Atom Production Builds on VSTS
2018-08-01 07:13:24 -07:00
David Wilson
c25420b5c7
Rename stable-beta-release.yml to release-branch-build.yml
2018-08-01 06:58:59 -07:00
David Wilson
388727a394
Remove unneeded CopyFiles task in Windows build
2018-08-01 06:58:29 -07:00
Max Brunsfeld
22eb011ec0
⬆️ language-javascript, language-typescript
2018-07-31 20:17:18 -07:00
David Wilson
13e2a8f033
Re-enable CI tests on all three platforms
2018-07-31 16:56:46 -07:00
David Wilson
fe55686b36
Upload atom-api.json as a build artifact on macOS
2018-07-30 14:12:26 -07:00
Ash Wilson
6e2fb6296a
Use npm 6.1.0 in script/
2018-07-30 14:49:13 -04:00
David Wilson
064cdfaed0
Go back to uploading our own ZIP files for macOS
2018-07-27 07:34:04 -07:00
David Wilson
4205c6abb0
Use a plain copy script instead of CopyFiles task
2018-07-27 06:10:04 -07:00
David Wilson
fe414b9027
Argh VSTS CopyFiles bug...
2018-07-26 14:56:48 -07:00
David Wilson
d5ef836ae5
Fix YAML syntax issue
2018-07-26 14:19:33 -07:00
David Wilson
9c093d168c
Fix issues publishing macOS artifacts
2018-07-26 14:16:22 -07:00
David Wilson
9b081255aa
Publish artifact files directly into output zips to avoid double-zipping
2018-07-26 13:06:50 -07:00
David Wilson
18f4e73488
Temporarily disable tests to speed up builds for artifact testing
2018-07-26 12:13:14 -07:00
David Wilson
3b4fe05155
Upload release assets as individual build artifacts
2018-07-26 12:12:36 -07:00
David Wilson
74fa920b31
Add 'yargs' dependency to vsts script folder
2018-07-26 10:52:00 -07:00
David Wilson
be3077a88c
Rename generate-version.js to get-release-version.js
2018-07-26 10:41:52 -07:00
David Wilson
6861d68f81
Consolidate release version logic
2018-07-26 10:40:16 -07:00
David Wilson
5330c5db95
Move OS-specific configurations into 'platforms' folder
2018-07-26 10:27:08 -07:00
David Wilson
44c9a27742
Split release assets into OS-specific artifacts
2018-07-26 10:22:30 -07:00
David Wilson
bdfd609821
Move branch wildcard to the end of the string
2018-07-26 08:25:16 -07:00
David Wilson
87b9805a55
Quote branch trigger string starting with *
2018-07-26 07:54:46 -07:00
David Wilson
0910d72af1
Simplify branch wildcard
2018-07-26 07:49:47 -07:00
David Wilson
6b783cd42e
Release branches are suffixed with "releases", yo
2018-07-26 07:36:07 -07:00
David Wilson
c293c43997
Add GetReleaseVersion step to set ReleaseVersion variable
2018-07-26 07:31:34 -07:00
David Wilson
7d3ab82fec
Create stable and beta release build definition for VSTS
2018-07-26 07:03:16 -07:00
Ash Wilson
ddde4f9c00
Merge branch 'master' of github.com:atom/atom into aw/apm-up
2018-07-23 08:40:33 -04:00
David Wilson
85dfb15e97
Use computed version when cleaning up nupkg files in Windows build
2018-07-20 16:29:01 -07:00
David Wilson
3904ff04b8
Disable delta nupkg generation for Windows nightly releases
2018-07-20 16:28:24 -07:00
Ash Wilson
c6a1ffedf0
Merge branch 'master' of github.com:atom/atom into aw/apm-up
2018-07-16 10:12:23 -04:00
Ash Wilson
e3e8bbb7d4
package-locks ahoy
2018-07-16 09:55:51 -04:00
Ash Wilson
b369a971e1
Don't clean package-lock.json files any more
2018-07-16 09:47:58 -04:00
David Wilson
8c3e36d56f
Merge pull request #17680 from atom/dw-consistent-app-name
...
Use a consistent app naming strategy across non-stable channels
2018-07-12 14:46:34 -07:00
David Wilson
de93396af7
👕 Make the linter happy
2018-07-12 11:06:26 -07:00
David Wilson
bf9fac27cf
Use a consistent app naming strategy across non-stable channels
2018-07-12 10:14:15 -07:00
Lee Dohm
f759bed882
Don't delete the package-lock.json in /script/vsts
2018-07-11 19:54:29 -07:00
David Wilson
3109958dc1
Revert "Try possible fix for broken GitHub package tests"
...
This reverts commit 3046f689be
.
2018-07-11 06:11:43 -07:00
David Wilson
3046f689be
Try possible fix for broken GitHub package tests
2018-07-10 12:55:55 -07:00
David Wilson
bea3267697
Simplify atom-x64 nupkg path generation
2018-07-09 16:16:30 -07:00
David Wilson
fa326a0a07
Minor tweaks to build documentation
2018-07-09 16:04:15 -07:00
David Wilson
7b711cda5e
Add documentation for Atom Nightly build process
2018-07-09 15:59:29 -07:00
David Wilson
49b9b9efeb
Write error to stderr if publishing release fails
2018-07-09 15:51:32 -07:00
David Wilson
0d0db817eb
Remove queue setting in nightly build
2018-07-06 17:10:09 -07:00
David Wilson
e91030ffcd
Set timeout of 180 minutes on nightly build
2018-07-06 17:03:02 -07:00
David Wilson
f1c7ddf740
🔥 script/lib/create-github-release.js
2018-07-06 16:07:24 -07:00
David Wilson
4527a44315
Merge branch 'master' into dw-nightly-releases
2018-07-06 16:06:24 -07:00
David Wilson
5917800fb9
Add CI_PROVIDER env variable to test tasks
2018-07-06 16:04:29 -07:00
David Wilson
7750b8c7f0
Re-enable macOS VSTS CI tests
2018-07-06 16:04:29 -07:00
David Wilson
5634a6447a
Re-enable Windows and Linux tests on VSTS
2018-06-30 11:26:13 -07:00
David Wilson
0c364d0438
Don't change Atom app name on dev channel
2018-06-29 16:31:12 -07:00
Max Brunsfeld
e7c6a8f085
Clear electron-link's snapshot cache in script/clean
2018-06-29 12:31:09 -07:00
David Wilson
8e3d1f431f
Use Node.js 8.9.3 in VSTS builds
2018-06-28 13:01:55 -07:00
David Wilson
067bd1a751
Temporarily disable Atom tests on VSTS
2018-06-28 13:00:31 -07:00
David Wilson
ff0cd4c6ed
Use atom.io update endpoint for Windows installer builds
2018-06-28 12:54:06 -07:00
David Wilson
9669a9bbfb
Update app title and file paths to use channel name
2018-06-28 12:52:39 -07:00
David Wilson
ed48f2d1f7
Generate nightly build version from package.json
2018-06-26 10:46:49 -07:00
David Wilson
a5a8727b0b
Upload release assets to S3 in script/publish-release
2018-06-26 10:45:11 -07:00
David Wilson
9388a7813e
Simplify channel name detection
2018-06-26 10:45:10 -07:00
David Wilson
34e37f3159
Enable automated nightly Atom releases
...
This change adds automation for producing nightly Atom releases using
VSTS CI. Most of the changes are just slight modifications to Atom's
existing build scripts to produce another build channel and publish
those artifacts in a way that can be installed and updated when new
releases are available.
2018-06-18 21:01:19 -07:00
Thomas Johansen
5072e4b54f
Remove decompress-zip
from the snapshot blacklist
2018-06-06 23:30:20 +02:00
Thomas Johansen
fcb8ca7441
Add yauzl
to the snapshot blacklist
2018-06-06 22:29:55 +02:00
David Wilson
a18a239c54
⬆️ electron-link
2018-06-06 09:40:30 -07:00
Landon Abney
064fcce3f6
Merge pull request #17057 from atom/la/generate-api-docs
...
Add --generate-api-docs to build script
2018-06-01 10:55:07 -07:00
Landon Abney
5e49917c56
Wrap binariesPromise handling in an if
...
Instead of forcing an immediate exit with process.exit(), wrap the
handling of binariesPromise in an `if` statement, allowing the script to
exit on its own if passed the new option.
2018-06-01 09:31:03 -07:00
Landon Abney
bb7046830a
Revert moving of dependencies
...
This change isn't necessary for adding the option.
2018-06-01 09:29:29 -07:00
Ash Wilson
cdd433a954
Overeager glob
2018-05-07 12:53:31 -04:00
Jason Rudolph
28c8267cf7
⬆️ electron-chromedriver2.0 & electron-mksnapshot@2.0
2018-05-04 11:44:56 -04:00
Landon Abney
53ef5ca4cc
Add --generate-api-docs to build script
...
Add a new option `--generate-api-docs` that changes the build script to
only do what is required to build the API documentation, skipping the
process of building the full Atom binaries.
2018-03-30 13:10:32 -07:00
Antonio Scandurra
e1e93c08b8
Exclude modules required from xregexp-all.js
...
This file is already "browserified", meaning that it should be fine to
embed it verbatim inside the snapshot. The errors observed in e.g.
https://circleci.com/gh/atom/atom/7139 were in fact caused by trying to
process xregexp's already "browserified" modules again using
electron-link.
2018-03-13 10:06:19 +01:00
Antonio Scandurra
19087d0c67
⬆️ electron-link
2018-03-13 10:02:35 +01:00
Max Brunsfeld
74ea91ab2e
Fix snapshot blacklist for request module
2018-02-22 13:26:56 -08:00
Will Binns-Smith
e9d4163899
Replace csslint with stylelint ( #16803 )
2018-02-21 16:20:20 -08:00
Ash Wilson
9dd40256e9
⬆️ tello
2018-02-18 22:20:55 -08:00
Antonio Scandurra
86c3712520
Don't transpile JS files found in benchmarks, exports and src folders
2018-01-19 09:43:55 +01:00
Damien Guard
9a3585fc44
:arrow-up: electron-winstaller
2018-01-17 15:37:12 -08:00
Moritz
cef511c5d2
Link spec for finding icon dir in install script
...
This is a follow up for #15498
2018-01-13 01:53:19 +01:00
Damien Guard
61df0bd6d9
No longer used on appveyor
2018-01-12 15:24:21 -08:00
David Wilson
2cb66ae9e1
Merge pull request #15498 from MoritzKn/refactor-install-script
...
Refactor install script for linux (install dev channel parallel, use icon themes)
2018-01-10 10:50:23 -08:00
Wliu
cd84216f11
Merge branch 'master' into wl-rm-safe-clipboard
2018-01-09 21:39:04 -05:00
Michelle Tilley
233e519007
Add winreg to snapshot ignore list
2018-01-09 11:52:18 -08:00
Lee Dohm
d265bef8f2
Merge pull request #16493 from atom/clean-package-lock
...
Remove unused package-lock.json files before building
2018-01-07 19:26:39 -08:00
Wliu
a1668fc953
Remove old clipboard workaround on Linux
2018-01-04 20:59:32 -05:00
lee-dohm
1aeff19eab
Forgot to check in the require
2018-01-04 13:02:21 -08:00
lee-dohm
fa96a90e12
Remove unused package-lock.json files before building
2018-01-04 12:54:42 -08:00
Max Brunsfeld
7aac32e915
Merge branch 'master' into mb-tree-sitter-parsers
2018-01-04 12:13:30 -08:00
Max Brunsfeld
75b4a7a984
⬆️ joanna, put back AtomEnvironment public property docs
2018-01-04 12:12:43 -08:00
Max Brunsfeld
2fa3b65364
Merge branch 'master' into mb-tree-sitter-parsers
2018-01-03 15:20:10 -08:00
Nathan Sobo
aeb8db2e14
Don't snapshot lodash.isequal because it builds an ArrayBuffer on eval
...
This won't work until v8 6.2.
2017-12-21 10:10:12 -07:00
Nathan Sobo
b11b0b9f9f
Disable inline caches during snapshot generation to work around crash
2017-12-21 09:59:59 -07:00
Max Brunsfeld
28edfb5b0a
Exclude tree-sitter's main JS file from the startup snapshot
2017-11-30 09:31:08 -08:00
Ian Olsen
b54655e41d
⬆️ electron@1.7.9
2017-11-27 20:18:45 -07:00
Steven Hobson-Campbell
bbb331e1f7
Merge remote-tracking branch 'upstream/master' into tests
2017-10-25 14:14:12 -07:00
Wliu
9fcc6a9bce
Use endsWith to match modules to exclude from the snapshot
2017-10-20 01:27:15 +02:00
Antonio Scandurra
3f0f72ad0b
⬆️ electron-link
...
This fixes the DevTools slowness we were observing in Atom. For more
information, see 7f5555c33e
.
2017-10-10 12:41:02 +02:00
Damien Guard
c698576c8f
Remove test*.html from packaged app output
2017-10-06 10:43:01 -07:00
Antonio Scandurra
1ca49d8f17
Move random-seed into script/package.json
...
...so that it doesn't get included in the final application bundle.
2017-10-05 13:51:26 +02:00
Max Brunsfeld
07614b3b38
Update git-utils main path in startup snapshot blacklist
2017-09-27 12:36:51 -07:00
Damien Guard
3aa27a6256
⬆️ electron-winstaller
2017-09-14 23:45:37 -07:00
Max Brunsfeld
07c3c6ea2d
Use the Atom Beta executable to verify startup snapshots when building Beta
2017-09-11 09:47:02 -07:00
Wliu
1a4e6c4c85
Merge pull request #15603 from jsoref/spelling
...
Spelling
2017-09-10 18:29:38 +02:00
Josh Soref
a5e3dfc802
spelling: version
2017-09-10 15:46:41 +00:00
Josh Soref
0e7739a026
spelling: package
2017-09-10 15:46:40 +00:00
Steven
80c81b9e03
PR feedback
2017-09-08 15:56:48 -07:00
Antonio Scandurra
8c8d6f7ce4
🔥 Delete unused require
2017-09-06 11:28:19 +02:00
Antonio Scandurra
2050f58a0e
Don't override process.env
variables
2017-09-06 11:08:58 +02:00
Antonio Scandurra
15d988d441
Use the Node version bundled in Electron to verify snapshot script
...
Previously, we used to verify the snapshot script by running it in a
new, empty context (similar to the one that `mksnapshot` creates when
generating the startup blob).
However, this context was being created using the Node version that
`script/build` was executed with. Such version may not match the Node
version shipped with Electron, and could thus cause the build script to
report "false negatives" when verifying the snapshot script. For
instance, running `script/build` with Node 4 would cause it to throw an
error when encountering keywords like `async`/`await`, even if they're
100% supported in Electron 1.6.9.
With this commit we are changing the snapshot verification code to use
the Node version bundled in Electron in order to avoid the
aforementioned mismatches.
2017-09-06 11:02:54 +02:00
Steven Hobson-Campbell
18087ff48c
Merge branch 'master' of https://github.com/atom/atom into tests
2017-09-05 17:58:56 -07:00
Steven Hobson-Campbell
f00bc1e1ad
Switching from minimist -> yargs
2017-09-05 17:58:36 -07:00
MoritzKn
a36ec5d530
Add force icon update to install script
...
This prevents possible issues with icons not loading immediately
2017-08-30 06:30:12 +02:00
MoritzKn
6d2a90604a
Install icons to enable alternative icon themes (linux)
...
The xdg desktop file specification allows for icons to be either a
absolute path just a name. If the name is not an absolute path,
a icon from a icon theme will be used. This commit changes the
desktop file to use a icon name and adds the icons to the default
theme (hicolor). This allows the user to choose an alternative icons
theme that will override the default icon.
The relevant specs:
https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
> Icon to display in file manager, menus, etc. If the name is an
> absolute path, the given file will be used. If the name is not
> an absolute path, the algorithm described in the Icon Theme
> Specification will be used to locate the icon.
https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s07.html
> Installing Application Icons: [...] Minimally you should install a
> 48x48 icon in the hicolor theme. This means installing a PNG file
> in $prefix/share/icons/hicolor/48x48/apps.
https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s03.html
> Icons and themes are looked for in a set of directories. By
> default, apps should look in $HOME/.icons (for backwards
> compatibility), in $XDG_DATA_DIRS/icons and in
> /usr/share/pixmaps (in that order).
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables
> $XDG_DATA_DIRS defines the preference-ordered set of base
> directories to search for data files in addition to the $XDG_DATA_HOME
> base directory. The directories in $XDG_DATA_DIRS should be
> seperated with a colon ':'.
> If $XDG_DATA_DIRS is either not set or empty, a value equal to
> /usr/local/share/:/usr/share/ should be used.
2017-08-30 05:14:45 +02:00
MoritzKn
e99b57a492
Change install script to install dev channel separately
2017-08-30 05:14:20 +02:00
MoritzKn
685255e688
Divide install script in blocks
2017-08-30 05:14:20 +02:00
MoritzKn
74f9249eae
Use icon from installationDir in xdg desktop file
2017-08-30 05:14:20 +02:00
MoritzKn
2062c01ca4
Remove duplicate code in install script
2017-08-30 05:14:14 +02:00
Ian Olsen
b18ca74e49
put everything else back
2017-08-29 16:29:45 -07:00
Ian Olsen
09e98fe944
just libs and debugger files
2017-08-29 15:52:11 -07:00
Ian Olsen
9eca8ff4aa
even more conservative
2017-08-29 15:30:51 -07:00
Ian Olsen
c7dcbeb0da
put libgit2 back
2017-08-29 15:04:58 -07:00
Ian Olsen
c4d4ef0209
next guess
2017-08-29 14:48:51 -07:00
Ian Olsen
a0ebc21893
indentation fix for linter
2017-08-29 14:11:31 -07:00
Ian Olsen
d42326ea09
first guess
2017-08-29 14:00:26 -07:00
Ian Olsen
433bc6d874
baseline from Paul's changes
2017-08-29 13:33:09 -07:00
Max Brunsfeld
514952614e
Replace runas with fs-admin in install-application script
2017-08-25 14:18:26 -07:00
Steven Hobson-Campbell
59f6065e9b
Adding option to skip main process tests. Cleaning up resources in tests.
2017-08-22 19:09:52 -07:00
Ian Olsen
e8251bdb97
Revert "Remove unneeded files from build result"
2017-08-17 13:49:25 -07:00