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

🌱 Only use Kustomize to install Ironic and BMO in e2e tests #2240

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mquhuy
Copy link
Member

@mquhuy mquhuy commented Jan 14, 2025

Kustomize has been taken into use for upgrade test, but we didn't take it into use in pivoting tests. This PR takes kustomize into use everywhere, so that we can remove the custom installIronicBMO().

@metal3-io-bot metal3-io-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 14, 2025
@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/cc @adilGhaffarDev @tuminoid

@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/cc @lentzi90 @Sunnatillo

@mquhuy mquhuy force-pushed the mquhuy/use-kustomize-to-install-ironic-bmo-pivot-test branch 2 times, most recently from 9299a51 to 6907aa5 Compare January 14, 2025 07:56
@adilGhaffarDev
Copy link
Member

/test ?

@metal3-io-bot
Copy link
Contributor

@adilGhaffarDev: The following commands are available to trigger required jobs:

/test build
/test generate
/test gomod
/test manifestlint
/test markdownlint
/test metal3-centos-e2e-integration-test-main
/test metal3-ubuntu-e2e-integration-test-main
/test shellcheck
/test test
/test unit

The following commands are available to trigger optional jobs:

/test metal3-centos-e2e-basic-test-main
/test metal3-centos-e2e-feature-test-main-features
/test metal3-centos-e2e-feature-test-main-pivoting
/test metal3-centos-e2e-feature-test-main-remediation
/test metal3-e2e-1-29-1-30-upgrade-test-main
/test metal3-e2e-clusterctl-upgrade-test-main
/test metal3-ubuntu-e2e-basic-test-main
/test metal3-ubuntu-e2e-feature-test-main-features
/test metal3-ubuntu-e2e-feature-test-main-pivoting
/test metal3-ubuntu-e2e-feature-test-main-remediation

Use /test all to run the following jobs that were automatically triggered:

build
generate
gomod
manifestlint
unit

In response to this:

/test ?

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-sigs/prow repository.

@adilGhaffarDev
Copy link
Member

/test metal3-centos-e2e-feature-test-main-pivoting

@mquhuy mquhuy force-pushed the mquhuy/use-kustomize-to-install-ironic-bmo-pivot-test branch from 6907aa5 to 0f01e04 Compare January 14, 2025 07:59
@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/test metal3-centos-e2e-feature-test-main-pivoting

@mquhuy mquhuy force-pushed the mquhuy/use-kustomize-to-install-ironic-bmo-pivot-test branch from 0f01e04 to 27f096b Compare January 14, 2025 09:22
@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/test metal3-centos-e2e-feature-test-main-pivoting

Copy link
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

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

Nice cleanup!
/approve

SpecName: input.SpecName,
}
bmoKustomization := input.E2EConfig.GetVariable("BMO_RELEASE_LATEST")
By(fmt.Sprintf("Installing BMO from kustomization %s on the upgrade cluster", bmoKustomization))
Copy link
Member

Choose a reason for hiding this comment

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

"Upgrade cluster" is confusing to me. We call it bootstrap or source cluster in other places so I would suggest changing to that.

Suggested change
By(fmt.Sprintf("Installing BMO from kustomization %s on the upgrade cluster", bmoKustomization))
By(fmt.Sprintf("Installing BMO from kustomization %s on the bootstrap cluster", bmoKustomization))

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lentzi90

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 14, 2025
@mquhuy mquhuy force-pushed the mquhuy/use-kustomize-to-install-ironic-bmo-pivot-test branch from 27f096b to d39dd27 Compare January 14, 2025 09:53
@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/test metal3-centos-e2e-feature-test-main-pivoting

@adilGhaffarDev
Copy link
Member

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2025
@mquhuy mquhuy force-pushed the mquhuy/use-kustomize-to-install-ironic-bmo-pivot-test branch from d39dd27 to a35433c Compare January 14, 2025 11:39
@metal3-io-bot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2025
@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/test metal3-centos-e2e-feature-test-main-pivoting

@mquhuy mquhuy force-pushed the mquhuy/use-kustomize-to-install-ironic-bmo-pivot-test branch from a35433c to 6c7aa37 Compare January 14, 2025 11:43
Kustomize has been taken into use for upgrade test, but we didn't take
it into use in pivoting tests. This PR takes kustomize into use
everywhere, so that we can remove the custom installIronicBMO().

Signed-off-by: Huy Mai <[email protected]>
@mquhuy mquhuy force-pushed the mquhuy/use-kustomize-to-install-ironic-bmo-pivot-test branch from 6c7aa37 to 7c25925 Compare January 14, 2025 11:45
@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/test metal3-centos-e2e-feature-test-main-pivoting

@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/test metal3-ubuntu-e2e-integration-test-main
/test metal3-centos-e2e-integration-test-main

@mquhuy
Copy link
Member Author

mquhuy commented Jan 14, 2025

/retest

1 similar comment
@mquhuy
Copy link
Member Author

mquhuy commented Jan 15, 2025

/retest

@metal3-io-bot
Copy link
Contributor

@mquhuy: 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
metal3-centos-e2e-integration-test-main 7c25925 link true /test metal3-centos-e2e-integration-test-main
metal3-centos-e2e-feature-test-main-pivoting 7c25925 link false /test metal3-centos-e2e-feature-test-main-pivoting
metal3-ubuntu-e2e-integration-test-main 7c25925 link true /test metal3-ubuntu-e2e-integration-test-main

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-sigs/prow repository. I understand the commands that are listed here.

@metal3-io-bot
Copy link
Contributor

@mquhuy: 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
metal3-centos-e2e-integration-test-main 7c25925 link true /test metal3-centos-e2e-integration-test-main
metal3-centos-e2e-feature-test-main-pivoting 7c25925 link false /test metal3-centos-e2e-feature-test-main-pivoting
metal3-ubuntu-e2e-integration-test-main 7c25925 link true /test metal3-ubuntu-e2e-integration-test-main

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-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants