Skip to content

WIP: [Installer]: add a render apply command #8379

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

Closed
wants to merge 2 commits into from

Conversation

mrsimonemms
Copy link
Contributor

Description

This command exists to handle cleanup of unused resources.

For example, if the config goes from in-cluster DB to external, the render command doesn't delete the old MySQL resources from the cluster. This PR exists provides that functionality.

Fundamentally, this packages the files as a Helm folder in a temp folder and then installs it via Helm. By using Helm, we simplify the implementation and benefit from their testing. This does mean that the installation will appear in helm ls -aA, but I don't see that as being a major issue.

How to test

Release Notes

[Installer]: add a `render apply` command

Documentation

@codecov
Copy link

codecov bot commented Feb 22, 2022

Codecov Report

Merging #8379 (24fe2f2) into main (4820e80) will decrease coverage by 0.82%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##            main   #8379      +/-   ##
========================================
- Coverage   8.41%   7.59%   -0.83%     
========================================
  Files         33      31       -2     
  Lines       2340    2172     -168     
========================================
- Hits         197     165      -32     
+ Misses      2138    2004     -134     
+ Partials       5       3       -2     
Flag Coverage Δ
components-gitpod-cli-app 11.17% <ø> (ø)
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 ?
install-installer-raw-app 4.58% <ø> (ø)

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

Impacted Files Coverage Δ
components/local-app/pkg/auth/pkce.go
components/local-app/pkg/auth/auth.go

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 4820e80...24fe2f2. Read the comment docs.

@stale
Copy link

stale bot commented Mar 6, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 6, 2022
@mrsimonemms mrsimonemms closed this Mar 7, 2022
@mrsimonemms mrsimonemms deleted the sje/installer-apply branch March 7, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress meta: stale This issue/PR is stale and will be closed soon release-note size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants