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
The goal of this request is to have a task supporting the execution of multiple bash commands as we can by example do using CircleCI. See : https://github.com/snowdrop/component-operator-demo/blob/master/.circleci/config.yml#L26-L32
Tekton currently proposes this approach: https://github.com/tektoncd/pipeline/blob/master/examples/taskruns/task-env.yaml but we can't group the commands to be executed by a container as currently it is restricted to what the k8s container spec allows
A workaround is perhaps to mount the bash script to be executed OR to have a parser converting a multiline bash commands into x args
The text was updated successfully, but these errors were encountered:
A workaround that I use is:
command: ["bash", "-c", "command 1 ; command 2"]
But it would be nice to have a proper way to do multiple commands at once.
Sorry, something went wrong.
@cmoulliard I think the related issue in pipeline is tektoncd/pipeline#1432, and thus I feel we can close this one 👼
Yes.
No branches or pull requests
Feature request
The goal of this request is to have a task supporting the execution of multiple bash commands as we can by example do using CircleCI. See : https://github.com/snowdrop/component-operator-demo/blob/master/.circleci/config.yml#L26-L32
Tekton currently proposes this approach: https://github.com/tektoncd/pipeline/blob/master/examples/taskruns/task-env.yaml
but we can't group the commands to be executed by a container as currently it is restricted to what the k8s container spec allows
A workaround is perhaps to mount the bash script to be executed OR to have a parser converting a multiline bash commands into x args
The text was updated successfully, but these errors were encountered: