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

WIP Update resources in Hub Metrics collection & Fix e2e #1351

Closed
wants to merge 23 commits into from

Conversation

coleenquadros
Copy link
Contributor

@coleenquadros coleenquadros commented Feb 27, 2024

  • Toggling hubselfmanagement multiple times creates addon-observability namespace in hub cluster intermittently. This PR ensure we skip any reconcile in MCO touching local-cluster object
  • Update hub metrics collections resources when modified
  • FIx e2e tests

@coleenquadros coleenquadros changed the title avoid addon namespace avoid addon-observability namespace in Hub Feb 27, 2024
@coleenquadros coleenquadros changed the title avoid addon-observability namespace in Hub Update resources in Hub Metrics collection & Fix e2e Feb 28, 2024
@coleenquadros coleenquadros changed the title Update resources in Hub Metrics collection & Fix e2e WIP Update resources in Hub Metrics collection & Fix e2e Feb 28, 2024
coleenquadros and others added 17 commits March 1, 2024 12:27
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
…#1353)

* scripts: Create script to install dependencies/tools

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* make: Add target to install build deps

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* make: Include go mod work and required deps in build step

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* ci: Remove extra operator-sdk install script

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* ci: Remove extra step which is now included in make target

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* make: run 'bundle' target and commit Dockerfile diff

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* scripts: Add kustomize as a build dependency

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* make: Add target to build mco bin locally

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* docs: Add dev documentation

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* git: Add ignore to generated dir

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

---------

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
* ci: Remove unreferenced scripts

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* test: Remove unused function call and code

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* test: Clean up test script

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* docs: Tidy up simulator docs

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

---------

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
* init

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add cm watcher

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* cleaning

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* change rbac-proxy image

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* fix namespaces names

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* fix unit tests

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* fix serviceMonitor namespace

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add e2e test debug info

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add mch-image-manifest debug info

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* fix

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* improve image replacement logging

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* fix call to image replacer

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add service monitor crd to kind e2e

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add debug logging oba e2e tests

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* improve logs, reduce volume

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* improve ci logs

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* improve ci logs

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* fix

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add oba logs

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* improve oba logging

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add unit tests

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add apiextensionsv1 scheme

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

* add resource version to crd update

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>

---------

Signed-off-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
* scripts: Add function to install KinD

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* make: Add target for e2e test tools

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* ci: Remove duplicate dep checks from script

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* make: Add bin dir to install deps

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* ci: Remove PATH overwrite and add tmp generated bin dir to git ignore

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* ci: Ensure required bins are copied to ec2-user

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

* ci: Fetch LATEST_SNAPSHOT and inject into prow env

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>

---------

Signed-off-by: Philip Gough <philip.p.gough@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
@coleenquadros
Copy link
Contributor Author

/retest

1 similar comment
@coleenquadros
Copy link
Contributor Author

/retest

Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Copy link

openshift-ci bot commented Mar 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: coleenquadros

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

Copy link

openshift-ci bot commented Mar 6, 2024

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

📝 Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

  • 853ae0d Merge branch 'main' into res_update
  • 32a53e7 Merge branch 'main' into res_update
  • 77934b3 Merge branch 'main' into res_update
  • c5438cf Delete test_cluster
  • be7596d Merge branch 'main' into res_update

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Copy link

sonarcloud bot commented Mar 6, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 70%)

See analysis details on SonarCloud

Copy link

openshift-ci bot commented Mar 6, 2024

@coleenquadros: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/test-e2e 77934b3 link true /test test-e2e
ci/prow/sonarcloud be7596d link true /test sonarcloud
ci/prow/e2e-kind be7596d link true /test e2e-kind

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@coleenquadros
Copy link
Contributor Author

continued here -> #1371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants