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 Golang-based deploy-cli #1669

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

Conversation

mquhuy
Copy link
Member

@mquhuy mquhuy commented Apr 15, 2024

What this PR does / why we need it:
This package does the jobs that are currently handled by deploy.sh. It will help installing BMO, Ironic with suitable configuration.

This PR has been successfully tested here: metal3-io/metal3-dev-env#1447

Co-author: @maxrantil

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kashifest for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@mquhuy mquhuy marked this pull request as draft April 15, 2024 10:27
@metal3-io-bot metal3-io-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. labels Apr 15, 2024
@mquhuy mquhuy force-pushed the mquhuy/deploy-cli branch 2 times, most recently from 0b80030 to 74088ff Compare April 19, 2024 08:44
@metal3-io-bot metal3-io-bot removed the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Apr 19, 2024
@mquhuy mquhuy marked this pull request as ready for review April 19, 2024 08:49
@metal3-io-bot metal3-io-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 19, 2024
@mquhuy mquhuy force-pushed the mquhuy/deploy-cli branch 7 times, most recently from 6395f97 to e5632a8 Compare April 24, 2024 06:43
@kashifest
Copy link
Member

@metal3-io-bot metal3-io-bot added the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Apr 26, 2024
@Rozzii
Copy link
Member

Rozzii commented May 6, 2024

/cc @dtantsur @elfosardo @zaneb I think you would like to check this out also

@metal3-io-bot
Copy link
Contributor

@Rozzii: GitHub didn't allow me to request PR reviews from the following users: I, to, out, check, this, also, would, like, you, think.

Note that only metal3-io members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @dtantsur @elfosardo @zaneb I think you would like to check this out also

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.

@metal3-io-bot metal3-io-bot removed the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label May 8, 2024
@mquhuy
Copy link
Member Author

mquhuy commented May 8, 2024

/test metal3-bmo-e2e-test-pull

@mquhuy
Copy link
Member Author

mquhuy commented May 8, 2024

cc @adilGhaffarDev @lentzi90 @Rozzii @kashifest

/cc @adilGhaffarDev @lentzi90 @Rozzii @kashifest
Just so that you guys are added to reviewers list

@mquhuy mquhuy force-pushed the mquhuy/deploy-cli branch 4 times, most recently from 9cd23ab to 9fe6024 Compare August 12, 2024 15:24
@metal3-io-bot metal3-io-bot added the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Aug 12, 2024
@metal3-io-bot metal3-io-bot removed the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Aug 12, 2024
@mquhuy mquhuy force-pushed the mquhuy/deploy-cli branch 2 times, most recently from 675eb64 to e8722d4 Compare August 13, 2024 06:29
Copy link
Member

@NymanRobin NymanRobin 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 just some small things I noticed 😄

config/README.md Outdated Show resolved Hide resolved
hack/tools/deploy-cli/main.go Outdated Show resolved Hide resolved
hack/tools/deploy-cli/deploy-cli.go Outdated Show resolved Hide resolved
ironic-deployment/README.md Outdated Show resolved Hide resolved
@tuminoid tuminoid removed this from the BMO - v0.7.0 milestone Aug 14, 2024
@tuminoid
Copy link
Member

I has open comments etc as well, but in general I don't want this in BMO 0.7 yet, IMO better merge it only after we've cut the release, so it can have a cycle to be tested, polished and integrated.
/hold

Let me know if you disagree.

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 14, 2024
@mquhuy
Copy link
Member Author

mquhuy commented Aug 14, 2024

I has open comments etc as well, but in general I don't want this in BMO 0.7 yet, IMO better merge it only after we've cut the release, so it can have a cycle to be tested, polished and integrated. /hold

Let me know if you disagree.

I'm not sure what you mean by "cut the release"?

IMO waiting for a whole release to merge this is a waste of time. It's passed all CI tests, so if we don't merge it and let people use it, how can we further test it then? We still keep deploy.sh, and use it in CI, so this new package is n't gonna harm anything. It's not a part of BMO code either.

Edit: Sorry now I think I got your point. If it just means we will wait till after 0.7 release, then we merge this, I wouldn't mind. Anw, as I said, it wouldn't hurt to have it in 0.7 either.

@mquhuy mquhuy force-pushed the mquhuy/deploy-cli branch 2 times, most recently from fc29d0f to 6cd48bd Compare August 14, 2024 07:16
@tuminoid
Copy link
Member

I has open comments etc as well, but in general I don't want this in BMO 0.7 yet, IMO better merge it only after we've cut the release, so it can have a cycle to be tested, polished and integrated. /hold
Let me know if you disagree.

I'm not sure what you mean by "cut the release"?

IMO waiting for a whole release to merge this is a waste of time. It's passed all CI tests, so if we don't merge it and let people use it, how can we further test it then? We still keep deploy.sh, and use it in CI, so this new package is n't gonna harm anything. It's not a part of BMO code either.

Edit: Sorry now I think I got your point. If it just means we will wait till after 0.7 release, then we merge this, I wouldn't mind. Anw, as I said, it wouldn't hurt to have it in 0.7 either.

Yes, I meant 0.7, but if its not replacing deploy.sh, and deploy.sh is still the documented way, then it doesn't matter so much.

I was rather thinking that we make this one replace deploy.sh after we've cut 0.7, so it gets tested in CI for a release cycle as primary tool, and there wouldn't be two tools to maintain.

How does that sound?

@mquhuy
Copy link
Member Author

mquhuy commented Aug 14, 2024

I was rather thinking that we make this one replace deploy.sh after we've cut 0.7, so it gets tested in CI for a release cycle as primary tool, and there wouldn't be two tools to maintain.

How does that sound?

Yep that would be great! We will have to do that change in dev-env though, so doesn't matter if we merge this PR or not.

@tuminoid
Copy link
Member

I was rather thinking that we make this one replace deploy.sh after we've cut 0.7, so it gets tested in CI for a release cycle as primary tool, and there wouldn't be two tools to maintain.
How does that sound?

Yep that would be great! We will have to do that change in dev-env though, so doesn't matter if we merge this PR or not.

Yes I'm aware of that. However we need to maintain this in 0.7 if we merge it before cutting release, so I think we are agreeing on merging only after 0.7?

@mquhuy
Copy link
Member Author

mquhuy commented Aug 14, 2024

Yes I'm aware of that. However we need to maintain this in 0.7 if we merge it before cutting release, so I think we are agreeing on merging only after 0.7?

Yeah let's merge after 0.7 then

@metal3-io-bot metal3-io-bot added the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Aug 14, 2024
@metal3-io-bot metal3-io-bot removed the needs-rebase Indicates that a PR cannot be merged because it has merge conflicts with HEAD. label Aug 14, 2024
Signed-off-by: Max Rantil <max.rantil@est.tech>

Signed-off-by: Huy Mai <huy.mai@est.tech>
@mquhuy
Copy link
Member Author

mquhuy commented Sep 3, 2024

/unhold We have BMO 0.8 released.

@mquhuy
Copy link
Member Author

mquhuy commented Sep 3, 2024

/unhold

@metal3-io-bot metal3-io-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
Status: BMO WIP
Development

Successfully merging this pull request may close these issues.

8 participants