Skip to content

Commit a761c10

Browse files
authored
Merge branch 'main' into jsjoeio/fix-rennovate
2 parents 56c2841 + 9c4f41d commit a761c10

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.github/workflows/ci.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,26 @@ jobs:
217217
# Instead, itis determined in publish-npm.sh script
218218
# using GITHUB environment variables
219219

220+
- name: Comment npm information
221+
uses: marocchino/sticky-pull-request-comment@v2
222+
with:
223+
GITHUB_TOKEN: ${{ github.token }}
224+
header: npm-dev-build
225+
message: |
226+
✨ code-server dev build published to npm for PR #${{ github.event.number }}!
227+
* _Last publish status_: success
228+
* _Commit_: ${{ github.event.pull_request.head.sha }}
229+
230+
To install in a local project, run:
231+
```shell-session
232+
npm install @coder/code-server-pr@${{ github.event.number }}
233+
```
234+
235+
To install globally, run:
236+
```shell-session
237+
npm install -g @coder/code-server-pr@${{ github.event.number }}
238+
```
239+
220240
# TODO: cache building yarn --production
221241
# possibly 2m30s of savings(?)
222242
# this requires refactoring our release scripts

.github/workflows/docs-preview.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- name: Comment Credentials
3232
uses: marocchino/sticky-pull-request-comment@v2
3333
with:
34+
GITHUB_TOKEN: ${{ github.token }}
3435
header: codercom-preview-docs
3536
message: |
3637
✨ code-server docs for PR #${{ github.event.number }} is ready! It will be updated on every commit.

ci/helm-chart/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ extraArgs: []
7070
extraVars: []
7171
# - name: DISABLE_TELEMETRY
7272
# value: true
73+
# - name: DOCKER_HOST
74+
# value: "tcp://localhost:2375"
7375

7476
##
7577
## Init containers parameters:
@@ -126,6 +128,7 @@ persistence:
126128
## Enable an Specify container in extraContainers.
127129
## This is meant to allow adding code-server dependencies, like docker-dind.
128130
extraContainers: |
131+
# If docker-dind is used, DOCKER_HOST env is mandatory to set in "extraVars"
129132
#- name: docker-dind
130133
# image: docker:19.03-dind
131134
# imagePullPolicy: IfNotPresent

0 commit comments

Comments
 (0)