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

Remove the migration step to add labels to creds secret for ToolchainClusters. #400

Merged

Conversation

metlos
Copy link
Contributor

@metlos metlos commented Jun 5, 2024

$TITLE.

With all the clusters already updated, we can remove this migration step. IMHO, we should KEEP the test for the presence of the labels in toolchain-e2e (https://github.com/codeready-toolchain/toolchain-e2e/blob/master/test/e2e/toolchaincluster_test.go#L43) until we actually flip the logic and create the ToolchainClusters based on the secrets.

Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.98%. Comparing base (6a80f65) to head (4629d93).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #400      +/-   ##
==========================================
+ Coverage   77.79%   77.98%   +0.19%     
==========================================
  Files          47       47              
  Lines        1977     1958      -19     
==========================================
- Hits         1538     1527      -11     
+ Misses        378      373       -5     
+ Partials       61       58       -3     
Files Coverage Δ
...rs/toolchaincluster/toolchaincluster_controller.go 63.63% <ø> (+2.09%) ⬆️

Copy link

sonarcloud bot commented Jun 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
6.7% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@MatousJobanek MatousJobanek left a comment

Choose a reason for hiding this comment

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

cool 👍

@MatousJobanek
Copy link
Contributor

IMHO, we should KEEP the test for the presence of the labels in toolchain-e2e (https://github.com/codeready-toolchain/toolchain-e2e/blob/master/test/e2e/toolchaincluster_test.go#L43) until we actually flip the logic and create the ToolchainClusters based on the secrets.

fully agree with you 👍

@metlos metlos merged commit b4e25fa into codeready-toolchain:master Jun 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants