-
Notifications
You must be signed in to change notification settings - Fork 26
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
Convert Smart Proxy Plugin PR testing to a pipeline #258
Convert Smart Proxy Plugin PR testing to a pipeline #258
Conversation
5820c11
to
ddaba40
Compare
@@ -1,40 +1,20 @@ | |||
- job-template: | |||
name: 'smart-proxy-{plugin}-pull-request' | |||
name: 'smart_proxy_{plugin}-pr-test' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming also helps because Jenkins can't convert a matrix job to a pipeline.
The examples were already correct, but the name itself wasn't.
ed2eec4
to
b0f85e7
Compare
Testing this on https://ci.theforeman.org/job/smart_proxy_dns_infoblox-pr-test/ now. |
So it needs some work: theforeman/smart_proxy_dns_infoblox#30. It's good work, since it brings the gem up to date and provides proper reporting of failures, but still work. |
b0f85e7
to
204abd7
Compare
- project: | ||
name: smart-proxy-plugin-pull-request | ||
plugin: | ||
- ansible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ansible | ||
- dhcp_infoblox | ||
- dhcp_remote_isc | ||
- dns_infoblox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: smart-proxy-plugin-pull-request | ||
plugin: | ||
- ansible | ||
- dhcp_infoblox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plugin: | ||
- ansible | ||
- dhcp_infoblox | ||
- dhcp_remote_isc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally code looks good |
@ehelms some Smart Proxy plugins do have Rubocop, others don't. Right now I'm going over them and add them where needed, but I wonder if we should make the pipeline aware of non-Rubocop projects by looking if |
- monitoring | ||
- omaha | ||
- openscap | ||
- pulp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that makes it more flexible, and avoids having to sit on this change waiting on projects then I am all for that method. |
204abd7
to
1776737
Compare
This also renames the job names to follow the convention. It only converts projects which have been updated to be compatible.
1776737
to
625805e
Compare
For now I've updated it to only convert plugins which have been updated, allowing to move forward quicker. |
No description provided.