Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/ci
Joe Previte 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
..
build fix: invoking code-server in integrated terminal (#5360) 2022-08-04 16:03:28 +00:00
dev refactor: move integration tests to Jest (#5275) 2022-06-24 16:33:38 +00:00
helm-chart docs: define extraInitContainers (#5385) 2022-08-01 10:31:20 -05:00
release-image Allow user Entrypoint scripts (#5194) 2022-05-11 22:10:04 +00:00
steps fix: invoking code-server in integrated terminal (#5360) 2022-08-04 16:03:28 +00:00
Caddyfile feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
lib.sh fix: invoking code-server in integrated terminal (#5360) 2022-08-04 16:03:28 +00:00
README.md refactor: move integration tests to Jest (#5275) 2022-06-24 16:33:38 +00:00

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.