tools/ci/README.md
This folder contains miscellaneous utilities for CI.
A custom docker image requires a certain number of directories to be present
from a desired edition. The root directory of the docker build context can be
provided in the docker build command:
docker build \
-t runtime:latest \
-f tools/ci/docker/engine/Dockerfile \
--build-context docker-tools=tools/ci/docker/engine \
built-distribution/enso-engine-0.0.0-dev-linux-amd64/enso-0.0.0-dev
To start Language Server with a default configuration, run the built image and mount the project directory:
docker run -it --rm \
--network=host \
--mount type=bind,src=~/Documents/enso-projects/NewProject,dst=/volumes/workspace/project_root \
runtime:latest
Both images ydoc-server-nodejs and ydoc-server-polyglot are started the same
way:
docker run -it -e PORT=1234 -e HOSTNAME='0.0.0.0' -e LANGUAGE_SERVER_URL=ws://localhost:59876 ydoc-server-nodejs:latest
When correctly setup the network layer one can also hit Ydoc's healthcheck endpoint:
> curl http://${HOSTNAME}:${PORT}/_health
OK