From f95b5b265ad25b68398eeb28b0c3137a96e000c0 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 4 Dec 2024 14:03:19 +0100 Subject: [PATCH 1/2] test against Foreman 3.12, not develop --- .github/workflows/ruby_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby_tests.yml b/.github/workflows/ruby_tests.yml index e2502dd0..5dc0e362 100644 --- a/.github/workflows/ruby_tests.yml +++ b/.github/workflows/ruby_tests.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: foreman: - - develop + - 3.12-stable uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0 with: plugin: foreman_rh_cloud From c322a6a6818276846c7096e6b0ef76a2f74f31c4 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 4 Dec 2024 14:20:47 +0100 Subject: [PATCH 2/2] pin plugins to versions that don't require Zeitwerk loader --- foreman_rh_cloud.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/foreman_rh_cloud.gemspec b/foreman_rh_cloud.gemspec index 36b220cb..837c2dd0 100644 --- a/foreman_rh_cloud.gemspec +++ b/foreman_rh_cloud.gemspec @@ -20,9 +20,9 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.7', '< 4' - s.add_dependency 'foreman_ansible' - s.add_dependency 'foreman-tasks' - s.add_runtime_dependency 'katello', '>= 4.14.0.rc1.1' + s.add_dependency 'foreman_ansible', '< 15' + s.add_dependency 'foreman-tasks', '< 10' + s.add_runtime_dependency 'katello', '>= 4.14.0.rc1.1', '< 4.15' s.add_development_dependency 'rdoc' s.add_development_dependency 'theforeman-rubocop', '~> 0.1.0'