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

[question] How does tekton control the order of the steps in task #3782

Closed
garyyang85 opened this issue Feb 23, 2021 · 4 comments
Closed

[question] How does tekton control the order of the steps in task #3782

garyyang85 opened this issue Feb 23, 2021 · 4 comments
Labels
kind/question Issues or PRs that are questions around the project or a particular feature

Comments

@garyyang85
Copy link

Hello Team

As I know, containers in a pod don't have a sequence for start or stop. But how does tekton achieve this? I can search the result in the doc "The order in which the Steps appear in this list is the order in which they will execute."

Take the buidah task for example. How does tekton control step-build before step-push. Is there a design doc? Thanks

@chmouel
Copy link
Member

chmouel commented Feb 23, 2021

/kind question

Using entrypoint binary see: https://github.com/tektoncd/pipeline/blob/master/cmd/entrypoint/README.md

@tekton-robot tekton-robot added the kind/question Issues or PRs that are questions around the project or a particular feature label Feb 23, 2021
@bobcatfish
Copy link
Collaborator

@imjasonh and I did a talk at kubecon on this a while back too: https://www.youtube.com/watch?v=iz9_omZ0ctk

And recently argo workflows (+ @alexec) took a similar approach with their Emissary executor: https://github.com/argoproj/argo-workflows/blob/22f4d26ec059ad86b9c409ffe25392261a22afba/docs/workflow-executors.md#emissary-emissary

@bobcatfish
Copy link
Collaborator

oh yeah and for more history, i think this would be the issue to look at #224 (we used to use init containers for this functionality)

@garyyang85
Copy link
Author

Thank you guys. I got the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Issues or PRs that are questions around the project or a particular feature
Projects
None yet
Development

No branches or pull requests

4 participants