Skip to content

Commit

Permalink
rpm: drop centos:7 to collect artifacts
Browse files Browse the repository at this point in the history
CentOS:7 amd64 binary can be built but not for arm64 anymore.
It seems that arm64 specific hotfix is required.
(but such a effort is not maintainable anymore because of EOL)

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Jul 3, 2024
1 parent ec045e6 commit 40a107d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions fluent-package/convert-artifacts-layout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,18 @@ case $1 in
yum|rpm)
REPOSITORY_TYPE=yum
REPOSITORY_PATH=$FLUENT_PACKAGE_DIR/$REPOSITORY_TYPE/repositories
for dist in centos amazon rocky almalinux; do
for dist in amazon rocky almalinux; do
dist_dest=$dist
if [ $dist = "centos" -o $dist = "rocky" -o $dist = "almalinux" ]; then
if [ $dist = "rocky" -o $dist = "almalinux" ]; then
dist_dest="redhat"
fi
for release in 2 7 8 9 2023; do
for release in 2 8 9 2023; do
if [ $dist = "amazon" ]; then
if [ $release -ne 2 -a $release -ne 2023 ]; then
echo "skip $dist:$release"
continue
fi
fi
if [ $dist = "centos" -a $release -ne 7 ]; then
echo "skip $dist:$release"
continue
fi
if [ $dist = "rocky" -a $release -ne 8 ]; then
echo "skip $dist:$release"
continue
Expand Down

0 comments on commit 40a107d

Please sign in to comment.