Archived
1
0
Commit Graph

56 Commits

Author SHA1 Message Date
Joe Previte
c51ff3bce1
refactor: move integration tests to Jest ()
* feat: add installExtension integration test

This adds a new helper function called `runCodeServerCommand` along with
a test for `--install-extension`. We can use this approach for writing
integration tests (i.e. testing a real code-server build, CLI commands,
etc).

* refactor: s/ test:standalone with test:integration

This replaces our integration approach to use Jest instead of a single
bash script. By doing this, we will be able to easily maintain and add
to our integration test suite.

* refactor: filter unit tests

Now that our integration tests also use Jest, we need to update our unit
test script to ignore `test/integration`.

* refactor: add SKIP_SUBMODULE_DEPS to postinstall

* refactor: add SKIP_SUBMODULE_DEPS to postinstall

* fixup!: skip submod deps

* refactor: move runCodeServerCommand into sep. file

When Jest runs a test, it loads all the files and imports for that test.
This means you might be "requiring" code that's unrelated to your tests.

This leads to unexpected errors depending on where the code runs.

Moved this file to avoid GLIBC and other errors relaed to argon2 when
running integration tests in CI.

* fizup: formatting

* fizup: increase timeout

* refactor: use fixture in installExtension test

Instead of relying on a network to install an extension, we use a
fixture - vsix file in the repo. This is also faster.

* feat: add integration test for listExtensions

* chore: ignore integration fixtures

* fixup: formatting

* fixup: remove custom-hacks.css

* fixup: formatting

* Update test/integration/installExtension.test.ts

Co-authored-by: Asher <ash@coder.com>

* Update test/integration/listExtensions.test.ts

Co-authored-by: Asher <ash@coder.com>

* Update test/integration/installExtension.test.ts

Co-authored-by: Asher <ash@coder.com>

* Update test/integration/listExtensions.test.ts

Co-authored-by: Asher <ash@coder.com>

* fixup: contributing integration tests section

* fixup: update ci/readme

* fixup: use RELEASE_PATH in test-integration.sh

* refactor: unzip vsix for listExtensions

* refactor: use exec instead of spawn

* Update docs/CONTRIBUTING.md

Co-authored-by: Asher <ash@coder.com>

* Update test/integration/listExtensions.test.ts

Co-authored-by: Asher <ash@coder.com>

* Update test/integration/listExtensions.test.ts

Co-authored-by: Asher <ash@coder.com>

* Update test/integration/listExtensions.test.ts

Co-authored-by: Asher <ash@coder.com>

* refactor: use different default binary path

* fixup!: formatting

Co-authored-by: Asher <ash@coder.com>
2022-06-24 16:33:38 +00:00
Akash Satheesan
93c89ba0e8
fix(ci): build+push image in release flow () 2021-07-29 23:31:46 +05:30
Akash Satheesan
857c62ae1d
chore: yarn fmt + changelog 2021-06-01 16:34:16 -07:00
Prashant168
7dfd3676c1
docs: remove "Publishing A Release" from ci/README.md
Deleted "Publishing A Release" section from the readme.md file in the 'ci'
folder and then pasting the section in 'Maintaining.md'
2021-06-01 16:33:52 -07:00
Akash Satheesan
1ccf69f731
chore: cross-compile docker images with buildx () 2021-05-28 16:51:41 +00:00
Joe Previte
2438fb307c
fix: use next version in changelog 2021-05-14 16:09:30 -07:00
Joe Previte
eb82054357
docs: update publishing a release process 2021-05-14 16:09:06 -07:00
Joe Previte
9d5f05efaf
refactor: remove old coverage shield workflow 2021-04-26 14:11:10 -07:00
Akash Satheesan
724ee93e81
chore(ci): migrate from hub to gh () 2021-04-20 02:21:33 +05:30
Joe Previte
a8858ea9fc
docs(ci): update step 1 of publish release 2021-03-24 17:51:06 -07:00
Joe Previte
529d69e8e8
refactor: add scripts to separate unit, e2e tests 2021-03-12 12:00:56 -07:00
Joe Previte
696e0fbb14
docs(ci): add step for updating docs shield 2021-03-02 15:43:49 -07:00
Joe Previte
99af11ecc3
docs: add homebrew bump to release steps 2021-02-25 16:51:43 -07:00
Joe Previte
0e3d1265d0
docs(ci): update release 2021-02-12 16:22:32 -07:00
Joe Previte
a5ac1cce83
docs(ci): update code coverage instructions 2021-02-12 16:22:32 -07:00
Joe Previte
55c916a987
docs: update release doc with rg instructions 2021-02-05 14:10:27 -07:00
Joe Previte
4756257207
refactor: rename doc to docs 2021-02-03 09:46:35 -07:00
Joe Previte
3044224729
feat: add support for code coverage shield 2021-01-25 16:21:07 -07:00
Anmol Sethi
de112b15ed
clean.sh: Do not reset lib/vscode
Now that we've moved to the submodule, there is no need to reset changes
in there :)

