Adds the rosa command line tool that simplifies the use of Red Hat OpenShift Service on AWS, also known as ROSA
Motivation and Context
[x] I have raised an issue to propose this change, which has been given a label of design/approved by a maintainer (required)
Fixes #951
Closes #966
How Has This Been Tested?
Functional
➜ arkade git:(rosa) ✗ ./arkade get rosa
Downloading: rosa
2024/10/26 09:21:42 Looking up version for rosa
2024/10/26 09:21:42 Found: v1.2.46
Downloading: https://github.com/openshift/rosa/releases/download/v1.2.46/rosa_Darwin_arm64.tar.gz
15.38 MiB / 15.38 MiB [------------------------------------------------------------------] 100.00%
/var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-3130711499/rosa_Darwin_arm64.tar.gz written.
2024/10/26 09:21:44 Extracted: /var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-3130711499/rosa
2024/10/26 09:21:44 Copying /var/folders/22/3b_f27kj3s37lbfqz_fq44jw0000gp/T/arkade-3130711499/rosa to /Users/rgee0/.arkade/bin/rosa
Wrote: /Users/rgee0/.arkade/bin/rosa (64.82MB)
# Add arkade binary directory to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/
# Test the binary:
/Users/rgee0/.arkade/bin/rosa
# Or install with:
sudo mv /Users/rgee0/.arkade/bin/rosa /usr/local/bin/
👏 Say thanks for arkade and sponsor Alex via GitHub: https://github.com/sponsors/alexellis
make e2e
➜ arkade git:(rosa) make e2e
CGO_ENABLED=0 go test github.com/alexellis/arkade/pkg/get -cover --tags e2e -v
...
PASS
coverage: 61.6% of statements
ok github.com/alexellis/arkade/pkg/get 10.624s coverage: 61.6% of statements
test_tool
➜ arkade git:(rosa) ✗ ./hack/test-tool.sh rosa
+ ./arkade get rosa --arch arm64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/rosa
/Users/rgee0/.arkade/bin/rosa: Mach-O 64-bit executable arm64
+ rm /Users/rgee0/.arkade/bin/rosa
+ echo
+ ./arkade get rosa --arch x86_64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/rosa
/Users/rgee0/.arkade/bin/rosa: Mach-O 64-bit executable x86_64
+ rm /Users/rgee0/.arkade/bin/rosa
+ echo
+ ./arkade get rosa --arch x86_64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/rosa
/Users/rgee0/.arkade/bin/rosa: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=E8sLxYx_-ZHSVoeu8gL-/9jkfgOtOByb35MkJHI5u/fPx_hdZ_WSKVLbwQiWrz/yWcw5iJAIuJtGyAPu3QK, stripped
+ rm /Users/rgee0/.arkade/bin/rosa
+ echo
+ ./arkade get rosa --arch aarch64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/rosa
/Users/rgee0/.arkade/bin/rosa: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=3qG8_22qCrjQlBdeLOrb/KjE8ijakXdX5XShYrgFr/csdQTaEyFi_g6J8p3e-7/Ret3jQ5k_pvnsbOJhLNj, stripped
+ rm /Users/rgee0/.arkade/bin/rosa
+ echo
+ ./arkade get rosa --arch x86_64 --os mingw --quiet
+ file /Users/rgee0/.arkade/bin/rosa.exe
/Users/rgee0/.arkade/bin/rosa.exe: PE32+ executable (console) x86-64, for MS Windows
+ rm /Users/rgee0/.arkade/bin/rosa.exe
+ echo
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Documentation
[x] I have updated the list of tools in README.md if (required) with ./arkade get --format markdown
[ ] I have updated the list of apps in README.md if (required) with ./arkade install --help
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
Description
Adds the rosa command line tool that simplifies the use of Red Hat OpenShift Service on AWS, also known as ROSA
Motivation and Context
design/approved
by a maintainer (required) Fixes #951 Closes #966How Has This Been Tested?
Functional
make e2e
test_tool
Types of changes
Documentation
./arkade get --format markdown
./arkade install --help
Checklist:
git commit -s