Skip to content

Commit a6c7dd5

Browse files
authored
[code] Update code to 1.86.1 (#19404)
* Delete 1.85 ide option * Add invalid default ide test * test delete 1.85 ide option * Revert "test delete 1.85 ide option" This reverts commit d705451. * Update code to 1.86.1 * Revert "Revert "test delete 1.85 ide option"" This reverts commit 637c8a1.
1 parent c89d2de commit a6c7dd5

File tree

5 files changed

+33
-3
lines changed

5 files changed

+33
-3
lines changed

WORKSPACE.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ defaultArgs:
77
publishToNPM: true
88
publishToJBMarketplace: true
99
localAppVersion: unknown
10-
codeCommit: 58bb230c0b29056eacd49010e91cd71567d667fd
11-
codeVersion: 1.86.0
10+
codeCommit: 293532918ec041aafb8cfd2f0f975dd958ccbf64
11+
codeVersion: 1.86.1
1212
codeQuality: stable
1313
noVerifyJBPlugin: false
1414
intellijDownloadUrl: "https://download.jetbrains.com/idea/ideaIU-2023.3.3.tar.gz"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"Resp": {
3+
"supervisor_image": "eu.gcr.io/gitpod-core-dev/build/supervisor:commit-ff38b98b7dde4929159bcaeec68d178898dc2139",
4+
"web_image": "eu.gcr.io/gitpod-core-dev/build/ide/code:commit-d6329814c2aa34c414574fd0d1301447d6fe82c9",
5+
"ide_settings": "{\"defaultIde\":\"code\"}\n"
6+
},
7+
"Err": ""
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"context": "{\"isFile\":false,\"path\":\"\",\"title\":\"gitpod-io/empty \",\"revision\":\"\",\"repository\":{\"cloneUrl\":\"https://github.com/gitpod-io/empty.git\",\"host\":\"github.com\",\"name\":\"empty\",\"owner\":\"gitpod-io\",\"private\":false},\"normalizedContextURL\":\"https://github.com/gitpod-io/empty\",\"checkoutLocation\":\"empty\"}",
3+
"ide_settings": "{\"settingVersion\":\"2.0\",\"defaultIde\":\"invalid\",\"useLatestVersion\":false}",
4+
"workspace_config": "{\"ports\":[],\"tasks\":[],\"image\":\"docker.io/gitpod/workspace-full:latest\",\"_origin\":\"default\"}"
5+
}

components/ide/code/leeway.Dockerfile

+17
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
22
# Licensed under the GNU Affero General Public License (AGPL).
33
# See License.AGPL.txt in the project root for license information.
4+
FROM gitpod/openvscode-server-linux-build-agent:centos7-devtoolset8-x64 as dependencies_builder
5+
6+
ARG CODE_COMMIT
7+
8+
RUN mkdir /gp-code \
9+
&& cd /gp-code \
10+
&& git init \
11+
&& git remote add origin https://github.com/gitpod-io/openvscode-server \
12+
&& git fetch origin $CODE_COMMIT --depth=1 \
13+
&& git reset --hard FETCH_HEAD
14+
WORKDIR /gp-code
15+
RUN yarn --cwd remote --frozen-lockfile --network-timeout 180000
416

517
FROM gitpod/openvscode-server-linux-build-agent:focal-x64 as code_builder
618

719
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
820
ENV ELECTRON_SKIP_BINARY_DOWNLOAD=1
921
ENV VSCODE_ARCH=x64
22+
ENV NPM_REGISTRY=https://registry.yarnpkg.com
1023

1124
ARG CODE_COMMIT
1225
ARG CODE_QUALITY
@@ -29,6 +42,10 @@ RUN mkdir -p .build \
2942
&& yarn --cwd build --frozen-lockfile --network-timeout 180000 \
3043
&& ./build/azure-pipelines/linux/install.sh
3144

45+
# copy remote dependencies build in dependencies_builder image
46+
RUN rm -rf remote/node_modules/
47+
COPY --from=dependencies_builder /gp-code/remote/node_modules/ /gp-code/remote/node_modules/
48+
3249
# check that the provided codeVersion is the correct one for the given codeCommit
3350
RUN commitVersion=$(cat package.json | jq -r .version) \
3451
&& if [ "$commitVersion" != "$CODE_VERSION" ]; then echo "Code version mismatch: $commitVersion != $CODE_VERSION"; exit 1; fi

install/installer/pkg/components/workspace/ide/constants.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package ide
66

77
const (
88
CodeIDEImage = "ide/code"
9-
CodeIDEImageStableVersion = "commit-fc97f55eae648b06f4cbd03e67c52f229de17023" // stable version that will be updated manually on demand
9+
CodeIDEImageStableVersion = "commit-3bed9d52b23c62f2902136fdbd746a3a9c901236" // stable version that will be updated manually on demand
1010
Code1_85IDEImageStableVersion = "commit-cb1173f2a457633550a7fdc89af86d8d4da51876"
1111
CodeHelperIDEImage = "ide/code-codehelper"
1212
CodeWebExtensionImage = "ide/gitpod-code-web"

0 commit comments

Comments
 (0)