-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add packit support #934
Add packit support #934
Conversation
/packit build |
/packit test |
6ed854b
to
b48cd6b
Compare
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.
ACK
Why are SCLs trying to be enabled here... |
theforeman/foreman-packaging#10731 will fix the builds |
b48cd6b
to
29ba425
Compare
29ba425
to
239137f
Compare
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.
I'd also drop the test deps from the gemspec to avoid duplication
gemfile.d/test.rb
Outdated
@@ -0,0 +1,8 @@ | |||
group :test do | |||
gem 'ci_reporter', '>= 1.6.3', "< 2.0.0" |
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.
This one was for Jenkins. I don't think it supports GHA
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 you're dropping the use of it, you can also drop the dependency
gem 'ci_reporter', '>= 1.6.3', "< 2.0.0" |
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.
I just realized you probably forgot to delete this file
Gemfile
Outdated
@@ -7,3 +7,7 @@ gemspec | |||
local_gemfile = File.join(File.dirname(__FILE__), file_name) | |||
self.instance_eval(Bundler.read_file(local_gemfile)) if File.exist?(local_gemfile) | |||
end | |||
|
|||
Dir[File.join(__dir__, 'gemfile.d', '*.rb')].each do |bundle| |
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.
There's no need for this here. You can just define it in the Gemfile itself. Gemfile.d is for Foreman plugins.
While we don't use it today, dependabot doesn't support eval_gemfile
so I'd stick to a plain Gemfile.
Though the instance_eval above already breaks dependabot.
239137f
to
3afe4b3
Compare
This PR should fix our nightly builds, which folks are waiting to test. |
78c2617
to
040a1ca
Compare
040a1ca
to
c232e21
Compare
@ekohl thanks for catching the gemfile folder, it's deleted now. |
Did a quick test, my PR doesn't seem to break anything in h-c-k at least. |
Merging since it should help with nightly, but we can make further improvements as needed. |
I used hammer-cli-foreman's packit file as an example.