Skip to content

Add matrix schema validation to shared local/GHA CI path#131

Merged
mike-dubman merged 2 commits intoMellanox:masterfrom
mike-dubman:feature/gha-schema-validator-check
Feb 19, 2026
Merged

Add matrix schema validation to shared local/GHA CI path#131
mike-dubman merged 2 commits intoMellanox:masterfrom
mike-dubman:feature/gha-schema-validator-check

Conversation

@mike-dubman
Copy link
Collaborator

Goal

Add schema validation for CI matrix YAML files in the same execution path used by both local and GitHub Actions runs.

What changed

  • Updated schema_validator/ci_demo_schema.yaml to align with currently supported Matrix.groovy configuration syntax.
  • Added schema validation step in scripts/local_gha_ci.sh before Jenkins job execution.
  • Baked validator runtime into .github/Dockerfile.jenkins (python3 + venv with yamale) so validation does not install packages at runtime.

Result

  • Unknown/unsupported keys now fail fast during matrix validation.
  • Local make -C .ci local-gha-ci and GHA both use the same validation flow and fail early on invalid matrix config.

@mike-dubman mike-dubman merged commit 2b02e89 into Mellanox:master Feb 19, 2026
2 checks passed
@mike-dubman mike-dubman deleted the feature/gha-schema-validator-check branch February 19, 2026 07:10
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