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

Update build pipelinerun creation #400

Closed
callmevladik opened this issue Sep 30, 2024 · 0 comments · Fixed by #401
Closed

Update build pipelinerun creation #400

callmevladik opened this issue Sep 30, 2024 · 0 comments · Fixed by #401
Assignees
Labels
enhancement New feature or request feature New functionality

Comments

@callmevladik
Copy link
Contributor

callmevladik commented Sep 30, 2024

Currently, the process for creating a build pipeline through the 'build' button in the KRCI Portal uses hardcoded timeout values for the PipelineRun. This task aims to enhance this process by implementing logic to dynamically retrieve and apply the timeout value from the kind: TriggerTemplate, specifically from the tt-build.yaml file within the edp-tekton repository.

Acceptance Criteria
The logic for creating a PipelineRun through the KRCI Portal's 'build' button dynamically retrieves the timeout value from the kind: TriggerTemplate (tt-build.yaml).
Hardcoded timeout values in the KRCI Portal (createBuildPipelineRunInstance function) are replaced with dynamically sourced values from the TriggerTemplate.
The implementation supports seamless updates to the timeout value within the TriggerTemplate, automatically reflecting in the build pipeline creation process without additional code modifications.
Comprehensive testing is performed to ensure that the dynamic timeout retrieval and application function correctly across various scenarios.
Documentation is updated to reflect the new logic for dynamic timeout handling in the build pipeline creation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature New functionality
Projects
Development

Successfully merging a pull request may close this issue.

1 participant