Skip to content

Support pipeline count #29

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

Closed
gbenhaim opened this issue May 7, 2025 · 0 comments · Fixed by #33
Closed

Support pipeline count #29

gbenhaim opened this issue May 7, 2025 · 0 comments · Fixed by #33
Assignees

Comments

@gbenhaim
Copy link
Member

gbenhaim commented May 7, 2025

In the function which generate the PodSpec, add a resource for tracking the number of pipeline runs.
The name of the resource should be tekton.dev/pipelineruns and its value should be hardcoded to 1.
By doing that, we can allow users to limit the number of running pipelines.

@gbenhaim gbenhaim self-assigned this May 11, 2025
gbenhaim added a commit that referenced this issue May 11, 2025
1. Add special resource to the Workload created for a PipelinRun.
The resource will be used for controlling the amount of concurrent
PipelineRuns that can be executed at the same time.

2. Remove the default 1GB memory request, since it's not needed
after the addition of the new resource request.

3. Tests refactoring for sharing assertion and making them more
informative.

closes: #29

Signed-off-by: Gal Ben Haim <[email protected]>
gbenhaim added a commit that referenced this issue May 11, 2025
1. Add special resource to the Workload created for a PipelinRun.
The resource will be used for controlling the amount of concurrent
PipelineRuns that can be executed at the same time.

2. Remove the default 1GB memory request, since it's not needed
after the addition of the new resource request.

3. Tests refactoring for sharing assertion and making them more
informative.

closes: #29

Signed-off-by: Gal Ben Haim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant