Skip to content

Reorganize the files for the standalone worker and remove inline gemfile - #575

Merged
agrare merged 6 commits into
ManageIQ:masterfrom
ohhAndy:move-event-parser-to-lib
Oct 6, 2026
Merged

agrare merged 6 commits into
ManageIQ:masterfrom
ohhAndy:move-event-parser-to-lib

Conversation

@ohhAndy

@ohhAndy ohhAndy commented Sep 29, 2026

Copy link
Copy Markdown
Member

Follow up to #569

@miq-bot assign @Fryguy
@miq-bot add-label refactor

Comment thread spec/workers/event_catcher/event_parser_spec.rb Outdated
Comment thread spec/workers/event_catcher/kubernetes_event_catcher_base_spec.rb Outdated
Comment thread spec/workers/event_catcher/event_parser_spec.rb Outdated
@ohhAndy
ohhAndy force-pushed the move-event-parser-to-lib branch from a186c95 to a7d9078 Compare September 29, 2026 19:57
Comment thread lib/manageiq/providers/kubernetes/workers/event_catcher_base.rb Outdated
@ohhAndy
ohhAndy force-pushed the move-event-parser-to-lib branch from a7d9078 to 1db10a2 Compare October 1, 2026 14:15
@ohhAndy
ohhAndy force-pushed the move-event-parser-to-lib branch from 1db10a2 to 1a5c670 Compare October 1, 2026 14:17
@ohhAndy ohhAndy changed the title Reorganize the files for the standalone worker Reorganize the files for the standalone worker and remove inline gemfile Oct 1, 2026
@ohhAndy

ohhAndy commented Oct 5, 2026

Copy link
Copy Markdown
Member Author

@miq-bot unassign @Fryguy
@miq-bot assign @agrare

@miq-bot miq-bot assigned agrare and unassigned Fryguy Oct 5, 2026
Comment thread workers/manageiq/providers/kubernetes/container_manager/event_catcher/worker Outdated
… load path, and add bundler setup to worker script
@miq-bot

miq-bot commented Oct 6, 2026

Copy link
Copy Markdown
Member

Checked commits ohhAndy/manageiq-providers-kubernetes@537c9e2~...ace07f9 with ruby 3.3.12, rubocop 1.91.0, haml-lint 0.78.0, and yamllint 1.37.1
5 files checked, 0 offenses detected
Everything looks fine. ⭐

#!/usr/bin/env ruby

ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../../../Gemfile', __dir__)
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agrare does this make sense?

@@ -0,0 +1,41 @@
#!/usr/bin/env ruby

ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../../../Gemfile', __dir__)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking this ManageIQ/manageiq#24001
But this is a good solution also especially since it would allow core to override it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I like this - when we're running from the plugin then it gives you that flexibility.

@agrare
agrare merged commit 8cb5375 into ManageIQ:master Oct 6, 2026
2 checks passed
@ohhAndy
ohhAndy deleted the move-event-parser-to-lib branch October 6, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants