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

[server] ensure that user that has PVC enabled will not force prebuilds into PVC use #12165

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

sagor999
Copy link
Contributor

@sagor999 sagor999 commented Aug 16, 2022

Description

ensure that user that has PVC enabled will not force prebuilds to use them on projects that don't have PVC turned on

Related Issue(s)

Fixes #11769

How to test

Release Notes

none

Documentation

Werft options:

  • /werft with-preview

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-pavel-11769.1 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat added size/M and removed size/S labels Aug 16, 2022
@sagor999 sagor999 force-pushed the pavel/11769 branch 2 times, most recently from 6c1da16 to cc19ac7 Compare August 17, 2022 00:52
@sagor999 sagor999 marked this pull request as ready for review August 17, 2022 00:53
@sagor999 sagor999 requested a review from a team August 17, 2022 00:53
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Aug 17, 2022
// If PVC is disabled for prebuilds, we need to remove the PVC feature flag.
// This is necessary to ensure if user has PVC enabled on their account, that they
// will not hijack prebuild with PVC and make everyone who use this prebuild to auto enroll into PVC feature.
featureFlags = featureFlags.filter((f) => f !== "persistent_volume_claim");
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

💯

@geropl geropl self-assigned this Aug 17, 2022
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.

Code LGTM*

/hold

*but holding bc I'd love to see this nit fixed. 🙏

…ds to use them on projects that don't have PVC turned on
@sagor999
Copy link
Contributor Author

/unhold

@roboquat roboquat merged commit 6687af6 into main Aug 17, 2022
@roboquat roboquat deleted the pavel/11769 branch August 17, 2022 18:02
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Aug 18, 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 deployed Change is completely running in production release-note-none size/S team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PVC] trigger prebuild affected all the users without PVC feature flag enabled
4 participants