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

Support for global parameter output #1041

Closed
hongchaodeng opened this issue Jul 3, 2019 · 2 comments
Closed

Support for global parameter output #1041

hongchaodeng opened this issue Jul 3, 2019 · 2 comments
Labels
kind/question Issues or PRs that are questions around the project or a particular feature

Comments

@hongchaodeng
Copy link
Contributor

hongchaodeng commented Jul 3, 2019

Use case

Currently we have an etcd storing configuration data. In the deploy pipeline the first task is to read the data from etcd and convert it into pipeline parameters.

This was done using the Argo global parameter output feature: https://github.com/argoproj/argo/blob/7a21adfeb0af18c2452648a8bb3698a687f99b5e/examples/global-outputs.yaml#L27-L30

Question

Can you provide any guide on how to set global parameters via Tekton? We would like to help if anything is needed.

@dibyom dibyom added the kind/question Issues or PRs that are questions around the project or a particular feature label Dec 3, 2019
@dibyom
Copy link
Member

dibyom commented Dec 3, 2019

One way to do this might be to have a task that reads from etcd the param values, and then triggers the next pipelinerun/taskrun with the params (possibly using the tkn cli: tektoncd/catalog#155)

@dlorenc
Copy link
Contributor

dlorenc commented Apr 24, 2020

I think this is handled by the new TaskResults feature.

https://github.com/tektoncd/pipeline/blob/master/docs/tasks.md#storing-execution-results

@dlorenc dlorenc closed this as completed Apr 24, 2020
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

3 participants