sreejasahithi opened a new pull request, #111:
URL: https://github.com/apache/ozone-docker-runner/pull/111

   ## What changes were proposed in this pull request?
   
   AWS CLI v1 entered maintenance mode in July 2026 and reaches end of support 
in July 2027 
([announcement](https://aws.amazon.com/blogs/developer/cli-v1-maintenance-mode-announcement/)).
 
   The latest version is 1.45.30
   This change adds AWS CLI v2 now so Ozone can run v2 smoke tests before v1 is 
removed, after July 2027.
     - v1 stays the `aws` command (`pip install awscli==1.38.15` at 
`/usr/local/bin/aws`). 
     - v2.27.50 is installed under `/usr/local/aws-cli/v2` and exposed only as 
`/usr/local/bin/aws2`. The v2 installer bin directory is not `/usr/local/bin`, 
so the existing `aws` binary is not replaced.
   
   Ozone smoke tests that run the same suite with both `aws` and `aws2` will be 
a separate PR in the ([Ozone repo](https://github.com/apache/ozone)). 
   This change does not switch any current test to v2.
   
   ## What is the link to the Apache JIRA
   [HDDS-16466](https://issues.apache.org/jira/browse/HDDS-16466)
   
   ## How was this patch tested?
   docker run --rm apache/ozone-runner:dev aws --version
   `aws-cli/1.38.15 Python/3.9.25 Linux/6.10.14-linuxkit botocore/1.37.15`
   
   docker run --rm apache/ozone-runner:dev aws2 --version
   `aws-cli/2.27.50 Python/3.13.4 Linux/6.10.14-linuxkit exe/aarch64.rocky.9`
   
   docker run --rm --entrypoint bash apache/ozone-runner:dev -c \
     'command -v aws; command -v aws2; ls -l /usr/local/bin/aws 
/usr/local/bin/aws2'
   ```
   /usr/local/bin/aws
   /usr/local/bin/aws2
   -rwxr-xr-x 1 root root 815 Sep  7 13:30 /usr/local/bin/aws
   lrwxrwxrwx 1 root root  29 Sep 16 04:50 /usr/local/bin/aws2 -> 
/usr/local/aws-cli/v2/bin/aws
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to