build: update s5cmd to version v2.2.1
This is the latest available version. The previously used version v2.0.0 was very outdated. Fixes: #12883 Co-authored-by: subham rai subhamkrai <srai@redhat.com> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Subham Rai subhamkrai <srai@redhat.com> signed-off-by: Travis Nielsen <tnielsen@redhat.com> Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
1 parent
8da6deaafe
commit
cef43e1155
2 files changed
+10
-1
No files matched your search
@@ -305,6 +305,15 @@ jobs:
|
||||
# waiting for toolbox operator image pod to get ready
|
||||
kubectl -n rook-ceph wait --for=condition=ready pod -l app=rook-ceph-tools-operator-image --timeout=180s
|
||||
|
||||
- name: check s5cmd version in the toolbox image
|
||||
run: |
|
||||
toolbox=$(kubectl get pod -l app=rook-ceph-tools-operator-image -n rook-ceph -o jsonpath='{.items[*].metadata.name}')
|
||||
s5cmd_version="$(kubectl -n rook-ceph exec ${toolbox} -- /usr/local/bin/s5cmd version)"
|
||||
echo ${s5cmd_version} | grep -q "^v2.2.1" || {
|
||||
echo " Error: the version of s5cmd version in the toolbox is not the expected v2.2.1 but ${s5cmd_version}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
- name: check-ownerreferences
|
||||
run: tests/scripts/github-action-helper.sh check_ownerreferences
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ $(info )
|
||||
endif
|
||||
|
||||
# s5cmd's version
|
||||
S5CMD_VERSION = 2.0.0
|
||||
S5CMD_VERSION = 2.2.1
|
||||
|
||||
OPERATOR_SDK := $(TOOLS_HOST_DIR)/operator-sdk-$(OPERATOR_SDK_VERSION)
|
||||
YQv3 := $(TOOLS_HOST_DIR)/yq-$(YQv3_VERSION)
|
||||
|
||||
Reference in new issue
Block a user