Conversation
| @@ -1,24 +0,0 @@ | |||
| name: Ruby Tests | |||
There was a problem hiding this comment.
Note it's in the last [WIP] commit. Just to avoid spending extra cycles just iterating on something unrelated.
|
I opened teemtee/tmt#2825 for some guidance on best practices for repository handling. |
|
@Griffin-Sullivan locally I could run this with |
| - hostname | ||
| - foreman-maintain | ||
| execute: | ||
| - script: foreman-maintain --help |
There was a problem hiding this comment.
Do you know why --help triggers hostname?
There was a problem hiding this comment.
No. It's either this:
foreman_maintain/lib/foreman_maintain/concerns/system_helpers.rb
Lines 94 to 96 in cfbb8c4
But more likely this:
That latter should really use block form:
@foreman_url = @options.fetch(:foreman_url) { `hostname -f`.chomp }That way it doesn't execute hostname -f if a value is found.
There was a problem hiding this comment.
You could, in theory, use this PR to test both this PR and the theory? By including these pieces of code selectively commented out and removing the hostname requires. Kind of a fun experiment.
There was a problem hiding this comment.
#819. And there's already plenty of other things I'm trying to test. First I just want it to work.
|
It's failing to install. I suspect it's trying to install the package before the repository with our packages is set up. |
The aim of this is to run tests on the built RPM to verify various scenarios using real systems.