Commit Graph

97 Commits

Author SHA1 Message Date
Anmol Sethi
3e7582880e
Make CI faster 2020-05-06 23:15:30 -04:00
Anmol Sethi
1a375a44e0
Disable ARM64 releases as ARM on Travis is very unreliable 2020-05-06 20:32:11 -04:00
Anmol Sethi
be032cf735
Add NPM package, debs, rpms and refactor CI/build process
Closes many issues that I'll prune after adding more docs
for users.
2020-05-06 20:25:52 -04:00
Asher
87ebf03eb7
Skip vscode dependencies for test phase
They aren't used so we can skip them.
2020-03-27 13:40:42 -05:00
Asher
df1c34e291
Overwrite GitHub releases again
I was under the impression this was causing existing releases to become
drafts again but that happens without this flag.
2020-03-27 12:03:01 -05:00
Asher
4a65b58772
Fix arm builds 2020-03-27 12:02:56 -05:00
Asher
5bac2cbdb8
Add build test 2020-03-26 13:54:40 -05:00
Asher
f5f29c0120
Set GitHub token when installing VS Code deps
Should help with the ripgrep ratelimit issues.
2020-03-24 16:05:07 -05:00
Asher
8c515029fd
Don't overwrite releases
This makes them drafts again which is not what I wanted.
2020-03-05 11:18:05 -06:00
Asher
7c65a54fcf
Overwrite releases 2020-03-04 16:41:05 -06:00
Asher
3e8a6f93a4
Build arm64 without travis_wait 2020-03-04 14:18:05 -06:00
Asher
cc139acfd1
Cache built-in extensions 2020-03-03 17:04:42 -06:00
Asher
ec55ed39ee
Fix json key decoding on Mac
It seems the short flag in MacOS is -D, not -d. The long flag is the
same. There are no other options with -d so I'm not sure why.
2020-03-03 16:01:22 -06:00
Asher
538e8d8085
Store gcs key in Travis settings
Instead of encrypted in the repository.
2020-03-03 15:06:36 -06:00
Asher
fd65cadaea
Upload into releases directory 2020-02-27 11:21:40 -06:00
Asher
75ca5b2b0b
Add gcs upload to CI 2020-02-26 14:25:14 -06:00
Anmol Sethi
a065c12e83
CI Fixes 2020-02-18 23:31:40 -05:00
Anmol Sethi
5681c87e33
Fix bugs in CI 2020-02-18 19:06:35 -05:00
Anmol Sethi
1a91588c42
Add docker image pushing 2020-02-18 13:28:13 -05:00
Anmol Sethi
eb3cf303ad
Add back travis since github actions is trash 2020-02-18 11:32:57 -05:00
Anmol Sethi
80b1b1b672
Shake CI and docs up 2020-02-14 19:46:17 -05:00
Anmol Sethi
108eb297d8
Revert "Decomission Travis" 2020-02-04 11:35:19 -06:00
Ayane Satomi
5f562dc113
Decomission Travis
We won't need Travis from now on since it's only purpose is to do Mac builds, which no one uses anymore.
2020-02-04 20:43:54 +08:00
Asher
66ee6e8201
Ignore 32 bit arm failures for now
Seems we are running out of memory.
2020-01-15 13:48:27 -06:00
Asher
174cb2f8a9
Remove unused Docker step from CI script 2020-01-15 13:22:42 -06:00
Asher
42bddce21f
Add defaults for environment variables
So we don't have to keep setting them for each CI and every single step
since there doesn't seem to be a way to share them between steps in
Drone.
2020-01-15 13:21:58 -06:00
Asher
6dd5e515c5
Travis release on tags only and remove Docker push
The manual tagging is necessary to sync up the releases of the two
different CIs.
2020-01-15 13:21:55 -06:00
Asher
92da02ef3e
Add Drone CI caching 2020-01-15 13:20:58 -06:00
Ayane Satomi
3ce7129492 Drone CI migration (#1261) 2020-01-15 13:14:05 -06:00
Asher
336ee28888
Update Node to 12.14.0 2020-01-08 16:30:44 -06:00
Asher
1087037728
Don't push latest and v2 Docker tags automatically
We should only push those when the version is confirmed to work.
2020-01-08 15:05:12 -06:00
Asher
1959d82912
Increase cache timeout
The Mac build seems to be terminated due to a timeout during the caching
stage.
2020-01-08 13:20:50 -06:00
Asher
8024144381
Update VS Code to 1.41.1 2020-01-07 18:27:41 -06:00
Asher
e6d1f2a7c8
Update VS Code to 1.41.0 2019-12-16 16:52:29 -06:00
Asher
cd859d117f
Start pushing to latest Docker tag 2019-10-29 11:04:38 -05:00
Asher
168ccb0dfc
Prevent cache changes when patch updates 2019-10-25 13:12:04 -05:00
Asher
ff99a1d768
Add security section to readme
See #1062.
2019-10-23 11:49:17 -05:00
Asher
7f07b8f66c
Push Docker using Linux build
Instead of doing a separate redundant build. The main problem was that
the files weren't being cached. There is probably a better way of
solving this but this seems to be the simplest for now.
2019-10-22 18:43:21 -05:00
Asher
82e2b8a169
Move source to its own directory
This matches how the rest of the build is organized but also hopefully
solves an issue where the VS Code directory is empty because we try to
cache it directly and Travis might be creating it.
2019-10-21 11:16:47 -05:00
Asher
5aa2abaf9f
Cache VS Code in CI 2019-10-21 11:06:09 -05:00
Asher
bdd11f741b
Update to 1.39.2
Also too the opportunity to rewrite the build script since there was a
change in the build steps (mainly how the product JSON is inserted) and
to get the build changes out of the patch. It also no longer relies on
external caching (we'll want to do this within CI instead).
2019-10-18 18:20:02 -05:00
Asher
42f7b5d12b
Still using the wrong tag for Docker 2019-09-17 15:25:17 -05:00
Asher
53818b0e36
Use conditional instead of inline if 2019-09-17 15:12:58 -05:00
Asher
6f08b13540
Fix 404 when logging into Docker 2019-09-17 14:59:01 -05:00
Asher
d36526b1c8
Move DOCKER_BUILD check into deploy script 2019-09-17 14:45:03 -05:00
Asher
1252eb6a8a
Don't use a sequence for Docker deploy
Travis deploy scripts can't be sequences yet.
2019-09-17 14:39:21 -05:00
Asher
4733c31a2f
Fix incorrect Docker tag 2019-09-17 14:21:23 -05:00
Asher
17c5173d8b
Use --build-arg for GitHub token 2019-09-17 14:00:51 -05:00
Asher
d0a08f6dd7
Pass GITHUB_TOKEN through to Docker build
Also, back to drafts.
2019-09-17 13:42:14 -05:00
Asher
7b5d6d186b
Fix some CI issues
- Don't error if trying to tag and the tag already exists.
- Add the build arguments to the Docker build.
- Set an environment variable for the Docker build rather than using
- the username because the username always exists (on master anyway).
2019-09-17 13:17:38 -05:00