add another disk creation to createhdds.sh, clean QEMU_variables.txt, bump PhaseSeparation.md and documentation
ClosedPublic

Authored by garretraziel on Aug 10 2015, 1:03 PM.

Details

Summary

Create disk, containing updates.img in createhdds.sh, also modularize
it a little bit.

Since openqa_fedora repo now contains VARIABLES.md
file that includes all relevant variables, QEMU_variables.txt is
no longer needed and could confuse someone.

Another change is with REPOSITORY_GRAPHICAL and REPOSITORY_VARIATION
variables - current instructions on how to set them were out of date.

Test Plan

only testable thing is createhdds.sh - try to run it with or without argument

Diff Detail

Repository
rOPENQA fedora_openqa
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
garretraziel retitled this revision from to clean QEMU_variables.txt, small update in documentation.Aug 10 2015, 1:03 PM
garretraziel updated this object.
garretraziel edited the test plan for this revision. (Show Details)
garretraziel added reviewers: adamwill, jskladan.

updates in createhdds.sh and PhaseSeparation.md

garretraziel retitled this revision from clean QEMU_variables.txt, small update in documentation to add another disk creation to createhdds.sh, clean QEMU_variables.txt, bump PhaseSeparation.md and documentation.Aug 12 2015, 8:16 AM
garretraziel updated this object.
garretraziel edited the test plan for this revision. (Show Details)
garretraziel added a project: fedora_openqa.
adamwill requested changes to this revision.Aug 13 2015, 5:54 PM

I think *ideally* at least the code and doc changes here should be separate commits (and you could even split the code change into the refactor, updating the version on the 'minimal' image, and adding the updates image). But the actual changes seem OK aside from the inline comments.

InstallGuide.md
118 ↗(On Diff #1305)

Probably want to update this to 23 rather than 22 as well?

tools/createhdds.sh
34–36

If you're going to change this you should also change the fedup test in templates (where this image is used). It's only used for a known-broken fedup test, but still, it doesn't make any sense for them not to line up (and I guess we'll build the new-upgrade-mechanism tests from the charred remains of the fedup tests, so we probably want to keep them in order).

61

You need to change fedora-21 to fedora-22 here.

This revision now requires changes to proceed.Aug 13 2015, 5:54 PM
adamwill added inline comments.Aug 13 2015, 5:55 PM
tools/createhdds.sh
61

...sorry, lost a comment - and again, change the fedup test in templates which uses this image.

correct fedora-21 -> fedora-22, use F23 in link

This looks like it's functionally OK now, but I still kinda think it ought to be split at least into separate code and doc commits.

In D494#9448, @adamwill wrote:

This looks like it's functionally OK now, but I still kinda think it ought to be split at least into separate code and doc commits.

I was planning to split it before merge, but okay, I'm doing it now :-)

  • update InstallGuide for F23, correct things in PhaseSeparation, remove QEMU_variables
  • modularize createhdds.sh a bit, create f22 images instead of f21

The code overall LGTM, just make sure to split the changes to a reasonable amount of commits. I know that Phab does not make it easy to do/show, apart of using multiple D-requests, which then lack in readability, but hey, nothing's perfect

OK so should I merge this as several commits or create new D-requests?

Merging it as several commits would be fine with me.

This revision was automatically updated to reflect the committed changes.