cc @jsjoeio
2020-12-18 11:52:08 -05:00
Anmol Sethi
386af14a77
ci/README: Document command used to find stale version 2020-12-18 04:01:25 -05:00
Joe Previte
e391f68fcd
docs: update workflow and remove yarn vscode 2020-12-16 11:48:43 -07:00
Anmol Sethi
ebe4d7ef29
Revamp icons ()
I took our website's SVG favicon and plopped it on a round
white rectangle in Affinity Designer. The I exported it as an SVG and
wrote a script that uses imagemagick to convert to the various sizes and
formats we need.

Closes 
2020-11-30 19:11:26 -05:00
Anmol Sethi
a0db6723c1
v3.7.2 2020-11-19 17:28:22 -05:00
Anmol Sethi
9917da068a
v3.7.0 2020-11-16 11:11:50 -05:00
Anmol Sethi
35a2d71b67
Minor release process fixes () 2020-09-03 02:16:57 -04:00
Anmol Sethi
022a2e0860
Merge branch 'docs' 2020-06-04 16:47:36 -04:00
Anmol Sethi
bd2e55dcf3
Make README more clear 2020-06-04 16:47:27 -04:00
Anmol Sethi
48f7c27248
v3.4.1 2020-06-04 06:24:24 -04:00
Anmol Sethi
e2789608b2
Fix autoupdates for Darwin 2020-06-03 15:45:17 -04:00
Anmol Sethi
5815b4a0c0
Rename dev/container -> dev/image 2020-06-03 15:45:16 -04:00
Anmol Sethi
bdb670e852
Rename container and release-container to images and release-image 2020-06-03 15:45:16 -04:00
Anmol Sethi
69ad52907e
v3.4.0 2020-05-27 19:21:15 -04:00
Anmol Sethi
f71d8875d0
Rename binary release to standalone 2020-05-27 16:39:17 -04:00
Anmol Sethi
fa45fd0e31
Rename static releases to binary releases
More clear as discussed in PR.
2020-05-27 15:57:18 -04:00
Anmol Sethi
3b11733bd8
Add auto install script 2020-05-27 15:48:22 -04:00
Anmol Sethi
0d207f4f9a
Update AUR docs
Closes 
2020-05-20 09:21:22 -04:00
Anmol Sethi
6f1309795e
Rebuild all node_modules on npm install
Stuff like ripgrep needs to be refetched so we cannot bundle
node_modules at all.
2020-05-18 21:37:16 -04:00
Anmol Sethi
47d50c9163
Downgrade CI to Debian 8 for glibc 2.19
Closes 
2020-05-18 00:38:55 -04:00
Anmol Sethi
e0dbd8f74a
Rename self contained release to static release 2020-05-17 16:59:09 -04:00
Anmol Sethi
6a25b3bfa0
Document structure better
Closes 
2020-05-17 16:53:08 -04:00
Anmol Sethi
aee2599904
Push docker manifest in CI for multi arch image 2020-05-16 16:59:26 -04:00
Anmol Sethi
0bd2602774
3.3.0 2020-05-14 18:43:01 -04:00
Anmol Sethi
a0a77e379e
Add doc/guide.md 2020-05-14 05:24:23 -04:00
Anmol Sethi
b3ae4d67d3
Hide bundled node_modules to prevent them from being ignored 2020-05-13 04:17:34 -04:00
Anmol Sethi
1739b21600
Bundle VS Code node_modules to avoid yarn dependency
Many random bizarre issues otherwise.

Also includes misc improvements to docs and scripts.
2020-05-13 02:35:11 -04:00
Anmol Sethi
502c262c82
Mention update of versions in README install examples 2020-05-12 21:26:37 -04:00
Anmol Sethi
4aae5eaeca
CI fixes
- Splits up test into fmt, lint and test
- Fixes bug in build-packages.sh
- Minor README.md fixes
2020-05-12 21:26:36 -04:00
Anmol Sethi
28edf4af2e
Add systemd user service to .deb and .rpm 2020-05-12 19:59:54 -04:00
Anmol Sethi
169f8c67fe
Automate draft release 2020-05-11 20:59:56 -04:00
Anmol Sethi
7c7f62d3f3
Fixes for CI from @code-asher's review 2020-05-08 16:45:59 -04:00