This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 59a795b2cc HDDS-7164. Skip installing awscli if already present (#3712)
59a795b2cc is described below
commit 59a795b2cc9aaf2dbf206893fbca3dd41ef05567
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Aug 23 18:30:34 2022 +0200
HDDS-7164. Skip installing awscli if already present (#3712)
---
hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot
b/hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot
index 0b03f3c75e..74a3c95a86 100644
--- a/hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot
@@ -42,6 +42,8 @@ Execute AWSS3Cli
[return] ${output}
Install aws cli
+ ${rc} ${output} = Run And Return Rc And
Output which aws
+ Return From Keyword If '${rc}' == '0'
${rc} ${output} = Run And Return Rc And
Output which apt-get
Run Keyword if '${rc}' == '0' Install aws cli s3 debian
${rc} ${output} = Run And Return Rc And
Output yum --help
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]