You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
prow lexicon: generate chant's pipeline jobs as Prow jobs #5189
With #5169 and #5170 chant can write a Prow job config and knows when a GitHub repository runs its CI on Prow. It still cannot turn chant's own pipeline jobs into Prow jobs. chant build --components --generate prow generates nothing from components yet, and it says so.
Change
Give the prow lexicon a generateComponentPipeline, the same entry point the GitHub lexicon has. It turns each job chant generates for a component into the Prow job of the matching kind. A job that holds a credential must never become a presubmit that runs a pull request's code, which the lexicon's own PROW104 and PROW105 rules check.
Done when
chant build --components --generate prow writes a job config for a component project, and Prow's strict config loader accepts it.
Each job kind chant generates for GitHub has a Prow form, and a test covers each one.
The generated jobs pass the prow lexicon's lint rules with no PROW104 or PROW105 finding on a credential-holding job.
Activity