This PR began as an effort to add tests and documentation for Boundary and Waypoint - both tools are already supported by this plugin with no changes needed, so this is more a formality than anything else.
However, in the process of debugging some failing CI checks, I discovered two problems which needed to be addressed before the CI checks could pass:
Currently, the list-all command does not fully support versions with both a beta and an enterprise suffix. For example, the current latest version of consul is 1.9.0+ent-beta1, but when using list-all, the version number is truncated and rendered as 1.9.0+ent. That version doesn't exist and therefore fails to download.
The asdf plugin-test command attempts to check out the master branch of the repository by default, meaning that tests were being run against the master branch instead of the commit being tested. Luckily, there's a --asdf-plugin-gitref flag which can be passed to the plugin-test command to run the test script against a specific commit.
I've included those two fixes in this PR for now, since the tests don't pass without them, but I'd be happy to break them out into a separate PR if you'd prefer!
This PR began as an effort to add tests and documentation for Boundary and Waypoint - both tools are already supported by this plugin with no changes needed, so this is more a formality than anything else.
However, in the process of debugging some failing CI checks, I discovered two problems which needed to be addressed before the CI checks could pass:
list-all
command does not fully support versions with both a beta and an enterprise suffix. For example, the current latest version of consul is1.9.0+ent-beta1
, but when usinglist-all
, the version number is truncated and rendered as1.9.0+ent
. That version doesn't exist and therefore fails to download.asdf plugin-test
command attempts to check out the master branch of the repository by default, meaning that tests were being run against the master branch instead of the commit being tested. Luckily, there's a--asdf-plugin-gitref
flag which can be passed to theplugin-test
command to run the test script against a specific commit.I've included those two fixes in this PR for now, since the tests don't pass without them, but I'd be happy to break them out into a separate PR if you'd prefer!
Thanks for the great plugin!
Related PRs to the asdf-plugins repo:
Boundary Waypoint