From b5aff2634fb7dc59ba3e99e30cece1a5db3bd720 Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Thu, 28 Nov 2019 09:51:43 -0800 Subject: [PATCH] docker-theia image build tweaks: - Add slack notification to docker-theia build - Add a short readme on how to use/run the image --- concourse/pipeline.yml | 5 +++++ concourse/theia-docker-image/README.md | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 concourse/theia-docker-image/README.md diff --git a/concourse/pipeline.yml b/concourse/pipeline.yml index 56ca8d931..9b200f317 100644 --- a/concourse/pipeline.yml +++ b/concourse/pipeline.yml @@ -273,6 +273,11 @@ resources: jobs: - name: build-theia-docker-snapshot-image serial: true + on_failure: + put: slack-notification + params: + text: | + Concourse ${BUILD_PIPELINE_NAME}/${BUILD_JOB_NAME}/${BUILD_NAME} has failed! plan: - in_parallel: - get: s3-concourse-vsix-snapshot diff --git a/concourse/theia-docker-image/README.md b/concourse/theia-docker-image/README.md new file mode 100644 index 000000000..47135559f --- /dev/null +++ b/concourse/theia-docker-image/README.md @@ -0,0 +1,17 @@ +Theai Docker Image +================== + +We currently plublish a docler image that contains: + +- a full-featured `theai` set of package for version `next`. +- all 4 of our vscode extensions as latest snapshot version. + +This image is published to docker hub as `kdvolder/sts4-theia-snapshot:latest`. + +You can run it as follows: + +``` +docker run -it --init -p 3000:3000 -p 8080:8080 -v "$(pwd):/home/project:cached" kdvolder/sts4-theia-snapshot:latest +``` + +Then open `http://localhost:3000` to access it. \ No newline at end of file