Skip to content

fix(ci): properly install rpm systemd-rpm-macro package on building packages pipeline#3521

Merged
poiana merged 1 commit intomasterfrom
fix/rpm_packages
Apr 11, 2025
Merged

fix(ci): properly install rpm systemd-rpm-macro package on building packages pipeline#3521
poiana merged 1 commit intomasterfrom
fix/rpm_packages

Conversation

@FedeDP
Copy link
Copy Markdown
Contributor

@FedeDP FedeDP commented Mar 31, 2025

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area CI

What this PR does / why we need it:

We need it because rpm pre/post install/remove scripts are evaluated at rpm package building time.
Bug introduced when porting the CI to zig: #3307

Which issue(s) this PR fixes:

Fixes #3503

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

fix(ci): properly install rpm systemd-rpm-macro package on building packages pipeline

… packages pipeline.

Refs #3503: we need it because rpm pre/post install/remove scripts
are evaluated at rpm package building time.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
@poiana
Copy link
Copy Markdown
Contributor

poiana commented Mar 31, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana requested review from Andreagit97 and Kaizhe March 31, 2025 12:23
@FedeDP
Copy link
Copy Markdown
Contributor Author

FedeDP commented Mar 31, 2025

/milestone 0.41.0

@poiana poiana added this to the 0.41.0 milestone Mar 31, 2025
@poiana poiana added the size/XS label Mar 31, 2025
- name: Install build deps
run: |
sudo apt update && sudo apt install -y --no-install-recommends ca-certificates cmake curl wget build-essential git pkg-config autoconf automake libtool m4 rpm
sudo apt update && sudo apt install -y --no-install-recommends ca-certificates cmake curl wget build-essential git pkg-config autoconf automake libtool m4 rpm alien
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use alien to download the rpm package and convert it to deb one and install it.

@poiana poiana added the lgtm label Apr 1, 2025
@github-project-automation github-project-automation bot moved this from Todo to In progress in Falco Roadmap Apr 11, 2025
@poiana poiana merged commit 7c3c8ec into master Apr 11, 2025
32 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in Falco Roadmap Apr 11, 2025
@poiana poiana deleted the fix/rpm_packages branch April 11, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Falco fails to uninstall on OL8

4 participants