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

[installer] Disable definitely-gp by default #9094

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

Pothulapati
Copy link
Contributor

@Pothulapati Pothulapati commented Apr 4, 2022

Description

definitely-gp is being deprecated soon, and hence
it is important to be disabled by default. Once it
is fully deprecated, even this option has to be removed.

For now, The following changes have been made:

  • Update the definitelyGpDisabled option to be true, Thus
    disabling it by default
  • Update the airgap docs to remove a mention of this

Signed-off-by: Tarun Pothulapati [email protected]

Related Issue(s)

Fixes #8740

How to test

Release Notes

[installer] Disable `definitely-gp` by default

Documentation

@Pothulapati Pothulapati requested a review from a team April 4, 2022 06:23
@Pothulapati Pothulapati changed the title [installer] Displable definitely-gp by default [installer] Disable definitely-gp by default Apr 4, 2022
@github-actions github-actions bot added the team: delivery Issue belongs to the self-hosted team label Apr 4, 2022
@Pothulapati Pothulapati marked this pull request as draft April 4, 2022 06:24
mrsimonemms
mrsimonemms previously approved these changes Apr 4, 2022
@Pothulapati
Copy link
Contributor Author

/werft run with-clean-slate-deployment

@Pothulapati Pothulapati force-pushed the tar/disable-definitely-gp branch 2 times, most recently from 4adac94 to 63c3969 Compare April 5, 2022 12:35
@Pothulapati
Copy link
Contributor Author

Pothulapati commented Apr 5, 2022

Was able to verify that after this change, Open Vue Workspace on preview branch runs yarn install && yarn run build instead of what's in definitely-gp like on main's environment

With this change, preview environments will not be using definitely-gp configs anymore.

Will mark the PR ready for review, once I also verify the same for prod!

@geropl
Copy link
Member

geropl commented Apr 8, 2022

@Pothulapati We should also adjust:

@geropl geropl requested a review from a team April 8, 2022 08:00
@geropl geropl added the team: webapp Issue belongs to the WebApp team label Apr 8, 2022
@geropl geropl self-assigned this Apr 8, 2022
Fixes #8740

`definitely-gp` is being deprecated soon, and hence
it is important to be disabled by default. Once it
is fully deprecated, even this option has to be removed.

For now, The following changes have been made:

- Update the `definitelyGpDisabled` option to be true, Thus
  disabling it by default both in the `installer` and `chart`.
- Update the airgap docs to remove a mention of this.

Signed-off-by: Tarun Pothulapati <[email protected]>
@Pothulapati Pothulapati force-pushed the tar/disable-definitely-gp branch from 63c3969 to 7fe9318 Compare April 8, 2022 08:42
@Pothulapati Pothulapati marked this pull request as ready for review April 8, 2022 08:48
@Pothulapati
Copy link
Contributor Author

Pothulapati commented Apr 8, 2022

/hold until https://github.com/gitpod-io/ops/pull/1741 is merged! :)

Copy link
Contributor

@mrsimonemms mrsimonemms left a comment

Choose a reason for hiding this comment

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

/hold

Asked a question about changing the Helm chart type. If it's fine, happy for you to unhold

@@ -300,7 +300,7 @@ components:
minAgePrebuildDays: 7
contentRetentionPeriodDays: 21
contentChunkLimit: 1000
definitelyGpDisabled: "false"
definitelyGpDisabled: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this ok changing the type from a string to a boolean?

Copy link
Contributor Author

@Pothulapati Pothulapati Apr 11, 2022

Choose a reason for hiding this comment

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

Yep, can confirm that we aren't using it anywhere to toggle something, but just passing it down into the server-configmap, and follow the same pattern there like other boolean values (soemthing like enableLocalApp)

@roboquat roboquat merged commit 1a4d2fb into main Apr 13, 2022
@roboquat roboquat deleted the tar/disable-definitely-gp branch April 13, 2022 06:16
@roboquat roboquat added the deployed: webapp Meta team change is running in production label Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production release-note size/XS team: delivery Issue belongs to the self-hosted team team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[installer] Disable definitely-gp by default
4 participants