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

Package manager support: RPM #1142

Closed
craigbox opened this issue Mar 12, 2023 · 8 comments
Closed

Package manager support: RPM #1142

craigbox opened this issue Mar 12, 2023 · 8 comments
Labels
feature New feature or request

Comments

@craigbox
Copy link
Contributor

Support at least yum and zypper installations by building an RPM package with every Kubescape release and updating package indexes.

@HollowMan6
Copy link
Contributor

HollowMan6 commented Mar 13, 2023

Package installation should now be available already with dnf/zypper (according to the guides here):

zypper addrepo https://download.opensuse.org/repositories/home:kubescape/openSUSE_Tumbleweed/home:kubescape.repo
zypper refresh
zypper install kubescape
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:kubescape/Fedora_37/home:kubescape.repo
dnf install kubescape

(yum actually has been superseded by dnf)

@craigbox
Copy link
Contributor Author

Great! The end state should be a public project called 'kubescape', taking binaries that come from our release pipeline and automatically updating them when we do a release.

(Then we can look at SLSA compliance too 😁)

I suggest that you create some pages on the GitHub wiki that explain how the build pipeline works, from release through OpenSUSE and then to a user's installation.

kubescape.spec should be in this repo and synced to the build service if possible.

@HollowMan6
Copy link
Contributor

Hi @craigbox ! Yeah, we can create an account with the user name kubescape as the org account (I wonder if the org admin would like to help create this account, as I guess it requires some email verification) https://idp-portal.suse.com/univention/self-service/#page=createaccount

After we have the account, I will begin transfering the package located in my project to the org project (https://build.opensuse.org/package/show/home:hollowman/kubescape -> https://build.opensuse.org/package/show/home:kubescape/kubescape)

In addition, as you mentioned "kubescape.spec should be in this repo", I'm actually open to two options that whether to merge everything at https://github.com/HollowMan6/kubescape-deb-rpm into this kubescape main repo, or just keep it in a separate repo just like the homebrew tap one. If it's the former one, I can help submit a PR, and if it's the later, I can help transfer that repo into the kubescape org.

For SLSA compliance, I think the build process now is at least SLSA 2 and maybe already SLSA 3 compliant, as it's fully scripted and can synced to the open build service automatically with the help of the CI here: https://github.com/HollowMan6/kubescape-deb-rpm/actions/runs/4402322353

After everything above have settled down, I will create some pages on the GitHub wiki to explain how the build pipeline works, from release through OpenSUSE and then to a user's installation.

@craigbox
Copy link
Contributor Author

I've registered an account named kubescape and I'm awaiting guidance from someone at SUSE as to how I can use this account without home: as a prefix.

@HollowMan6
Copy link
Contributor

GitHub wiki is now ready to explain how the build pipeline works, from release through OpenSUSE and then to a user's installation.

@craigbox
Copy link
Contributor Author

great: lets get the packaging repo under kubescape and we can close this out!

@HollowMan6
Copy link
Contributor

@craigbox Just like #1143 , I think we can close this as well.

@craigbox
Copy link
Contributor Author

Tested OK with Fedora 37 and 38 images.

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

No branches or pull requests

2 participants