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

add toolchainclusterresources controller #1007

Merged
merged 14 commits into from
Apr 17, 2024

Conversation

mfrancisc
Copy link
Contributor

@mfrancisc mfrancisc commented Apr 3, 2024

Enable the toolchainclusterresources controller that will create all the required resources for the toolchaincluster CR.
The resources are defined as embed.FS type in deploy.ToolchainClusterTemplateFS variable

The add-cluster script will be cleaned up once this PR and the equivalent one in member-operator will be merged.

e2e pr: codeready-toolchain/toolchain-e2e#945

Depends on: codeready-toolchain/toolchain-common#385

Jira: https://issues.redhat.com/browse/KUBESAW-24

@rsoaresd
Copy link
Contributor

rsoaresd commented Apr 4, 2024

Hello, @mfrancisc

I noticed that it is failing with EOF:

Error:      	Received unexpected error:
        	            	Get "https://host-operator-metrics-service-toolchain-host-04125046.apps.ci-op-rv2x2c9b-1de72.devsandboxci.devcluster.openshift.com/metrics": EOF
        	Test:       	TestAfterMigration

The related PR in member-operator is failing with EOF too:

Error:      	Received unexpected error:
        	            	Post "https://registration-service-toolchain-host-04125414.apps.ci-op-wsw002nh-887d4.devsandboxci.devcluster.openshift.com/api/v1/signup": EOF
        	Test:       	TestAfterMigration/run_migration_setup_with_new_operator_versions_for_compatibility

@mfrancisc
Copy link
Contributor Author

I noticed that it is failing with EOF

@rsoaresd thanks for investigating and pointing this out 🙏

I'm looking into it, trying to reproduce locally , but having some other dev infrastructure issues atm 🤦

@rsoaresd
Copy link
Contributor

rsoaresd commented Apr 4, 2024

@mfrancisc I can try to reproduce locally too :)

I am tracking the occurrences through this search query

@mfrancisc
Copy link
Contributor Author

I am tracking the occurrences through this search query

@rsoaresd nice! I wasn't aware of this search tool 😮 . Thanks for sharing!

It seems that it happened only on my PR, so maybe related to my changes 🤔

Copy link
Contributor

@alexeykazakov alexeykazakov left a comment

Choose a reason for hiding this comment

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

Looks good. However there is a bit of inconsistency in how we organize templates in the host and member operators.
In the host we keep them in /deploy/templates while in the member there are in /deploy. Not sure if we want to do anything about that though.
But anyway we can address it in a separate PR if we want.

@openshift-ci openshift-ci bot added the approved label Apr 4, 2024
@mfrancisc
Copy link
Contributor Author

However there is a bit of inconsistency in how we organize templates in the host and member operators.
In the host we keep them in /deploy/templates while in the member there are in /deploy

@alexeykazakov thanks for the review and good point. I've updated member-operator to store the templates under deploy/templates/ in codeready-toolchain/member-operator@7bb3fb9

@mfrancisc
Copy link
Contributor Author

/retest

Copy link

openshift-ci bot commented Apr 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexeykazakov, MatousJobanek, mfrancisc

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:
  • OWNERS [MatousJobanek,alexeykazakov]

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

Copy link

sonarcloud bot commented Apr 17, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

Copy link

codecov bot commented Apr 17, 2024

Codecov Report

Merging #1007 (f697950) into master (4d53fb0) will increase coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1007      +/-   ##
==========================================
+ Coverage   84.85%   84.87%   +0.01%     
==========================================
  Files          55       55              
  Lines        5066     5066              
==========================================
+ Hits         4299     4300       +1     
+ Misses        584      583       -1     
  Partials      183      183              

see 1 file with indirect coverage changes

@mfrancisc mfrancisc merged commit 8ea73da into codeready-toolchain:master Apr 17, 2024
11 of 13 checks passed
@mfrancisc mfrancisc deleted the toochainclusterc branch April 17, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants