Skip to content
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

[ws-manager] refactor ide image layer and envvar #13387

Merged
merged 4 commits into from
Oct 13, 2022
Merged

[ws-manager] refactor ide image layer and envvar #13387

merged 4 commits into from
Oct 13, 2022

Conversation

iQQBot
Copy link
Contributor

@iQQBot iQQBot commented Sep 28, 2022

Description

We want to decouple the IDE component from the ws-manager

In the past, if we needed to add an environment variable starting with GITPOD, we needed to modify the whitelist of ws-manager first, and then wait for the workspace team to deployed the new generation cluster before we could modify the server, in this PR, the system variables are distinguished from the user-defined environment variables, the system variables are not filtered, and No need to write secret

Another case is if we want to add another layer of images to the IDE, the situation is the same as above, we have to modify the registry-facade and ws-manager and wait for the workspace team to deploy it, in this PR, we add a new ide_layer_ref which is contain some ide image layer, later if we want to add layers later, we can dynamically add

Related Issue(s)

Relate #9189

How to test

  1. open a workspace using desktop-ide in preview environment, it should work as normal
  2. replace server image to eu.gcr.io/gitpod-core-dev/build/server:main.4899 and test step 1, it should work too

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

@iQQBot iQQBot force-pushed the pd/wsm-proto branch 3 times, most recently from 69184f1 to dcc6377 Compare September 28, 2022 08:42
@iQQBot iQQBot marked this pull request as ready for review September 28, 2022 10:12
@iQQBot iQQBot requested a review from a team September 28, 2022 10:12
@iQQBot iQQBot requested a review from a team September 28, 2022 10:12
@github-actions github-actions bot added team: webapp Issue belongs to the WebApp team team: workspace Issue belongs to the Workspace team labels Sep 28, 2022
@iQQBot
Copy link
Contributor Author

iQQBot commented Sep 28, 2022

/hold need delete test commit

@iQQBot iQQBot force-pushed the pd/wsm-proto branch 2 times, most recently from cae7b78 to f0d8c7a Compare September 28, 2022 13:31
@iQQBot
Copy link
Contributor Author

iQQBot commented Sep 28, 2022

/werft run with-clean-slate-deployment=true

👍 started the job as gitpod-build-pd-wsm-proto.14
(with .werft/ from main)

@iQQBot
Copy link
Contributor Author

iQQBot commented Sep 28, 2022

Hi @csweichel I already changed the code, could you please take a look again 🙏

Copy link
Member

@easyCZ easyCZ left a comment

Choose a reason for hiding this comment

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

LGTM WebApp side

/hold for other reviewers

@iQQBot
Copy link
Contributor Author

iQQBot commented Oct 10, 2022

Hi @csweichel , we want to merge it today, it would be good if you can review it again, thanks 🙏

@iQQBot iQQBot removed the team: webapp Issue belongs to the WebApp team label Oct 12, 2022
@akosyakov akosyakov requested a review from csweichel October 13, 2022 08:01
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-pd-wsm-proto.18 because the annotations in the pull request description changed
(with .werft/ from main)

@iQQBot
Copy link
Contributor Author

iQQBot commented Oct 13, 2022

/unhold

@iQQBot
Copy link
Contributor Author

iQQBot commented Oct 13, 2022

/werft run

👍 started the job as gitpod-build-pd-wsm-proto.20
(with .werft/ from main)

@roboquat roboquat merged commit 537a680 into main Oct 13, 2022
@roboquat roboquat deleted the pd/wsm-proto branch October 13, 2022 18:08
@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: workspace Workspace team change is running in production deployed Change is completely running in production release-note-none size/XXL team: workspace Issue belongs to the Workspace team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants