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

CI: Use dynamic pipelines #2405

Open
maleadt opened this issue May 30, 2024 · 1 comment
Open

CI: Use dynamic pipelines #2405

maleadt opened this issue May 30, 2024 · 1 comment
Labels
ci Everything related to continuous integration. enhancement New feature or request

Comments

@maleadt
Copy link
Member

maleadt commented May 30, 2024

The pipeline configuration is getting a little complicated, especially the if clauses to support skip/only statements. It's probably time to move to a dynamic pipeline generator so that we can select tests based on the contents of a PR, e.g., skip testing (or only test) only cuDNN when modifying lib/cudnn. We should probably only do this when the PR is marked as a draft PR, and opt to run all tests when marking ready for review.

In addition, because creating draft PRs is something most authors forget, we should probably use a label for this instead.

@maleadt maleadt added bug Something isn't working enhancement New feature or request ci Everything related to continuous integration. and removed bug Something isn't working labels May 30, 2024
@vchuravy
Copy link
Member

The Yggdrasil pipeline could probably be used for inspiration,

as an example forerunner is used to launch a dynamic pipeline based on what code as touched.

https://github.com/JuliaPackaging/Yggdrasil/blob/667ec5cba62eb585289d8345de21342f85c70331/.buildkite/pipeline.yml#L9

@maleadt maleadt changed the title Use dynamic pipelines CI: Use dynamic pipelines Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Everything related to continuous integration. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants