Skip to content

Commit

Permalink
Merge pull request #182 from cobbler/blog/add-repo-entry
Browse files Browse the repository at this point in the history
Blog: Add entry for community repos
  • Loading branch information
SchoolGuy authored Jul 4, 2024
2 parents 45572ae + 975e73d commit 714e846
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: build

on: pull_request

permissions:
contents: read

jobs:
jekyll:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
# Standard usage
- uses: lemonarc/jekyll-action@1.0.0
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
# https://github.com/actions/configure-pages
uses: actions/configure-pages@v5
- name: Build
# https://github.com/actions/jekyll-build-pages
uses: actions/jekyll-build-pages@v1
68 changes: 68 additions & 0 deletions _posts/2024/2024-07-04-community-repositories.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
layout: post
title: Official community repositories
author: Enno
summary: OBS based community repositories for RPMs and DEBs
---

After a long time of not being able to provide community repositories that allow for seamless updates of Cobbler
versions, we can finally announce that they are back!

Here are the link for the different Cobbler versions[^1]:

- Cobbler 3.0.x: <https://software.opensuse.org/download/package?package=cobbler&project=systemsmanagement%3Acobbler%3Arelease30>
- Cobbler 3.1.x: <https://software.opensuse.org/download/package?package=cobbler&project=systemsmanagement%3Acobbler%3Arelease31>
- Cobbler 3.2.x: <https://software.opensuse.org/download/package?package=cobbler&project=systemsmanagement%3Acobbler%3Arelease32>
- Cobbler 3.3.x: <https://software.opensuse.org/download/package?package=cobbler&project=systemsmanagement%3Acobbler%3Arelease33>

These repositories (and future ones for newer version of Cobbler) can be also found on our Website:

- Cobbler 3: https://cobbler.github.io/downloads/2.x.x.html
- Cobbler 2: https://cobbler.github.io/downloads/3.x.x.html

In case you want to build the packages from source or locally for yourself you can find the instructions here:
https://cobbler.readthedocs.io/en/latest/installation-guide.html

### How to use the OBS repositories with the major package providers?

OBS repositories offer the benefit that it automatically rebuilds your package based on updates of transitive
dependencies. As such you can always be sure that your package is compatible with the installed software on your system.

#### openSUSE

```shell
zypper addrepo https://download.opensuse.org/repositories/systemsmanagement:cobbler:<cobbler branch>/<os version>/systemsmanagement:cobbler:<cobbler branch>.repo
zypper refresh
zypper install cobbler
```

#### RedHat based distributions

```shell
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/systemsmanagement:cobbler:<cobbler branch>/<os version>/systemsmanagement:cobbler:<cobbler branch>.repo
yum install cobbler
```

#### Ubuntu

```shell
echo 'deb http://download.opensuse.org/repositories/systemsmanagement:/cobbler:/<cobbler branch>/<os version>/ /' | sudo tee /etc/apt/sources.list.d/systemsmanagement:cobbler:<cobbler branch>.list
curl -fsSL https://download.opensuse.org/repositories/systemsmanagement:cobbler:<cobbler branch>/<os version>/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/systemsmanagement_cobbler_<cobbler branch>.gpg > /dev/null
sudo apt update
sudo apt install cobbler
```

### Closing remarks

We do hope that those repositories find wider adoption for those people that either need a specific version of Cobbler
or don't have Cobbler submitted in their operating system. Please do request support for new operating systems as a
[GitHub Issue](https://github.com/cobbler/cobbler/issues/new?assignees=&labels=enhancement&projects=&template=02_feature_request.md&title=).

Please don't attempt to use the RPMs for operating systems that they are not built for. It will cause issues that are
hard to debug. We are attempting to progress a container based release for Cobbler that enables everyone to use it on
their operating system of choice.

### Footnotes

[^1]: These repositories are provided without any kind of warranty and "as is".

0 comments on commit 714e846

Please sign in to comment.