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

build: Add debian based server image build #193

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

obnoxxx
Copy link
Collaborator

@obnoxxx obnoxxx commented Jan 8, 2025

this adds debian based server image build flavor.

trigger with

make KIND=server OS_NAME=debian build-image 

@obnoxxx obnoxxx marked this pull request as draft January 8, 2025 18:42
Copy link
Collaborator

@phlogistonjohn phlogistonjohn left a comment

Choose a reason for hiding this comment

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

Comments on 1st patch only.

@@ -31,26 +31,34 @@ install_sambacc() {


local action=install-from-copr-repo

Copy link
Collaborator

Choose a reason for hiding this comment

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

extra whitespace

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

gone

Comment on lines 37 to 39
elif [ "${#wheels[@]}" -eq 1 ]; then
fi
if [ "${#wheels[@]}" -eq 1 ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

why the change from an elif?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it was unintentional, part of a bigger change that somehow did not make it into the PR but should be back now.

Comment on lines 48 to 49


Copy link
Collaborator

Choose a reason for hiding this comment

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

extra whitespace

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

gone

action=install-from-repo
fi
echo "no local sambacc installation source found. falling back to copr install."
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think this line belongs there. It will pretty much always print out, even in cases where it not true.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Originally, I had implemented a changed/improved logic for a preference order of installation sources that would only trigger this message when it was actually true.

Somehow parts of that change got dropped from the patch in this PR.

Now I added it back.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

now this is in #195

@obnoxxx obnoxxx force-pushed the add-debian-image branch 3 times, most recently from cf787c7 to ef45ee2 Compare January 9, 2025 11:28
@obnoxxx
Copy link
Collaborator Author

obnoxxx commented Jan 9, 2025

I am thinking of maybe splitting the first commit out into a separate PR and adding debian flavor for more image builds

@obnoxxx
Copy link
Collaborator Author

obnoxxx commented Jan 9, 2025

this is now based on #195

@phlogistonjohn
Copy link
Collaborator

So, I'm going to be honest and say that I'm not super enthusiastic about adding a new distro image - especially one that no one external to the project has requested. This does not mean I'm firmly opposed, but it seems like a future maintenance burden with little to no immediate payoff. Plus, I find that we already have enough variations that things are complicated to wrangle.

We have the fedora builds which are tested and released.
We have centos builds which are tested, not released, but consumed by the ceph project.
We have opensuse builds that serve as a feeder for suse's own builds, and are tested, but I have little insight to how they're used.

On top of all those we have the various nightly and dev-build subvariants. I would rather get a stronger handle on the stuff we're already doing, including getting the arm64 builds included in the regular build process, and then getting the centos variants part of the release process before adding debian --- UNLESS there's some big demand that I'm unaware of.

Copy link

mergify bot commented Jan 10, 2025

This pull request now has conflicts with the target branch. Please resolve these conflicts and force push the updated branch.

this triggers the debian based server build:

make KIND=server OS_NAME=debian build-image

Signed-off-by: Michael Adam <[email protected]>
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