Commit graph

59 commits

Author SHA1 Message Date
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
Asher
3851927396
Push latest v2 Docker image as well 2019-09-17 12:31:40 -05:00
Luca Casonato
b8c3d96fcd
Auto docker building and deploy in travis CI (#521)
* made spacing for travis yaml consistent in file

* cleaned up .travis.yml and moved some code into a script

* checking if i can get travis to build this

* travis

* fixed an if statement

* fixed travis.yml file

* replaced my name with codercom
2019-09-17 11:55:05 -05:00
Asher
a2ee6c8e73
Don't build on tags 2019-09-17 11:26:59 -05:00
Asher
7353be413c
Add missing VS Code version to git tag 2019-09-12 16:17:18 -05:00
Asher
398bc2ff41
Try travis_wait to fix long minify task in MacOS 2019-09-12 15:38:53 -05:00
Asher
ae1126d43f
Target VS Code 1.38.1 2019-09-12 12:49:28 -05:00
Asher
46d16811b9
Add missing VS Code version to release tag & name 2019-09-12 12:18:20 -05:00
Asher
da7d8b04a8
Update VS Code 2019-09-03 17:24:14 -05:00
Asher
b901043bfc
Target a recent commit for VS Code
This is so we can try out the web worker extension host.
2019-08-29 19:11:11 -05:00
Asher
ccc4f87ada
Don't package for release if we don't need to 2019-08-20 19:46:39 -05:00
Asher
ba7285192c
Update VS Code to 1.37.0 2019-08-09 19:23:41 -05:00
Asher
712274d912
Groundwork for language support
- Implement the localization service.
- Use the proper build process which generates the require JSON files.
- Implement getting the locale and language configuration.
2019-08-02 19:29:00 -05:00
Asher
9446cc8245
Update Dockerfile 2019-07-18 18:09:15 -05:00
Asher
2b2aa9a211
Add https server 2019-07-18 18:09:09 -05:00
Asher
54ffd1d351
Make extension sidebar work 2019-07-18 18:08:36 -05:00
Asher
5677ff2edf
Add build scripts 2019-07-18 18:08:27 -05:00
Asher
04adf14146
Move OSX package task into build script
This is to match how the other binaries are built. Also made some
changes to make the Docker containers clean up for when you are running
this locally.
2019-06-06 13:43:37 -05:00
Anmol Sethi
31503fc853
Fix macOS release 2019-05-02 12:23:17 -04:00
Anmol Sethi
bb5836ec61
Rename codercom/code-server to cdr/code-server 2019-05-02 11:25:50 -04:00
Kyle Carberry
e332882a88
Package only on darwin 2019-04-26 10:51:38 -05:00
Kyle Carberry
d0142e2536
Include version with target env 2019-04-26 10:29:12 -04:00
Kyle Carberry
e8c8fba91d
Add docker service 2019-04-26 10:00:15 -04:00
Kyle Carberry
a2e0638c6a
Add support for musl and centos 2019-04-26 09:56:14 -04:00
Asher
aabb2ecda7
Update node to 10.15.1 (#472)
* Update Node to 10.15.1

* Remove string replace that was used for oclif

* Update nbin

* Package node-pty and spdlog with nbin

* Label stderr/stdout from shared process

* Remove fork override

* Prevent "already disposed" errors when trying to kill disposed proxies

* Include spdlog dependencies

* Shim /node_modules

* Add node_modules to Docker ignore

It keeps using my already-built .node files which results in a
mismatching GLIBC version error.

* Update nbin
2019-04-15 19:48:12 -05:00
Asher
742dd6f597
Upgrade VS Code to 1.33.1 2019-04-12 16:10:45 -05:00
Asher
a1136b3a02
Update VS Code to 1.33.0 (#445)
* Update VS Code to 1.33.0

* Fix slow file tree

* Fix WindowsService fill

* Provide `off` on event listeners

* Fix webview

* Fix double title bar and missing preferences on Mac

* Bump VS Code version in Travis config

* Fix black dialog text (again)

* Fix shared process not starting
2019-04-05 18:49:29 -05:00
Kyle Carberry
dcf409aecb Improve CI caching (#416)
* Adjust linux distro to ubuntu 14.04

* Cache lib directory for speedy builds

* Fix path linking for default extensions

* Update reset

* Reset to head

* Improve caching

* Still run yarn in CI

* Update yarn before install

* Increase cache timeout

* Install vscode from vstar

* Undo data-dir changes to CLI, add back clean, remove unused CI func

* Remove additional flags added

* Remove unused dependency

* Reset vscode install dir so patching always works
2019-04-03 14:24:00 -05:00
Kyle Carberry
f058f90340
Place all envs in one line 2019-03-26 14:52:33 -04:00
Kyle Carberry
ca4b0346cb
Update versioning format 2019-03-26 14:38:38 -04:00
Anmol Sethi
3e9d86ee91 ci: enable travis npm cache (#110)
* ci: enable travis npm cache

* ci: upgrade travis version

Thanks @zerdos

* ci: switch to using yarn cache
2019-03-08 09:21:11 -08:00
Asher
36c05ed335 Feature/1.32.0 update (#117)
* Update VS Code to 1.32.0

* Update patch

Most changes are moved files, most notably shell.contribution.ts which
is now main.contribution.ts.

Also:
- repl.ts no longer uses isMacintosh
- shell.ts doesn't exist
- added back the commented-out CSP headers

* Use es6 target for bootstrap-fork

* Directly reference cross-env binary

yarn and npm find the binary just fine when running the tasks from the
root but it doesn't work if you run one of those tasks directly from
within those directories.

* Update import paths and bootstrap-fork ignores

* Increase memory limit for building default extensions

* Fix invalid regex in Firefox

* Update startup function

* Fix global.require error

* Update zip extract arguments

* Update travis to minimum required Node version

* Always chmod executable dependencies

Fixes EACCESS errors for users that had the files unpacked before we
added the chmod call.

* Remove unused var declaration
2019-03-08 08:37:03 -08:00
Asher
994531d8bb
Add task for packaging release (#6)
* Add task for packaging release

* Modify package task to package a single binary

This is so it can be used as part of the build/release script.

* Package release as part of Travis deploy

* Set platform env var

* Add arch env var

* Make version available to the code

* Use tar for Linux and zip for Mac & Windows
2019-03-06 18:15:52 -06:00
Kyle Carberry
8916cb9bb2
Update to vscode 1.31.1 (#45) 2019-03-06 11:10:23 -08:00
Kyle Carberry
4028e33529
Update travis.yml with new credentials 2019-03-05 05:20:57 +00:00
Kyle Carberry
379a5243fe
Update api key secret 2019-03-05 04:54:37 +00:00
Kyle Carberry
d48d72cb79
Filter out secrets in CI 2019-03-05 01:20:25 +00:00
Kyle Carberry
ef6369d62f
Add prerelease 2019-03-05 00:21:29 +00:00
Asher
50d642b98a
Disable Travis deploy 2019-03-04 13:55:22 -06:00