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 support for openSUSE #2078

Open
ananace opened this issue Aug 18, 2023 · 2 comments
Open

Add support for openSUSE #2078

ananace opened this issue Aug 18, 2023 · 2 comments

Comments

@ananace
Copy link
Contributor

ananace commented Aug 18, 2023

Since it seems like RedHat is steadily teetering towards a deep dark hole, getting support for openSUSE (and therefore also SLES) would be much appreciated.

As a note, the EL8 RPM can be installed and used on an openSUSE Leap 15.5 system without any issues.

suse-test:/ # lsb_release -a
LSB Version:    n/a
Distributor ID: openSUSE
Description:    openSUSE Leap 15.5
Release:        15.5
Codename:       n/a
suse-test:/ # zypper info choria
Loading repository data...
Reading installed packages...


Information for package choria:
-------------------------------
Repository     : @System
Name           : choria
Version        : 0.27.0-1.el8
Arch           : x86_64
Vendor         : 
Installed Size : 44.6 MiB
Installed      : Yes
Status         : up-to-date
Source package : choria-0.27.0-1.el8.src
Upstream URL   : https://choria.io
Summary        : The Choria Orchestrator Server
Description    : 
    The Choria Orchestrator Server and Broker

    Please visit https://choria.io for more information

suse-test:/ # choria --version
0.27.0
@ripienaar
Copy link
Member

Agree that would be great but not sure it’s something I can do given time constraints happy to help a community member contribute that though.

It’s probably largely a copy/paste effort to add a packager (choria-io/packager) for it and once that is built packaging scripts (packager directory in this repo) along with the needed GitHub actions.

@ananace
Copy link
Contributor Author

ananace commented Aug 18, 2023

I can have a look at it later, but until then it seems perfectly possible to just use the EL8 repo on openSUSE as a stop-gap measure;

suse-test:/etc/zypp/repos.d # cat choria-release.repo 
[choria-release]
name=Choria Orchestrator Releases
enabled=True
gpgcheck=True
repo_gpgcheck=True
gpgkey=https://choria.io/RELEASE-GPG-KEY
metadata_expire=300
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
sslverify=True
mirrorlist=http://mirrorlists.choria.io/yum/release/el/8/x86_64.txt
suse-test:/etc/zypp/repos.d # zypper install choria
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  choria

1 new package to install.
Overall download size: 12.9 MiB. Already cached: 0 B. After the operation, additional 44.6 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): 
Retrieving: choria-0.27.0-1.el8.x86_64 (Choria Orchestrator Releases)                                                                                                                                                                                                                                                                                   (1/1),  12.9 MiB    
Retrieving: choria-0.27.0-1.el8.x86_64.rpm ...[done (411.1 KiB/s)]

Checking for file conflicts: ...[done]
(1/1) Installing: choria-0.27.0-1.el8.x86_64 ...[done]
suse-test:/etc/zypp/repos.d # choria --version
0.27.0

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

No branches or pull requests

2 participants