Skip to content

ci: add new images, packages#5449

Merged
HofiOne merged 16 commits intodevelopfrom
new-packages-images
Sep 4, 2025
Merged

ci: add new images, packages#5449
HofiOne merged 16 commits intodevelopfrom
new-packages-images

Conversation

@HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Aug 29, 2025

New package formats, platforms, and architectures!

  • the long-awaited RPM repository is here, we have RHEL-8, RHEL-9, and REHL-10 packages available, both for amd64 and arm64 architectures,
    just download and install the repository definition

    sudo curl -o /etc/yum.repos.d/syslog-ng-ose-stable.repo https://ose-repo.syslog-ng.com/yum/syslog-ng-ose-stable.repo
  • we fixed the publishing of our arm64 DEB packages

  • added new DEB packages for Debian Trixie, both for amd64 and arm64.

  • new DBLD docker images for Rocky-9, OpenSuse Tumbleweed, Ubuntu Plucky, and Debian Trixie

Resolves #5429
Resolves #5391

Successful Nightly run: https://github.com/syslog-ng/syslog-ng/actions/runs/17322559693

@HofiOne HofiOne requested review from folti and kovgeri01 and removed request for folti August 29, 2025 11:35
Comment on lines +62 to +71
needs: index-packages
uses: ./.github/workflows/test-deb-packages.yml
with:
pkg-type: nightly

test-rpm-packages:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {{}}

Copilot Autofix

AI 6 months ago

To fix the problem, we should add an explicit permissions section at the top level of the workflow (recommended for consistency and coverage, unless fine-grained per-job tuning is preferred). Start with the minimal set required: for workflows mainly reading source and uploading artifacts, and those using reusable workflows (which may require more), the base should be contents: read, possibly packages: write or actions: write if needed. A conservative starting point is to use contents: read, and as needed add additional write privileges to specific jobs. Since without changing functionality we can’t guess the least needed, adopt the minimal starting point as suggested by CodeQL.

Changes needed:

  • Insert a permissions: block after the workflow name and before on:
  • Use permissions: {} for absolute minimum starting (denies all except metadata), or contents: read (which is normally safe for most workflows unless writing is needed). Since jobs upload artifacts and potentially publish Docker images, some jobs may need broader permissions, but the initial fix is to add the recommended minimal block.
  • All changes are in .github/workflows/nightly-release.yml.
Suggested changeset 1
.github/workflows/nightly-release.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml
--- a/.github/workflows/nightly-release.yml
+++ b/.github/workflows/nightly-release.yml
@@ -1,4 +1,5 @@
 name: Nightly release
+permissions: {}
 
 on:
   workflow_dispatch:
EOF
@@ -1,4 +1,5 @@
name: Nightly release
permissions: {}

on:
workflow_dispatch:
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
@HofiOne HofiOne force-pushed the new-packages-images branch 10 times, most recently from 13a2d09 to e716cd5 Compare September 1, 2025 14:08
HofiOne and others added 14 commits September 2, 2025 14:55
…already set (e.g. when manually triggered)

Signed-off-by: Hofi <[email protected]>
Signed-off-by: Hofi <[email protected]>

# Conflicts:
#	dbld/builddeps

Signed-off-by: Hofi <[email protected]>
Signed-off-by: Tamas Pal <[email protected]>
Signed-off-by: Hofi <[email protected]>
@HofiOne HofiOne force-pushed the new-packages-images branch from e716cd5 to c1390eb Compare September 2, 2025 12:56
@HofiOne HofiOne force-pushed the new-packages-images branch 2 times, most recently from d37b5d4 to a961ba7 Compare September 4, 2025 09:03
@HofiOne HofiOne force-pushed the new-packages-images branch from d8f6a8a to ff90601 Compare September 4, 2025 09:38
@HofiOne HofiOne removed the request for review from therandomstring September 4, 2025 12:12
@HofiOne HofiOne merged commit fd1e8a1 into develop Sep 4, 2025
211 of 292 checks passed
@HofiOne HofiOne deleted the new-packages-images branch September 4, 2025 12:14
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.

Add Debian 13 support to DBLD and in DEB repo also provide an RPM repository

4 participants