diff --git a/.github/workflows/ruby_tests.yml b/.github/workflows/ruby_tests.yml index 4b4b1411..4102362d 100644 --- a/.github/workflows/ruby_tests.yml +++ b/.github/workflows/ruby_tests.yml @@ -29,3 +29,5 @@ jobs: postgresql_container: ghcr.io/theforeman/postgresql-evr test_existing_database: false foreman_version: ${{ matrix.foreman }} + environment_variables: | + FOREMAN_VERSION=${{ matrix.foreman }} diff --git a/gemfile.d/lock.rb b/gemfile.d/lock.rb new file mode 100644 index 00000000..77d305b1 --- /dev/null +++ b/gemfile.d/lock.rb @@ -0,0 +1,5 @@ +case ENV['FOREMAN_VERSION'] +when '3.9-stable' + gem "foreman_remote_execution", "< 13" + gem "foreman_ansible", "< 14" +end diff --git a/package.json b/package.json index f7005700..215e8405 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,8 @@ "@theforeman/builder": ">= 10.1.1", "@theforeman/test": ">= 10.1.1", "@theforeman/eslint-plugin-foreman": ">= 10.1.1", + "@redhat-cloud-services/frontend-components": "3.8.12", + "@redhat-cloud-services/frontend-components-utilities": "^3.7.6", "babel-eslint": "~10.0.0", "cosmiconfig-typescript-loader": "~4.3.0", "eslint": "~6.7.2",