ci-operator
ci-operator copied to clipboard
When --template is specified, ignore whatever test with that name is defined
As we move templates into the ci-operator, we need a way to stage the changes for sets of jobs and move gradually. When a user provides --template on the command line, ignore any job with the same name so that we can begin moving those to internal definitions.
How would we move jobs over to built in steps:
- Land this PR to allow templates to override build in steps
- Identify a set of ProwJobs that can omit the --template parameter that are not generated
- Update the cluster install e2e step to match the latest template
- Change the ProwJobs to omit the template parameter
- Soak for several days
- Identify any gaps in how we implement the template steps, fix ci-operator (secrets, profiles)
- Soak more
- Change ci-operator-prowgen to omit the --template parameter for all generated jobs
- React and validate
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: smarterclayton
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [smarterclayton]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
@petr-muller @bbguimaraes
In order for us to start trying to move templates inline, we need a way to keep backcompat with existing jobs (which use --template) and then allow us to test a few using the version coming out of this binary, then migrate the rest by regenerating ci-operator prowgen. This PR allows us to let --template
override any implicit step.