Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm: drop centos:7 to collect artifacts #651

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading