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

Categories support for declarative CI configs in yaml #1123

Merged
merged 4 commits into from
Apr 4, 2024

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Apr 3, 2024

The PR implements the definition of categories for the different CI jobs that can be used to define the different CI configurations more accurate when generating the different jobs expected.

The code handles the following four categories:

  • pr:
    • jobs generation: enables the -ci-pr_any- / -pr- jobs that builds code on PRs
  • pr_abichecker:
    • restrictions: require pr category. Only linux.
    • jobs generation: enables the -ci-abichecker- jobs that builds code on PRs
  • stable_branches
    • jobs generation: enables the -ci-$branch- jobs that builds frequently on stable branches.
  • stable_branches_asan
    • restrictions: require pr category. Only linux.
    • jobs generation: enables the -ci_asan- jobs that builds frequently on stable branches.

The changes in this PR should not change the code generated in any way. They just introduce the support.

Note: changes are hard to review unless using w=1 https://github.com/gazebo-tooling/release-tools/pull/1123/files?w=1

@j-rivero
Copy link
Contributor Author

j-rivero commented Apr 4, 2024

Merging to test the gz-harmonic/noble configurations.

@j-rivero j-rivero merged commit 7c97f1e into master Apr 4, 2024
@j-rivero j-rivero deleted the jrivero/categories branch April 4, 2024 14:09
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 this pull request may close these issues.

1 participant