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]: put component ownership under webapp/workspace teams #7839

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

mrsimonemms
Copy link
Contributor

Description

Create a components-webapp and components-workspace package to make the Kubernetes objects subject to per-team approval.

A couple of observations as to why I did it the way I did:

  • I originally wanted to put it in format /pkg/components/workspace/<packages>, but this caused cyclic dependency issues. The use of a components-<package> is a way of avoiding this, even though it's arguably a less elegant solution. I'm open to ideas on alternative ways of achieving this
  • All the components-workspace packages are owned by @gitpod-io/engineering-workspace. The components-webapp packages are owned by different teams, but I have elected to make the folder owned solely by @gitpod-io/engineering-webapp
  • The common components remain owned by @gitpod-io/engineering-self-hosted, so no changes are made here

Related Issue(s)

Fixes #7690

How to test

Release Notes

[installer]: put component ownership under webapp/workspace teams

Documentation

@roboquat roboquat added release-note team: delivery Issue belongs to the self-hosted team size/L labels Jan 26, 2022
@mrsimonemms
Copy link
Contributor Author

/assign @csweichel

@mrsimonemms
Copy link
Contributor Author

/hold

Approval is required from @gitpod-io/engineering-self-hosted to go in but would like @csweichel to give his overview before it's merged in

@codecov
Copy link

codecov bot commented Jan 26, 2022

Codecov Report

Merging #7839 (2780766) into main (31dfc5b) will decrease coverage by 3.64%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             main   #7839      +/-   ##
=========================================
- Coverage   11.46%   7.82%   -3.65%     
=========================================
  Files          20      31      +11     
  Lines        1177    2173     +996     
=========================================
+ Hits          135     170      +35     
- Misses       1039    2001     +962     
+ Partials        3       2       -1     
Flag Coverage Δ
components-gitpod-cli-app 10.20% <ø> (ø)
components-local-app-app-darwin-amd64 ?
components-local-app-app-darwin-arm64 ?
components-local-app-app-linux-amd64 ?
components-local-app-app-linux-arm64 ?
components-local-app-app-windows-386 ?
components-local-app-app-windows-amd64 ?
components-local-app-app-windows-arm64 ?
installer-raw-app 5.75% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
components/local-app/pkg/auth/auth.go
components/local-app/pkg/auth/pkce.go
installer/pkg/common/ca.go 0.00% <0.00%> (ø)
installer/pkg/components/ws-manager/role.go 0.00% <0.00%> (ø)
installer/pkg/components/ws-manager/configmap.go 30.05% <0.00%> (ø)
installer/pkg/common/render.go 0.00% <0.00%> (ø)
installer/pkg/common/storage.go 0.00% <0.00%> (ø)
installer/pkg/components/ws-manager/tlssecret.go 0.00% <0.00%> (ø)
installer/pkg/common/objects.go 0.00% <0.00%> (ø)
installer/pkg/common/display.go 0.00% <0.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31dfc5b...2780766. Read the comment docs.

@mrsimonemms mrsimonemms requested review from a team January 26, 2022 11:26
@mrsimonemms mrsimonemms added the team: workspace Issue belongs to the Workspace team label Feb 1, 2022
@mrsimonemms
Copy link
Contributor Author

/unhold

- engineering-workspace

labels:
- "team: workspace"
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: new line. And other files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ordinarily I'd agree, but this is the case throughout the OWNERS files - in fact, this is copied directly over from them

@roboquat
Copy link
Contributor

roboquat commented Feb 1, 2022

LGTM label has been added.

Git tree hash: 7a4d510a8130774cbc9e65c79c7c2ab040b36328

@princerachit
Copy link
Contributor

looks good from workspace perspective

@mrsimonemms
Copy link
Contributor Author

/approve

@roboquat
Copy link
Contributor

roboquat commented Feb 1, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MrSimonEmms, princerachit

Associated issue: #7690

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roboquat roboquat merged commit 388bc6b into main Feb 1, 2022
@roboquat roboquat deleted the sje/installer-component-owners branch February 1, 2022 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved release-note size/L team: delivery Issue belongs to the self-hosted team team: workspace Issue belongs to the Workspace team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[installer] Make the Kubernetes objects subject to per-team approval
6 participants