We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CEL in WhenExpression has been implemented. And current variable substitution only supports Tekton's variable substitution. e.g.
when: # string result - cel: "$(tasks.unit-test.results.test-coverage) > 0.9" # array indexing result - cel: "$(tasks.unit-test.results.test-coverage[0]) > 0.9" # object result key - cel: "'$(tasks.objectTask.results.repo.url)'.matches('github.com/tektoncd/.*')" # string param - cel: "'$(params.foo)' == 'foo'" # array indexing - cel: "'$(params.branch[0])' == 'foo'" # object param key - cel: "'$(params.repo.url)'.matches('github.com/tektoncd/.*')"
CEL's variable substitution is:
when: # string result - cel: "tasks.unit-test.results.test-coverage > 0.9" # array indexing result - cel: "tasks.unit-test.results.test-coverage[0] > 0.9" # object result key - cel: "'tasks.objectTask.results.repo.url.matches('github.com/tektoncd/.*')" # string param - cel: "params.foo == 'foo'" # array indexing - cel: "params.branch[0] == 'foo'" # object param key - cel: "params.repo.url.matches('github.com/tektoncd/.*')"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CEL in WhenExpression has been implemented. And current variable substitution only supports Tekton's variable substitution. e.g.
CEL's variable substitution is:
The text was updated successfully, but these errors were encountered: