Skip to content

remove definetly-gp support #18492

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
Aug 15, 2023
Merged

remove definetly-gp support #18492

merged 1 commit into from
Aug 15, 2023

Conversation

akosyakov
Copy link
Member

@akosyakov akosyakov commented Aug 11, 2023

Description

compare to previous attempts it does not remove anything related to ExternalImageConfigFile

Summary generated by Copilot

🤖 Generated by Copilot at 05b077d

This pull request removes the code and configuration related to the definitely-gp and inferred config features, which are no longer supported by Gitpod. It affects the config-provider.ts, config.go, gitpod-service.go, protocol.ts, image-source-provider.ts, example-config.yaml, configmap.go, types.go, and config.md files.

Related Issue(s)

Fixes #

How to test

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

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

@akosyakov
Copy link
Member Author

I also move it to draftm because it would be better to deploy after the weekend.

@akosyakov akosyakov marked this pull request as draft August 11, 2023 11:36
compare to previous attempts it does not remove anything related to ExternalImageConfigFile
@akosyakov akosyakov force-pushed the ak/remove_definetly_gp branch from 05b077d to c4b7517 Compare August 11, 2023 11:51
@akosyakov
Copy link
Member Author

akosyakov commented Aug 14, 2023

/gh run recreate-vm=true

Comment triggered a workflow run

Started workflow run: 5852329980

  • recreate_vm: true

@akosyakov akosyakov marked this pull request as ready for review August 14, 2023 06:55
@@ -37,7 +37,7 @@ export class ImageSourceProvider {

const imgcfg = config.image;
if (ExternalImageConfigFile.is(imgcfg)) {
// we're asked to pull the Dockerfile from a repo possibly different than the one we're opening a workspace for (e.g. definitely-gp).
// we're asked to pull the Dockerfile from a repo possibly different than the one we're opening a workspace for.
Copy link
Member

Choose a reason for hiding this comment

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

This has to stay, if I remember correctly.
'Just paying attention to what could break.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, it was a reason why it broke last time, we create ExternalImageConfigFile above, did not process it here

Copy link
Member

@AlexTugarev AlexTugarev left a comment

Choose a reason for hiding this comment

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

Code changes look good to me.
I couldn't test, though

Content initialization failed: bug: cannot add workspace to store

@akosyakov
Copy link
Member Author

Yeah, it seems one image build leads to out of disk. We will need to recrreat VM or clean up somehow. Fine to merge? I've tested.

@akosyakov
Copy link
Member Author

/unhold

@roboquat roboquat merged commit e69acdf into main Aug 15, 2023
@roboquat roboquat deleted the ak/remove_definetly_gp branch August 15, 2023 15:40
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