Archived
1
0
Commit Graph

210 Commits

Author SHA1 Message Date
1ed536bde9 fix: pattern for lint ts files 2022-09-22 10:39:46 -07:00
91fdc7e2a4 fixup!: remove typecheck step 2022-09-22 10:32:00 -07:00
33163e84c8 fixup!: use apk for lint scripts 2022-09-22 10:26:37 -07:00
5a6d4862fb fixup!: move lint-sh to scripts.yaml 2022-09-22 10:21:41 -07:00
c57dfe5131 refactor: scripts.yml -> scripts.yaml 2022-09-22 09:56:35 -07:00
6c8261a161 fixup 2022-09-21 15:26:29 -07:00
97842c403d try this for ts changes 2022-09-21 15:24:17 -07:00
77adf7bda8 asher: again 2022-09-21 14:32:23 -07:00
4c94137959 Revert "try updating glibc"
This reverts commit 02ed560f22.
2022-09-21 12:14:29 -07:00
9a1cd349a1 try 2.25 2022-09-21 12:03:54 -07:00
02ed560f22 try updating glibc 2022-09-21 11:47:12 -07:00
eae094c0d6 refactor: add test:native
This adds a new script to run native tests (i.e. --help which should run
in ci on all platforms).
2022-09-21 11:28:27 -07:00
af37f1f62c fixup!: add make to centos 2022-09-20 15:07:47 -07:00
d95a3b5566 fixup!: revert node mod caching 2022-09-20 14:41:29 -07:00
ed1cd54d5e fixup!: only install helm deps if changes 2022-09-20 14:34:08 -07:00
72d69b6cfd fixup!: move helm cmd to yaml 2022-09-20 14:26:10 -07:00
65b74fc59f fixup!: change to src/**" 2022-09-20 14:19:36 -07:00
e41dc6a55a fixup!: remove .tsx 2022-09-20 14:18:16 -07:00
08a7fdf93f chore: clean up names in security.yaml 2022-09-19 13:11:46 -07:00
f9b3bda9d5 fixup!: update ids for caching 2022-09-19 13:01:32 -07:00
614f047e53 fixup!: move helm step 2022-09-19 12:58:50 -07:00
90308733ce feat: collect codecov integration tests 2022-09-19 12:50:56 -07:00
6ad5d9a7c3 Revert "refactor: move unit tests to separate job"
This reverts commit 6c87b540b4.
2022-09-19 12:44:08 -07:00
6c87b540b4 refactor: move unit tests to separate job 2022-09-19 12:40:05 -07:00
bbfbab40db refactor: remove prebuild 2022-09-19 12:40:04 -07:00
fe70ebf4d6 refactor: delete lint, add typecheck job 2022-09-19 12:38:28 -07:00
d8e0dc96ac refactor: add eslint job and yarn script 2022-09-19 12:36:51 -07:00
3028e8ebf8 refactor: add helm script and job 2022-09-19 12:36:51 -07:00
f36c1f5b91 refactor: move shellcheck to separate job 2022-09-19 12:36:51 -07:00
4223cf6e2b refactor(ci): fix fetch-depth and add some caching (#5563)
* refactor: rename ci -> build.yaml

* feat: add build.yaml

* feat: add node caching to platform jobs

* trigger ci
2022-09-19 11:56:34 -05:00
987c68a32a feat: add release workflow (#5560)
* feat(ci): add draft release workflow

* refactor: delete old release-github workflows

* fixup! refactor: delete old release-github workflows

* fixup! refactor: delete old release-github workflows

* Update .github/workflows/release.yaml

* fixup!: remove release-notes.txt

* fixup!: change branch to current
2022-09-16 15:14:28 +00:00
309a3b2c6e chore: move security workflows (#5553)
* refactor: move security jobs to security.yaml

* fixup! refactor: move security jobs to security.yaml
2022-09-14 06:31:13 -07:00
dbe87c5494 fix(ci): specify ref in aur publish job (#5550) 2022-09-09 22:50:21 +00:00
b486354d6e Update to 1.71 (#5535)
* chore: update upstream code

* update patches for vs 1.71.0

the cli fix seems to be fixed in upstream, the telemtry patch requires (again) some fixing and adjustments.

* add safari fix.

* increase ci timeout

Co-authored-by: Joe Previte <jjprevite@gmail.com>
2022-09-09 16:28:54 +00:00
74017ecc65 chore(deps): update robinraju/release-downloader action to v1.5 (#5538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 13:34:04 -07:00
f5a1e3a3fa Update publish.yaml (#5490) 2022-08-23 08:29:22 -07:00
6a7c3220b0 refactor(ci): combine publish workflows (#5471)
* refactor(ci): combine publish workflows

* fixup! refactor(ci): combine publish workflows
2022-08-19 08:40:00 -07:00
9d8588b2ed feat(ci): add aur job to npm-brew.yaml (#5462)
This adds a new job called aur which checkouts code-server-aur, updates
the files with the new version then opens a PR into the repo.

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-08-18 09:22:09 -07:00
61e2a9ac41 chore(deps): update aquasecurity/trivy-action digest to d63413b (#5473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 01:38:36 +00:00
61673b5918 chore(deps): update aquasecurity/trivy-action digest to 1db49f5 (#5466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 18:44:19 +00:00
bef78e6a41 chore(deps): update aquasecurity/trivy-action digest to 12814ff (#5460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 00:17:22 +00:00
3335d0a456 chore(ci): fix when npm job runs (#5440) 2022-08-10 11:43:28 -07:00
f178f0400b feat(e2e): add support running behind proxy (#5348)
* docs: update maintaining

* chore(e2e): add maxFailures to playwright

* fix(ci): skip submodule in e2e job

We don't need the submodules for the e2e job. This will speed up the
checkout step.

* feat(ci): add test-e2e-proxy job

This adds a new job to CI to run our tests behind Caddy and simulate
code-server running against a reverse-proxy.

* refactor: make e2e work with reverse proxy

This refactors the e2e test in a couple ways:
- remove setting cookie in localStorage (instead we pass --auth none)
- refactor address() method to account for reverse proxy logic

* Update test/e2e/models/CodeServer.ts

* Update test/playwright.config.ts

* Update test/utils/constants.ts

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

* Update test/utils/helpers.ts

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

Co-authored-by: Asher <ash@coder.com>
2022-08-09 18:24:37 +00:00
45e222b3c1 chore(ci): run npm job on pr merge (#5429) 2022-08-09 10:31:23 -07:00
04ff8c355b chore(deps): update dependency alpine to v3.16 (#5426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 22:32:43 +00:00
9087e0c091 fix: invoking code-server in integrated terminal (#5360)
* Include bin scripts for all platforms

These will get symlinked as part of the postinstall.  These scripts
provide everything ours does inside the integrated terminal plus more.

* Improve OS detection

Specifically for Windows although we do not yet support Windows.

Also standardize the duplicate arch functions since they had drifted
from each other bit.

* Remove duplicate asar symlink

Since standalone releases run the postinstall they will get the asar
symlink there.  That means the symlink will not exist for the npm
package and we will not need to ignore it.

The symlink portion is split out so it can be re-used for other
symlinks (for example linking bin scripts).

* Add symlinks to bin scripts

* Add test for opening a file from the terminal

* Add global Playwright timeout

Otherwise it will exceed the Actions timeout and get rudely killed
without any output.

* Make sed work on macOS

* Fix Node path in bin scripts

* Disable shellcheck expansion error

* Make scripts executable

* Remove .bak files created by sed

* Include Code build script in cache hash

Otherwise if we change the script it will not rebuild Code.

* Make sure the terminal opens

The selector was timing out even though it matched more than one element
but matching on the focused one appears to work.

In addition add a loop so it can keep trying to open the terminal
if something goes wrong with the focus.
2022-08-04 16:03:28 +00:00
0022473744 chore(deps): update aquasecurity/trivy-action digest to 0d7cf2d (#5401)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 04:08:37 +00:00
f772d7bd13 chore(deps): update aquasecurity/trivy-action digest to 5144f05 (#5388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-01 10:19:32 -05:00
23a84e156e chore(deps): update minor dependency updates (#5377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-27 12:44:52 -05:00
0e9ec02bef chore(deps): update aquasecurity/trivy-action digest to 503d3ab (#5370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-22 19:21:30 +00:00