Skip to content

Commit 9b8a063

Browse files
authored
Merge branch 'main' into release/v4.5.1
2 parents 3d8be5e + de317a0 commit 9b8a063

File tree

7 files changed

+16
-10
lines changed

7 files changed

+16
-10
lines changed

.github/workflows/npm-brew.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: dawidd6/action-download-artifact@v2
3232
id: download
3333
with:
34-
branch: v${{ steps.version.outputs.version }}
34+
branch: release/v${{ steps.version.outputs.version }}
3535
workflow: ci.yaml
3636
workflow_conclusion: completed
3737
name: "npm-package"

ci/helm-chart/templates/deployment.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ spec:
2525
{{- if .Values.hostnameOverride }}
2626
hostname: {{ .Values.hostnameOverride }}
2727
{{- end }}
28+
{{- if .Values.priorityClassName }}
29+
priorityClassName: {{ .Values.priorityClassName }}
30+
{{- end }}
2831
{{- if .Values.securityContext.enabled }}
2932
securityContext:
3033
fsGroup: {{ .Values.securityContext.fsGroup }}
@@ -116,7 +119,7 @@ spec:
116119
{{- end }}
117120
{{- with .Values.affinity }}
118121
affinity:
119-
{{- toYaml . | nindent 8 }}
122+
{{- tpl . $ | nindent 8 }}
120123
{{- end }}
121124
{{- with .Values.tolerations }}
122125
tolerations:

ci/helm-chart/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ podAnnotations: {}
3333
podSecurityContext: {}
3434
# fsGroup: 2000
3535

36+
priorityClassName: ""
37+
3638
service:
3739
type: ClusterIP
3840
port: 8080

docs/MAINTAINING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ If you're the current release manager, follow these steps:
164164

165165
### Publishing a release
166166

167-
1. Create a new branch called `v0.0.0` (replace 0s with actual version aka v4.5.1)
167+
1. Create a new branch called `release/v0.0.0` (replace 0s with actual version aka v4.5.0)
168+
1. If you don't do this, the `npm-brew` GitHub workflow will fail. It looks for the release artifacts under the branch pattern.
168169
1. Run `yarn release:prep` and type in the new version (e.g., `3.8.1`)
169170
1. GitHub Actions will generate the `npm-package`, `release-packages` and
170171
`release-images` artifacts. You do not have to wait for this step to complete

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383
"follow-redirects": "^1.14.8",
8484
"node-fetch": "^2.6.7",
8585
"nanoid": "^3.1.31",
86-
"minimist": "npm:[email protected]"
86+
"minimist": "npm:[email protected]",
87+
"glob-parent": "^6.0.1"
8788
},
8889
"dependencies": {
8990
"@coder/logger": "1.1.16",

src/node/wrapper.ts

-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ export class ParentProcess extends Process {
322322
env: {
323323
...process.env,
324324
CODE_SERVER_PARENT_PID: process.pid.toString(),
325-
NODE_OPTIONS: `--max-old-space-size=2048 ${process.env.NODE_OPTIONS || ""}`,
326325
},
327326
stdio: ["pipe", "pipe", "pipe", "ipc"],
328327
})

yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -2032,12 +2032,12 @@ get-uri@3:
20322032
fs-extra "^8.1.0"
20332033
ftp "^0.3.10"
20342034

2035-
glob-parent@^5.1.0, glob-parent@^5.1.2:
2036-
version "5.1.2"
2037-
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
2038-
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
2035+
glob-parent@^5.1.0, glob-parent@^5.1.2, glob-parent@^6.0.1:
2036+
version "6.0.2"
2037+
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"
2038+
integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==
20392039
dependencies:
2040-
is-glob "^4.0.1"
2040+
is-glob "^4.0.3"
20412041

20422042
glob@^7.1.3:
20432043
version "7.1.6"

0 commit comments

Comments
 (0)