Skip to content

Commit

Permalink
github: fetch architecture to support aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Feb 4, 2025
1 parent 6003577 commit 20402d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions fluent-package/yum/install-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ esac

echo "INSTALL TEST"
repositories_dir=/fluentd/fluent-package/yum/repositories
ARCH=$(rpm --eval "%{_arch}")
${DNF} install -y \
${repositories_dir}/${distribution}/${DISTRIBUTION_VERSION}/x86_64/Packages/*.rpm
${repositories_dir}/${distribution}/${DISTRIBUTION_VERSION}/${ARCH}/Packages/*.rpm

fluentd --version
test -e /etc/logrotate.d/fluentd
Expand Down Expand Up @@ -115,7 +116,7 @@ EOF
# equivalent to tmpfiles.d
mkdir -p /tmp/fluent
${DNF} install -y \
${repositories_dir}/${distribution}/${DISTRIBUTION_VERSION}/x86_64/Packages/*.rpm
${repositories_dir}/${distribution}/${DISTRIBUTION_VERSION}/${ARCH}/Packages/*.rpm

getent passwd td-agent >/dev/null
getent group td-agent >/dev/null
Expand Down
3 changes: 2 additions & 1 deletion fluent-package/yum/serverspec-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ esac

echo "INSTALL TEST"
repositories_dir=/fluentd/fluent-package/yum/repositories
ARCH=$(rpm --eval "%{_arch}")
${DNF} install -y \
${repositories_dir}/${distribution}/${DISTRIBUTION_VERSION}/x86_64/Packages/*.rpm
${repositories_dir}/${distribution}/${DISTRIBUTION_VERSION}/${ARCH}/Packages/*.rpm

fluentd --version

Expand Down

0 comments on commit 20402d8

Please sign in to comment.