Skip to content

Commit

Permalink
feature(action_rpm): modify to use glibc version
Browse files Browse the repository at this point in the history
  • Loading branch information
AngeCyp committed Nov 14, 2024
1 parent 32939cb commit 8c47537
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["fedora:40", "fedora:41", "fedora:42", "redhat/ubi8", "quay.io/app-sre/ubi8-ubi"]
os: ["fedora:35", "fedora:36", "fedora:37", "fedora:38","fedora:39", "fedora:40", "fedora:41", "fedora:42"]
env:
name: ${{ needs.parsing.outputs.compname }}
compvers: ${{ needs.parsing.outputs.compvers }}
Expand All @@ -79,22 +79,14 @@ jobs:
export PATH=$PATH:$HOME/.cargo/bin/
sudo dnf install rpm-build rpmdevtools -y
sudo dnf install cargo-rpm-macros -y
- name: Install RPM on RHEL
if: contains(matrix.os, 'ubi')
run: |
yum install rust cargo -y
export PATH=$PATH:$HOME/.cargo/bin/
yum install rpm-build rpmdevtools -y
yum install cargo-rpm-macros -y
- name: Install cargo lock2rpm and protoc
run: |
cargo install cargo-lock2rpmprovides
PROTOC_ZIP=protoc-28.0-linux-x86_64.zip
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v28.0/$PROTOC_ZIP
unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
unzip -o $PROTOC_ZIP -d /usr/local 'include/*'
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
sudo unzip -o $PROTOC_ZIP -d /usr/local 'include/*'
rm -f $PROTOC_ZIP
- name: Setup for alumet
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
# packaging
Alumet docker images and distro-specific packages

When you're downloading the rpm, use a compatible glibc version particularly if you're not on fedora.

| Version of fedora | Version of libc |
|------------------- |----------------- |
| Fedora Linux 42 | glibc 2.40 |
| Fedora Linux 41 | glibc 2.40 |
| Fedora Linux 40 | glibc 2.39 |
| Fedora Linux 39 | glibc 2.38 |
| Fedora Linux 38 | glibc 2.37 |
| Fedora Linux 37 | glibc 2.36 |
| Fedora Linux 36 | glibc 2.35 |
| Fedora Linux 35 | glibc 2.34 |

0 comments on commit 8c47537

Please sign in to comment.