fedup URLs are a bit tricky to work out. fedfind does the hard
work, though; fedfind releases have a property called https_url
_generic which is the URL for the top of the 'generic' tree.
The fedup URL can be easily derived from there. In this approach
we work out the fedup URL here and pass it into openQA as a
variable. The fedup test can then just read the variable out.
Details
- Reviewers
garretraziel jskladan
Check that the FEDUPURL variable is set correctly when running
the fedup tests. There will be a corresponding diff for
openqa_fedora to use it.
Diff Detail
- Repository
- rOPENQA fedora_openqa
- Branch
- fedup
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 36 Build 36: arc lint + arc unit
This plus D471 should address T478.
garretraziel was working on a different approach to this which involved using the fedfind command line in the guest to get the fedup URL, but I always kinda preferred the idea of doing it this way, and it turns out to be pretty clean. We already have the fedfind instance in trigger, we just have to shuttle the necessary property around a bit.
I was hoping that we could use solution that doesn't require user to pass any additional variables besides BUILD - we are executing tests from command line by hand from time to time (mainly during development). Jozef, what do you think?
Although the patches look like a working solution, I'd much prefer the solution discussed in T478.
I'm abandoning this as fedup is dead, we'll come back to this when the new upgrade solution is testable I guess.