code-server/ci/README.md
2020-05-08 01:43:31 -04:00

4.2 KiB

ci

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

Many of these scripts contain more detailed documentation and options in comments at the top.

Any file and directory added into this tree should be documented here.

Publishing a release

  1. Change the version of code-server in package.json and push this commit.
  2. CI will run and generate an NPM package and release packages that you can download as artifacts on Github Actions.
  3. Create a new draft release with the built release packages.
  4. Run some basic sanity tests on one of the released packages.
  5. Publish.
  6. Download the built npm package and publish it.
  7. Place the debian releases into ./release-packages and then push the docker image with ./ci/release-container/push.sh.
    1. This will need to be ran on an ARM64 instance as well.
    2. At some point we need to automate this.

dev

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

build

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

release-container

This directory contains the release docker container.

container

This directory contains the container for CI.

steps

This directory contains a few scripts used in CI. Just helps avoid clobbering .travis.yml.