code-server/ci
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
..
build Fix incorrect argon2 target in arm builds (#6453) 2023-09-27 19:17:47 -08:00
dev Fix watch script ignoring stdout 2023-02-08 11:42:28 -09:00
helm-chart Release v4.17.0 2023-09-22 17:49:40 -08:00
release-image feat: add docker image release for Ubuntu based image (#5688) 2022-10-24 18:41:19 +00:00
steps refactor: get version dynamically (#5753) 2022-11-08 22:45:01 +00:00
Caddyfile feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
README.md fix: relative path in markdown (#6188) 2023-05-08 12:38:52 -08:00
lib.sh refactor: get version dynamically (#5753) 2022-11-08 22:45:01 +00:00

README.md

ci

This directory contains scripts used for code-server's continuous integration infrastructure.

Some of these scripts contain more detailed documentation and options in header comments.

Any file or directory in this subdirectory should be documented here.

  • ./ci/lib.sh
    • Contains code duplicated across these scripts.

dev

This directory contains scripts used for the development of code-server.

build

This directory contains the scripts used to build and release code-server. You can disable minification by setting MINIFY=.

release-image

This directory contains the release docker container image.

  • ./ci/steps/build-docker-buildx-push.sh
    • Builds the release containers with tags codercom/code-server-$ARCH:$VERSION for amd64 and arm64 with docker buildx and pushes them.
    • Assumes debian releases are ready in ./release-packages.

images

This directory contains the images for CI.

steps

This directory contains the scripts used in CI. Helps avoid clobbering the CI configuration.