Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
build: Request appropriate arch for nfs-ganesha repo
Browse files Browse the repository at this point in the history
If an arm64 nfs-ganesha build passes but the x86 one fails, shaman will return the arm64 repo for an x86 ceph-container build.  This results in errors like:
```
No match for argument: nfs-ganesha
No match for argument: nfs-ganesha-ceph
No match for argument: nfs-ganesha-rgw
No match for argument: nfs-ganesha-rados-grace
No match for argument: nfs-ganesha-rados-urls
Error: Unable to find a match: nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rgw nfs-ganesha-rados-grace nfs-ganesha-rados-urls
```

Signed-off-by: David Galloway <[email protected]>
  • Loading branch information
David Galloway committed Aug 9, 2022
1 parent 8eed9ba commit 1f81a89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ yum install -y jq && \
bash -c ' \
if [ -n "__GANESHA_PACKAGES__" ]; then \
if [[ "${CEPH_VERSION}" == master || "${CEPH_VERSION}" == main ]]; then \
curl -s -L "https://shaman.ceph.com/api/repos/nfs-ganesha/next/latest/centos/__ENV_[DISTRO_VERSION]__/flavors/ceph_main/repo" -o /etc/yum.repos.d/ganesha.repo ; \
curl -s -L "https://shaman.ceph.com/api/repos/nfs-ganesha/next/latest/centos/__ENV_[DISTRO_VERSION]__/flavors/ceph_main/repo?arch=$(arch)" -o /etc/yum.repos.d/ganesha.repo ; \
elif [[ "${CEPH_VERSION}" == quincy ]]; then \
echo "[ganesha]" > /etc/yum.repos.d/ganesha.repo ; \
echo "name=ganesha" >> /etc/yum.repos.d/ganesha.repo ; \
Expand Down

0 comments on commit 1f81a89

Please sign in to comment.