Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update versions of tf / packer / waypoint #1034

Merged
merged 1 commit into from Mar 14, 2024

Conversation

rgee0
Copy link
Contributor

@rgee0 rgee0 commented Feb 24, 2024

Description

Updates versions of Terraform (1.7.4), Packer (1.10.1) and waypoint (0.11.4)

Motivation and Context

How Has This Been Tested?

Updated the tests and url check ran green in the pipeline.
Built locally and tested get on darwin x86_64:

➜  arkade git:(hashicorpVersions) make build
go build
➜  arkade git:(hashicorpVersions) ./arkade version
            _             _      
  __ _ _ __| | ____ _  __| | ___ 
 / _` | '__| |/ / _` |/ _` |/ _ \
| (_| | |  |   < (_| | (_| |  __/
 \__,_|_|  |_|\_\__,_|\__,_|\___|

Open Source Marketplace For Developer Tools

Version: dev
Git Commit: 

 🚀 Speed up GitHub Actions/GitLab CI + reduce costs: https://actuated.dev
➜  arkade git:(hashicorpVersions) ./arkade get terraform
Downloading: terraform
Downloading: https://releases.hashicorp.com/terraform/1.7.4/terraform_1.7.4_darwin_amd64.zip
26.26 MiB / 26.26 MiB [---------------------------------------------------------------------] 100.00%
/var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-2307178767/terraform_1.7.4_darwin_amd64.zip written.
Name: terraform_1.7.4_darwin_amd64.zip, size: 275391342024/02/24 11:17:00 Extracted: /var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-2307178767/terraform
2024/02/24 11:17:00 Copying /var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-2307178767/terraform to /Users/rgee0/.arkade/bin/terraform

Wrote: /Users/rgee0/.arkade/bin/terraform (95.21MB)

# Add arkade binary directory to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/Users/rgee0/.arkade/bin/terraform

# Or install with:
sudo mv /Users/rgee0/.arkade/bin/terraform /usr/local/bin/

🚀 Speed up GitHub Actions/GitLab CI + reduce costs: https://actuated.dev
➜  arkade git:(hashicorpVersions) ./arkade get packer   
Downloading: packer
Downloading: https://releases.hashicorp.com/packer/1.10.1/packer_1.10.1_darwin_amd64.zip
16.18 MiB / 16.18 MiB [---------------------------------------------------------------------] 100.00%
/var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-2542431408/packer_1.10.1_darwin_amd64.zip written.
Name: packer_1.10.1_darwin_amd64.zip, size: 169607522024/02/24 11:17:08 Extracted: /var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-2542431408/packer
2024/02/24 11:17:08 Copying /var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-2542431408/packer to /Users/rgee0/.arkade/bin/packer

Wrote: /Users/rgee0/.arkade/bin/packer (57.87MB)

# Add arkade binary directory to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/Users/rgee0/.arkade/bin/packer

# Or install with:
sudo mv /Users/rgee0/.arkade/bin/packer /usr/local/bin/

🚀 Speed up GitHub Actions/GitLab CI + reduce costs: https://actuated.dev
➜  arkade git:(hashicorpVersions) ./arkade get waypoint
Downloading: waypoint
Downloading: https://releases.hashicorp.com/waypoint/0.11.4/waypoint_0.11.4_darwin_amd64.zip
83.73 MiB / 83.73 MiB [---------------------------------------------------------------------] 100.00%
/var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-602702544/waypoint_0.11.4_darwin_amd64.zip written.
Name: waypoint_0.11.4_darwin_amd64.zip, size: 877930182024/02/24 11:17:23 Extracted: /var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-602702544/waypoint
2024/02/24 11:17:23 Copying /var/folders/3w/tv6429v51kl_61rd1fr25sgm0000gq/T/arkade-602702544/waypoint to /Users/rgee0/.arkade/bin/waypoint

Wrote: /Users/rgee0/.arkade/bin/waypoint (166.6MB)

# Add arkade binary directory to your PATH variable
export PATH=$PATH:$HOME/.arkade/bin/

# Test the binary:
/Users/rgee0/.arkade/bin/waypoint

# Or install with:
sudo mv /Users/rgee0/.arkade/bin/waypoint /usr/local/bin/

🚀 Speed up GitHub Actions/GitLab CI + reduce costs: https://actuated.dev
➜  arkade git:(hashicorpVersions) 

If updating or adding a new CLI to arkade get, run:

go build && ./hack/test-tool.sh TOOL_NAME

Packer output

➜  arkade git:(hashicorpVersions) ./hack/test-tool.sh packer
+ ./arkade get packer --arch arm64 --os darwin --quiet

The requested version of packer is not available or configured in arkade for darwin/arm64

* Check if a binary is available from the project for your Operating System
* Feel free to raise an issue at https://github.com/alexellis/arkade/issues for help

Error: server returned status: 404
+ ./arkade get packer --arch x86_64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/packer
/Users/rgee0/.arkade/bin/packer: Mach-O 64-bit executable x86_64
+ rm /Users/rgee0/.arkade/bin/packer
+ echo

+ ./arkade get packer --arch x86_64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/packer
/Users/rgee0/.arkade/bin/packer: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=FcMegUkGwdN2cM3u_s7c/zVPeB9bUAxe4ZWNfoUU_/1HEYgL4yLIJP9-9DkBDN/3QX7cP1FYgar_lFdy6O7, stripped
+ rm /Users/rgee0/.arkade/bin/packer
+ echo

+ ./arkade get packer --arch aarch64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/packer
/Users/rgee0/.arkade/bin/packer: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=pH9dfrUXucBLJIGFwO6u/YUG9I-HXw8i4VwqYesHI/vQy89STSx1IfCw4_CjD9/qCX4rtXfYsgf9OxIcf5E, stripped
+ rm /Users/rgee0/.arkade/bin/packer
+ echo

+ ./arkade get packer --arch x86_64 --os mingw --quiet
+ file /Users/rgee0/.arkade/bin/packer.exe
/Users/rgee0/.arkade/bin/packer.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
+ rm /Users/rgee0/.arkade/bin/packer.exe
+ echo

Terraform output

➜  arkade git:(hashicorpVersions) ./hack/test-tool.sh terraform
+ ./arkade get terraform --arch arm64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/terraform
/Users/rgee0/.arkade/bin/terraform: Mach-O 64-bit executable arm64
+ rm /Users/rgee0/.arkade/bin/terraform
+ echo

+ ./arkade get terraform --arch x86_64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/terraform
/Users/rgee0/.arkade/bin/terraform: Mach-O 64-bit executable x86_64
+ rm /Users/rgee0/.arkade/bin/terraform
+ echo

+ ./arkade get terraform --arch x86_64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/terraform
/Users/rgee0/.arkade/bin/terraform: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=tGV2awnbj8i3XF_mN518/rjAnEm5HyUZXlwHErq2I/3xZn2D-wput5LTFbcQl4/k5hThcFH0CsmODd6hNDH, stripped
+ rm /Users/rgee0/.arkade/bin/terraform
+ echo

+ ./arkade get terraform --arch aarch64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/terraform
/Users/rgee0/.arkade/bin/terraform: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=EP0J13LdnxxkW0yxQasu/vGYSHfXijyRu2ptsXM75/4fVhKqauYK2jjRCb2ven/-OeNAt1VAjad7FDREGG0, stripped
+ rm /Users/rgee0/.arkade/bin/terraform
+ echo

+ ./arkade get terraform --arch x86_64 --os mingw --quiet
+ file /Users/rgee0/.arkade/bin/terraform.exe
/Users/rgee0/.arkade/bin/terraform.exe: PE32+ executable (console) x86-64, for MS Windows
+ rm /Users/rgee0/.arkade/bin/terraform.exe
+ echo

Waypoint output

➜  arkade git:(hashicorpVersions) ./hack/test-tool.sh waypoint        
+ ./arkade get waypoint --arch arm64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/waypoint
/Users/rgee0/.arkade/bin/waypoint: Mach-O 64-bit executable arm64
+ rm /Users/rgee0/.arkade/bin/waypoint
+ echo

+ ./arkade get waypoint --arch x86_64 --os darwin --quiet
+ file /Users/rgee0/.arkade/bin/waypoint
/Users/rgee0/.arkade/bin/waypoint: Mach-O 64-bit executable x86_64
+ rm /Users/rgee0/.arkade/bin/waypoint
+ echo

+ ./arkade get waypoint --arch x86_64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/waypoint
/Users/rgee0/.arkade/bin/waypoint: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=BjDrvGk2_OENbAmfM4_R/CGUUh7-1wMXER25McDxC/1i57FFiXSIruqmWnjvs4/5sdVBfZtWFZJDh6uvhYC, stripped
+ rm /Users/rgee0/.arkade/bin/waypoint
+ echo

+ ./arkade get waypoint --arch aarch64 --os linux --quiet
+ file /Users/rgee0/.arkade/bin/waypoint
/Users/rgee0/.arkade/bin/waypoint: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=Nsi8i0X2eROpyhD7qSbo/_QSuviOi4kfcoXVBELI9/LgPi6pJBqW3aWC35itaR/lGpvhE6Fy1W3NY5CfZhE, stripped
+ rm /Users/rgee0/.arkade/bin/waypoint
+ echo

+ ./arkade get waypoint --arch x86_64 --os mingw --quiet
+ file /Users/rgee0/.arkade/bin/waypoint.exe
/Users/rgee0/.arkade/bin/waypoint.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
+ rm /Users/rgee0/.arkade/bin/waypoint.exe
+ echo

Types of changes

  • Chore
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Documentation

  • 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:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have tested this on arm, or have added code to prevent deployment

Signed-off-by: Richard Gee <richard@technologee.co.uk>
@alexellis alexellis merged commit 86e0ff5 into alexellis:master Mar 14, 2024
2 checks passed
@alexellis
Copy link
Owner

Thank you @rgee0 - must have missed this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hashicorp tools - update versions
2 participants