Skip to content

[code] Build code dependencies separately #8048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2022
Merged

Conversation

jeanp413
Copy link
Member

@jeanp413 jeanp413 commented Feb 5, 2022

Description

Build vscode native dependencies in a separate builder image openvscode-server-linux-build-agent:centos7-devtoolset8-x64
Related microsoft/vscode@b7712c0

Related Issue(s)

Fixes #

How to test

  1. Select vscode insiders in dashboard/preferences
  2. Open a workspace
  3. Check everything works fine

Release Notes

NONE

@jeanp413
Copy link
Member Author

jeanp413 commented Feb 5, 2022

/werft run with-clean-slate-deployment

👍 started the job as gitpod-build-jp-build-code-dependencies.3

@codecov
Copy link

codecov bot commented Feb 5, 2022

Codecov Report

Merging #8048 (736eed7) into main (9b17c59) will decrease coverage by 1.15%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8048      +/-   ##
==========================================
- Coverage   12.01%   10.86%   -1.16%     
==========================================
  Files          20       18       -2     
  Lines        1190     1022     -168     
==========================================
- Hits          143      111      -32     
+ Misses       1043      909     -134     
+ Partials        4        2       -2     
Flag Coverage Δ
components-gitpod-cli-app 10.86% <ø> (ø)
components-local-app-app-darwin-amd64 ?
components-local-app-app-darwin-arm64 ?
components-local-app-app-linux-amd64 ?
components-local-app-app-linux-arm64 ?
components-local-app-app-windows-386 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
components/local-app/pkg/auth/pkce.go
components/local-app/pkg/auth/auth.go

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b17c59...736eed7. Read the comment docs.

@jeanp413 jeanp413 force-pushed the jp/build-code-dependencies branch from 809dd5e to 736eed7 Compare February 5, 2022 19:45
@jeanp413 jeanp413 marked this pull request as ready for review February 5, 2022 19:51
@jeanp413 jeanp413 requested a review from a team February 5, 2022 19:51
@jeanp413
Copy link
Member Author

jeanp413 commented Feb 5, 2022

/werft run with-clean-slate-deployment

👍 started the job as gitpod-build-jp-build-code-dependencies.5

RUN mkdir /gp-code \
&& cd /gp-code \
&& git init \
&& git remote add origin https://github.com/gitpod-io/vscode \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
&& git remote add origin https://github.com/gitpod-io/vscode \
&& git remote add origin https://github.com/gitpod-io/openvscode-server \

@mustard-mh mustard-mh requested a review from a team February 7, 2022 06:17

ARG CODE_COMMIT

ARG NODE_VERSION=14.18.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dependencies_builder use node 16, will this have incompatibility issues?

Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; starts up and all of the important bits (language smartness, browser previews, terminals are working fine as well) ✅

image

@roboquat
Copy link
Contributor

roboquat commented Feb 7, 2022

LGTM label has been added.

Git tree hash: 72a3f2fc1ba6e59bdd0b0d9f304039d03908fa48

@roboquat
Copy link
Contributor

roboquat commented Feb 7, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: filiptronicek

No associated issue. Update pull-request body to add a reference to an issue, or get approval with /approve no-issue

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roboquat roboquat merged commit 01dc940 into main Feb 7, 2022
@roboquat roboquat deleted the jp/build-code-dependencies branch February 7, 2022 09:19
@iQQBot
Copy link
Contributor

iQQBot commented Feb 7, 2022

associated issue is not need anymore?

@filiptronicek
Copy link
Member

filiptronicek commented Feb 7, 2022

associated issue is not need anymore?

@iQQBot I'm not sure either, didn't want to skip your review comments 😕🙇‍♂️

Edit: looks like indeed it is no longer needed, the two review comments you left look like something non-blocking, correct? gitpod-io/vscode redirects to gitpod-io/openvscode-server and not sure about the possible compatibility issues, I'll leave that for @jeanp413 if he has any opinions on that.

@jeanp413
Copy link
Member Author

jeanp413 commented Feb 7, 2022

yeah gitpod-io/vscode redirects to gitpod-io/openvscode-server but will be nice to update and regarding compatibility issues, it's fine as N-API is stable across versions https://nodejs.org/api/n-api.html#node-api-version-matrix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants