748 Commits
Author SHA1 Message Date
Asher 2c1981bfb9 Fix npm publish
Unlike yarn publish, there is no --non-interactive and you cannot
specify a directory, you have to move into it first.
2024-11-06 12:57:57 -09:00
xfl12345 dd2e9fce27 Fix user rename when restarting container (#7012) 2024-10-18 14:57:08 -08:00
Olivier Benz fc6064dcd3 Update Code to 1.94.2 (#7026)
* Update Code to 1.94.2

* Convert from yarn to npm

This is to match VS Code.  We were already partially using npm for the
releases so this is some nice alignment.

* Update caniuse-lite

This was complaining on every unit test.

* Update eslint

I was having a bunch of dependency conflicts and eslint seemed to be the
culprit so I just removed it and set it up again, since it seems things
have changed quite a bit.

* Update test dependencies

I was getting oom when running the unit tests...updating seems to work.

* Remove package.json `scripts` property in release

The new pre-install script was being included, which is dev-only.

This was always the intent; did not realize jq's merge was recursive.

* Remove jest and devDependencies in release as well

* Update test extension dependencies

This appears to be conflicting with the root dependencies.

* Fix playwright exec

npm does not let you run binaries like yarn does, as far as I know.

* Fix import of server-main.js

* Fix several tests by waiting for selectors
2024-10-17 20:32:21 -08:00
Asher 6b4b3e0c89 v4.93.1 2024-10-04 15:31:14 -08:00
Asher 7f893234ab Update Helm version 2024-08-19 15:30:21 -08:00
Asher 31bc0c6b1a Fix dangling links in standalone release
The fix will now run both to the GitHub and npm release instead of only
for the npm releases.

Closes #5157.
2024-07-25 09:16:15 -08:00
Asher a9eb923790 Remove unused audit-ci dependency
There is a `yarn ci` script which was using audit-ci but this does not
appear to be called anywhere.

The security worflow uses `yarn audit` and `npm audit` which seem fine
enough anyway.
2024-07-10 13:23:24 -08:00
Asher d83ba4b46f Release v4.91.0 2024-07-09 23:23:16 -08:00
Asher c7d88abf9f v4.90.3 2024-06-21 11:01:16 -08:00
Asher ed069310a4 v4.90.2 2024-06-17 10:42:09 -08:00
Olivier Benz 6d9530aa6b Update Code to 1.90.0 (#6824)
Additionally:

- Update Node to 20.11.1
- Update documentation
- Disable extension signature verification

This works around an issue where the Open VSX is not returning the
expected zip.  Verification is skipped later anyway because
@vscode/vsce-sign is missing in the OSS version.
2024-06-06 15:02:13 -08:00
Paweł Wiśniewski 095c072a43 Add Ubuntu Noble image (#6812) 2024-05-24 20:02:32 +00:00
XiaoZhang 4ff509d8db Allow emptyDir type volume mounts (#6803) 2024-05-22 10:52:42 -08:00
Asher 3b6ad479a6 Release v4.89.1 and v4.89.0 2024-05-14 10:17:35 -08:00
Asher 323a1f3234 Only require unsafe-perm if you are root
Remove it from the docs, as the error message should be sufficient and
it seems weird to recommend unsafe-perm by default.
2024-04-16 10:48:46 -08:00
Asher 417c1f36cb Release 4.23.1 2024-04-15 16:37:01 -08:00
Asher deebb21345 Release 4.23.0 2024-04-08 13:24:39 -08:00
Asher 66364429e3 Release 4.22.1 2024-03-14 12:16:35 -08:00
Asher 223ecf7c30 Release v4.22.0 2024-03-04 06:52:54 -09:00
Asher d2dfeedb2f Release v4.21.2 2024-02-28 14:22:31 -09:00
Asher c31d2a0e37 Release v4.21.1 2024-02-09 13:02:44 -09:00
Dmitry Sharshakov 45164bf749 Use rpm to install in Fedora image (#6670)
Dnf will pull caches if invoked for local file install and is also unnecessary
2024-02-09 12:56:57 -09:00
Dmitry Sharshakov a2d35ad815 docker: add Fedora 39 and openSUSE Tumbleweed based images (#6669) 2024-02-08 12:31:50 -09:00
Asher 5b62943216 Release v4.21.0 2024-02-05 09:41:51 -09:00
Asher d6ef385de2 Release v4.20.1 2024-01-22 08:34:02 -09:00
Asher 07901026a0 Release v4.20.0 2023-12-21 12:53:25 -09:00
Dov Benyomin Sohacheski d6c5a4af9c Add Debian bookworm config to bakefile (#6590) 2023-12-18 21:30:16 +00:00
Dov Benyomin Sohacheski d9fe46a6be Update and organize release image packages, add wget (#6581) 2023-12-15 20:32:14 +00:00
Dov Benyomin Sohacheski 7649b6e6ca Update base release image to Debian:12 (#6574) 2023-12-12 11:37:17 -09:00
Evan Rush 1fac50d6f6 Fix Helm boolean environment variable (#6563) 2023-12-04 19:32:16 +00:00
Asher 3e8100b70e Release v4.19.1 2023-11-29 12:23:25 -09:00
Asher edf078d1d2 Release v4.19.0 2023-11-20 07:29:25 -09:00
Asher 11e6e656c0 Release v4.18.0 2023-10-20 12:03:13 -08:00
Asher f4bf492051 Release v4.17.1 2023-09-29 15:21:48 -08:00
Asher 2eba7af117 Use code-server commit in product.json
Also remove github.com from the trusted domains.  This causes the
browser to block the popup instead (probably because the space between
interaction and popup is too great), which is difficult to notice in
Chromium.  Even in Firefox with the extra bar they add at the top it can
be easy to miss.
2023-09-29 13:58:01 -08:00
Asher 0dc59c0da2 Add trusted extension list
Also trust github.com to make the auth flow smoother.
2023-09-29 10:39:00 -08:00
Asher 6275520348 Fix incorrect argon2 target in arm builds (#6453)
* Fix building from source on arm

Not building from source causes argon2 to pull the wrong arch, so we
have to build from source.

But building from source is causing the new Kerberos module to fail on
arm64 and keytar to fail on both.

The latter has been very difficult to debug because the GitHub image
provides a different result to containers based on Ubuntu 20.04.
Because of this, use a container instead.

Use debian:buster as the container because it is easier to set up the
architecture sources (no need to modify the sources) and because it
seems to come with glibc 2.28 rather than 2.31.

Also use the exact version of Node (18.15.0) for reproducibility.

* Set owner and group during tar to zero

Otherwise you get IDs that can cause (benign) errors while extracting,
which might be confusing.  At the very least, I did not see these errors
from previous tars (although they seem to use 1001).

There is no guarantee what IDs might exist so 0 seems the most
reasonable.
2023-09-27 19:17:47 -08:00
Asher 800bf364d6 Release v4.17.0 2023-09-22 17:49:40 -08:00
Asher 7868f4db23 Fix cross-compilation (#6441)
* Avoid packaging yarn.lock

Since the shrinkwrap is what we want everything to use.

* Build with npm

It seems we stuck with yarn because npm was giving us errors but I will try
sorting it out now so we can build with npm as originally intended.

* Remove build from source

Not using CentOS 7 anymore so based on the comment we no longer need
this.  Keytar seems to install fine now.

* Update missed Node version

These numbers are all over the place.

* npm_config_arch must be lowercase

* Patch out Kerberos

I am not sure exactly how it is used but I think it is not a path code-server
worries about, at least not right now.  Just going to patch it out rather than
figure out how to build it on armv7l but we can revisit later.
2023-09-21 23:21:01 -08:00
Asher 70d0c603cc Update to VS Code 1.82.2 (#6436)
* Update VS Code to 1.82.2

* Add new libkrb5 dependency

* Update patches

The only changes were to context except:

- The URL callback provider uses a new _callbackRoute argument and moved
  locations.
- The telemetry provider gets passed the request service as the first
  argument now.
- CSP hash changed, as usual.

* Update Node to v18

* Revert back to es2020

es2022 is breaking Safari.
2023-09-20 15:33:28 -08:00
James MacDonald d80568df20 Add pod annotations (#6432) 2023-09-16 00:31:05 +00:00
Asher 03dc8cd808 Propagate post-installation failures
pipefail might be ideal here but not sure how wide the support is yet
considering this may run on plain sh.
2023-09-11 09:27:29 -08:00
Antoine eb8099ff89 feat(helm): Don't create Secret if existingSecret is provided (#6397) 2023-08-28 11:01:11 -08:00
Asher 3cb92edc76 Release v4.16.1 2023-07-31 11:21:45 -08:00
Asher 25254214fb Release v4.16.0 2023-07-28 17:32:57 -08:00
Asher 2ffbcfdfcb Release v4.15.0 2023-07-21 15:30:03 -08:00
Asher 70aa1b7722 Release v4.14.1 2023-06-26 10:21:35 -08:00
Asher 56d10d82bf Enforce Node binary permissions
In some cases it may have extra write permissions.
2023-06-21 11:23:40 -08:00
Asher 5d3c9edce4 Release v4.14.0 2023-06-16 13:38:21 -08:00
Jonas ee024f3f2d docs: mention Termux extension workarounds (#6227) 2023-05-31 15:00:58 -08:00