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-rpms: Use common target to build rpms #66

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

anoopcs9
Copy link
Collaborator

@anoopcs9 anoopcs9 commented Jul 22, 2024

With samba-in-kubernetes/samba-build#48 we combine version specific build targets for CentOS using a general makefile rule.

depends on samba-in-kubernetes/samba-build#48

With samba-in-kubernetes/samba-build#48 we
combine version specific build targets for CentOS using a general
makefile rule.
Copy link

dpulls bot commented Jul 22, 2024

🎉 All dependencies have been resolved !

Copy link
Collaborator

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

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

Generally a good and logical change, but I think something is missed here. See inline.

make "test.rpms.${PLATFORM}${VERSION}" "refspec=${SAMBA_BRANCH}"
fi
make "rpms.${PLATFORM}" "vers=${VERSION}" "refspec=${SAMBA_BRANCH}"
make "test.rpms.${PLATFORM}" "vers=${VERSION}" "refspec=${SAMBA_BRANCH}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was expecting to see make rpms.${PLARFORM} instead of an if/else branching.
Doesn't keeping the if/else branch defeat the purpose of this PR and the preparatory samba-build PR?

I suggest to remove the if-else branch and only use make rpms.${PLATFORM} directly.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I was not looking right, confused removal with addition. forget this review...

Copy link
Collaborator

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

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

I withdraw my previous change request. This is exactly how it should be. - apologies!

LGTM!

make "test.rpms.${PLATFORM}${VERSION}" "refspec=${SAMBA_BRANCH}"
fi
make "rpms.${PLATFORM}" "vers=${VERSION}" "refspec=${SAMBA_BRANCH}"
make "test.rpms.${PLATFORM}" "vers=${VERSION}" "refspec=${SAMBA_BRANCH}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was not looking right, confused removal with addition. forget this review...

@obnoxxx obnoxxx merged commit a451bd2 into samba-in-kubernetes:main Jul 23, 2024
2 checks passed
@anoopcs9 anoopcs9 deleted the use-common-src-centos branch July 26, 2024 11:28
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