Testing foreman_bootdisk proxmox extension

A colleague of mine created a proxmox extension for foreman_bootdisk: https://github.com/theforeman/foreman_bootdisk/pull/90

Unfortunately the tests are not running because the foreman_bootdisk plugin requires the foreman_fog_proxmox plugin to be able to run the tests:

https://ci.theforeman.org/job/foreman_bootdisk-pull-request/35/database=postgresql,label=fast,ruby=2.6/console

is it somehow possible to fix this in the foreman test environment? The dependency of foreman_fog_proxmox in foreman_bootdisk is only required to run the tests. The proxmox extension in foreman_bootdisk is written like this, that its not used if foreman_fog_proxmox is not installed (which is of course not always the case).

1 Like

You can specify additional gems that should be used to execute the tests: https://github.com/theforeman/foreman-infra/blob/50a2979392e471b714586c77b1245b80c7c12c99/puppet/modules/jenkins_job_builder/files/theforeman.org/scripts/test/test_plugin.sh#L52-L53

1 Like

works. thank you @TimoGoebel