feat: add bareos-packages/ from-source .deb builder for Ubuntu 22–24#206
Closed
dark-vex wants to merge 35 commits intobarcus:masterfrom
Closed
feat: add bareos-packages/ from-source .deb builder for Ubuntu 22–24#206dark-vex wants to merge 35 commits intobarcus:masterfrom
dark-vex wants to merge 35 commits intobarcus:masterfrom
Conversation
- Created client/24-alpine with Alpine 3.22 base - Created storage/24-alpine with Alpine 3.22 base - Created webui/24-alpine with Alpine 3.22 base - Created api/24-alpine with Alpine 3.22 base - All images include appropriate docker-entrypoint.sh scripts - CI system configured to build for amd64 and arm64 architectures Resolves #11 Co-authored-by: Daniele De Lorenzi <dark-vex@users.noreply.github.com>
Alpine 3.20 and 3.22 don't include Bareos packages in their default repositories. This fixes the build failure by adding the Alpine edge community repository as a package source. Changes: - Updated all 22-alpine Dockerfiles (Alpine 3.20) to use edge repo - Updated all 24-alpine Dockerfiles (Alpine 3.22) to use edge repo - Affects: client, director-pgsql, storage, and webui images Fixes the build error: ERROR: unable to select packages: bareos (no such package) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Daniele De Lorenzi <dark-vex@users.noreply.github.com>
Bareos packages are not available in Alpine Linux repositories after version 3.16. Alpine 3.20 and 3.22 (and even the edge repository) do not contain Bareos packages. This commit downgrades all 22-alpine and 24-alpine images to use Alpine 3.16 as the base image, matching the working 21-alpine configuration. This ensures Bareos packages can be installed from Alpine's community repository. Changes: - Use Alpine 3.16 instead of 3.20 for all 22-alpine images - Use Alpine 3.16 instead of 3.22 for all 24-alpine images - Remove --repository=edge flag as it's not needed with 3.16 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Daniele De Lorenzi <dark-vex@users.noreply.github.com>
Add Bareos 24 Alpine images
Docker Compose V2 uses hyphens instead of underscores in container names. The bconsole exec step was referencing the old V1 name (bareos_bareos-dir_1) instead of the current V2 name (bareos-bareos-dir-1). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(ci): update container name for Docker Compose V2 naming convention
* fix(ci): upgrade mysql from 5.6 to 5.7 in alpine-mysql-v2 compose mysql:5.6 is EOL and fails to start on modern kernels (6.x). mysql:5.7 is compatible with Bareos 19 and works on Ubuntu 24.04 runners. fix(bareos): use versioned release tags for webui config downloads The webui-admin.conf file was removed from the bareos/bareos 'master' branch, causing all directors to crash on startup by saving 404 HTML as a Bareos config file. Fix per version: - v16/v17: remove download blocks entirely (files never existed upstream) - v18: use Release/18.2.12 - v19: use Release/19.2.13 - v20: use Release/20.0.9 - v21: use Release/21.1.11 - v22: use Release/22.1.8 - v24: use Release/24.0.10 * Added Claude.md Signed-off-by: Daniele De Lorenzi <2905124+dark-vex@users.noreply.github.com>
download.bareos.org publishes versioned repos only for Bareos 20 and 21;
the current/ repo serves only the latest (25.x) release. This adds a
Docker-based build pipeline that compiles .deb packages from the upstream
bareos/bareos release branches (bareos-22, bareos-23, bareos-24) using
the Debian packaging tree shipped in the source repo.
- bareos-packages/Dockerfile.builder.{jammy,noble}: minimal Ubuntu build
environments with devscripts/debhelper/cmake/equivs
- bareos-packages/build.sh: clones the target bareos branch, installs
build-deps via mk-build-deps, runs dpkg-buildpackage with nocheck/nodoc,
and collects .deb output under /artifacts/<branch>/<codename>/
- bareos-packages/matrix.yml: documents the three supported build tuples
- .github/workflows/build-bareos-packages.yml: CI job (90 min timeout,
fail-fast disabled) that builds the matrix, uploads artifacts with 30-day
retention, and publishes tarballs to a GitHub Release on pkg/* tags
- CLAUDE.md: updated version-support table, corrected active version list,
added upstream availability reference and notes on when to use the builder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.