Skip to content

Make installer a bit more extensible #18937

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 3 commits into from
Oct 17, 2023
Merged

Make installer a bit more extensible #18937

merged 3 commits into from
Oct 17, 2023

Conversation

csweichel
Copy link
Contributor

@csweichel csweichel commented Oct 17, 2023

Description

This PR makes the installer a bit more extensible and adds configuration items required by nextgen.

Summary generated by Copilot

🤖 Generated by Copilot at f31d5ac

This pull request improves the support for different user identities and configurations in the content-service, supervisor, and ws-daemon components. It refactors the code to use the runAs parameter and the User type to run commands and services as the workspace user instead of the gitpod user, and to use the HOME environment variable and the uid and gid fields to determine the correct paths and permissions for files and folders. It also updates the dependencies and removes deprecated packages and options. It adds a new dump-initializer command for debugging the content initializer, and a new SubassemblyBucket field for the installer configuration.

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@csweichel csweichel changed the title Make supervisor a bit more extensible Make installer a bit more extensible Oct 17, 2023
@csweichel csweichel force-pushed the cw/installer-extension branch from 4754eaa to 46a5289 Compare October 17, 2023 13:27
@roboquat roboquat added size/L and removed size/XL labels Oct 17, 2023
@csweichel csweichel marked this pull request as ready for review October 17, 2023 13:28
@csweichel csweichel requested a review from a team as a code owner October 17, 2023 13:28
Copy link
Member

Choose a reason for hiding this comment

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

THis looks like an oversight, right?

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

Changes LGT, tested and produces a valid-looking versions.yaml

We should get rid of the binary, then we are good to 🚢 ✔️

@csweichel csweichel force-pushed the cw/installer-extension branch from 46a5289 to 7cdb498 Compare October 17, 2023 14:20
@roboquat roboquat merged commit f873b26 into main Oct 17, 2023
@roboquat roboquat deleted the cw/installer-extension branch October 17, 2023 14:24
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.

3 participants