You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug:
When yq is not installed, or version 4+ is installed the yq commands in bin/common.sh fail due to local execution. Moving the yq execution into a container image would resolve this issue
To Reproduce
Have no yq installed
. bin/aliases
oaz login
Observe error message yq: command not found
Have yq@4 installed
. bin/aliases
oaz login
Observe error message unknown command "r" for "yq"
Expected behavior:
Just work, without extra local dependencies
Additional context:
Related to #265 - where suggested solution was to throw error, but that would not suffice.
This issue will be resolved using container images
The text was updated successfully, but these errors were encountered:
yq had to be installed locally due to bin/common.sh yq execution through the otomi bridge. By
running the yq commands in a docker container the installation as well as the version are
guaranteed. As yq@4 has breaking changes. Now sticky at yq@3
#268
In CI there is no docker(-in-docker) but a local yq is available. So this implementation checks if
there is a local yq and is at correct version (3) if so, use local execution, if yq is not installed
then use docker and the docker image to run it. If neither is installed, exit en throw error
#268
Describe the bug:
When yq is not installed, or version 4+ is installed the yq commands in
bin/common.sh
fail due to local execution. Moving the yq execution into a container image would resolve this issueTo Reproduce
yq
installed. bin/aliases
oaz login
yq: command not found
yq@4
installed. bin/aliases
oaz login
unknown command "r" for "yq"
Expected behavior:
Just work, without extra local dependencies
Additional context:
Related to #265 - where suggested solution was to throw error, but that would not suffice.
This issue will be resolved using container images
The text was updated successfully, but these errors were encountered: