Skip to content

Conversation

@adrienbernede
Copy link
Member

@adrienbernede adrienbernede commented Nov 3, 2025

This commit migrates the CHAI CI configuration from the template-based approach to GitLab CI Components (requires GitLab 17.0+). Components provide better versioning, type-safe inputs, and cleaner syntax.

Changes:

  • Update .gitlab-ci.yml to use components from radiuss-shared-ci:
    • base-pipeline component for core functionality and .machine-check template
    • utility-draft-pr-filter component for draft PR handling
    • Machine-specific pipeline components (dane, matrix, corona, tioga, tuolumne)
  • Split custom-jobs-and-variables.yml into separate files:
    • custom-jobs.yml: Job templates for child pipelines
    • custom-variables.yml: Machine-specific allocation variables
  • Consolidate machine pipeline definitions into main .gitlab-ci.yml
  • Remove .gitlab/subscribed-pipelines.yml (replaced by inline definitions)
  • Add RADIUSS_SHARED_CI_REF variable to specify component version

The old custom-jobs-and-variables.yml file is retained for backward compatibility but is no longer referenced by the CI configuration.

🤖 Generated with Claude Code

adrienbernede and others added 14 commits September 29, 2025 11:38
This commit migrates the CHAI CI configuration from the template-based
approach to GitLab CI Components (requires GitLab 17.0+). Components
provide better versioning, type-safe inputs, and cleaner syntax.

Changes:
- Update .gitlab-ci.yml to use components from radiuss-shared-ci:
  - base-pipeline component for core functionality and .machine-check template
  - utility-draft-pr-filter component (commented out by default)
  - Machine-specific pipeline components (dane, matrix, corona, tioga, tuolumne)
- Split custom-jobs-and-variables.yml into separate files:
  - custom-jobs.yml: Job templates for child pipelines
  - custom-variables.yml: Machine-specific allocation variables
- Consolidate machine pipeline definitions into main .gitlab-ci.yml
- Remove .gitlab/subscribed-pipelines.yml (replaced by inline definitions)
- Add RADIUSS_SHARED_CI_REF variable to specify component version
- Remove BUILD_ROOT variable (not needed, was causing issues with component inputs)

The old custom-jobs-and-variables.yml file is retained for backward
compatibility but is no longer referenced by the CI configuration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@adrienbernede adrienbernede changed the title Migrate CI to use GitLab Components from radiuss-shared-ci [WIP] Migrate CI to use GitLab Components from radiuss-shared-ci Nov 3, 2025
@adrienbernede adrienbernede force-pushed the woptim/rsci-migrate-to-components branch from e534c76 to d33d4cf Compare November 3, 2025 19:20
- Extend .build-and-test template to avoid duplication of trigger config
- Move custom-jobs.yml include after component to allow overriding
- Remove redundant stage and trigger configuration (now in template)
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.

2 participants