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

piping to software versions create doesn't accept a version via a template #378

Open
reubenmiller opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@reubenmiller
Copy link
Owner

The following one-liner to create software repositories versions doesn't work well in a pipeline as the version is not accepted.

c8y devices get --id device0001 \
    | jq -r '.c8y_SoftwareList[] | select(.type = "apt")' -c \
    | c8y software versions create --template "{c8y_Software:{version: input.value.version}}" --dry
@reubenmiller reubenmiller added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant