Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
{
|
|
|
|
"Machines": {
|
|
|
|
"64bit": {
|
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "64bit",
|
|
|
|
"PART_TABLE_TYPE": "mbr",
|
|
|
|
"QEMUCPU": "Nehalem",
|
|
|
|
"QEMUCPUS": "2",
|
|
|
|
"QEMURAM": "2048",
|
|
|
|
"QEMUVGA": "virtio",
|
|
|
|
"QEMU_VIRTIO_RNG": "1",
|
|
|
|
"WORKER_CLASS": "qemu_x86_64"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ARM": {
|
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "ARM",
|
|
|
|
"QEMU": "arm",
|
|
|
|
"QEMUCPUS": "2",
|
|
|
|
"QEMUMACHINE": "virt",
|
|
|
|
"QEMURAM": "1024",
|
|
|
|
"QEMU_NO_KVM": "1",
|
|
|
|
"QEMU_VIRTIO_RNG": "1",
|
|
|
|
"SERIALDEV": "ttyAMA0",
|
2020-10-28 21:20:16 +00:00
|
|
|
"TIMEOUT_SCALE": "1.5",
|
|
|
|
"WORKER_CLASS": "qemu_aarch64"
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"aarch64": {
|
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "aarch64",
|
|
|
|
"PART_TABLE_TYPE": "gpt",
|
|
|
|
"QEMU": "aarch64",
|
|
|
|
"QEMUCPU": "host",
|
|
|
|
"QEMUCPUS": "2",
|
2020-03-04 00:41:04 +00:00
|
|
|
"QEMUMACHINE": "virt,gic-version=max",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"QEMURAM": 3072,
|
|
|
|
"QEMU_VIRTIO_RNG": "1",
|
|
|
|
"SERIALDEV": "ttyAMA0",
|
|
|
|
"TIMEOUT_SCALE": "1.5",
|
|
|
|
"UEFI": "1",
|
|
|
|
"UEFI_PFLASH_CODE": "/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw",
|
|
|
|
"UEFI_PFLASH_VARS": "/usr/share/edk2/aarch64/vars-template-pflash.raw",
|
|
|
|
"WORKER_CLASS": "qemu_aarch64"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ppc64le": {
|
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "ppc64le",
|
|
|
|
"OFW": 1,
|
|
|
|
"PART_TABLE_TYPE": "mbr",
|
|
|
|
"QEMU": "ppc64",
|
|
|
|
"QEMUCPU": "host",
|
|
|
|
"QEMURAM": 4096,
|
|
|
|
"QEMUVGA": "virtio",
|
|
|
|
"QEMU_VIRTIO_RNG": "1",
|
|
|
|
"WORKER_CLASS": "qemu_ppc64le"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"uefi": {
|
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "64bit",
|
|
|
|
"PART_TABLE_TYPE": "gpt",
|
|
|
|
"QEMUCPU": "Nehalem",
|
|
|
|
"QEMUCPUS": "2",
|
|
|
|
"QEMURAM": "2048",
|
|
|
|
"QEMUVGA": "virtio",
|
|
|
|
"QEMU_VIRTIO_RNG": "1",
|
|
|
|
"UEFI": "1",
|
|
|
|
"UEFI_PFLASH_CODE": "/usr/share/edk2/ovmf/OVMF_CODE.fd",
|
|
|
|
"UEFI_PFLASH_VARS": "/usr/share/edk2/ovmf/OVMF_VARS.fd",
|
|
|
|
"WORKER_CLASS": "qemu_x86_64"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Products": {
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Cloud_Base-qcow2-qcow2",
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ISO": "cloudinit.iso",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "HDD_1"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Cloud_Base-qcow2-qcow2",
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"ISO": "cloudinit.iso",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "HDD_1"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Cloud_Base-qcow2-qcow2",
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"ISO": "cloudinit.iso",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "HDD_1"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2020-08-19 21:58:02 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "CoreOS-colive-iso",
|
|
|
|
"settings": {
|
|
|
|
"CANNED": "1",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
2020-08-19 21:58:02 +00:00
|
|
|
"TEST_TARGET": "ISO",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Everything-boot-iso-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Everything-boot-iso",
|
|
|
|
"settings": {
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Everything-boot-iso-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Everything-boot-iso",
|
|
|
|
"settings": {
|
2020-07-17 19:44:54 +00:00
|
|
|
"+QEMURAM": 3072,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2020-02-13 19:50:32 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "IoT-dvd_ostree-iso",
|
|
|
|
"settings": {
|
|
|
|
"CANNED": "1",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
2020-02-13 19:50:32 +00:00
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "IoT-dvd_ostree-iso",
|
|
|
|
"settings": {
|
|
|
|
"CANNED": "1",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
2020-02-13 19:50:32 +00:00
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-KDE-live-iso-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "KDE-live-iso",
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"DESKTOP": "kde",
|
|
|
|
"LIVE": "1",
|
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2020-10-28 21:20:16 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Minimal-raw_xz-raw.xz",
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_arm_image_deployment_upload",
|
2020-10-28 21:20:16 +00:00
|
|
|
"TEST_TARGET": "HDD_2"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*": {
|
|
|
|
"arch": "arm",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Minimal-raw_xz-raw.xz",
|
|
|
|
"settings": {
|
2020-10-28 21:20:16 +00:00
|
|
|
"APPEND": "rw root=LABEL=_/ rootwait console=ttyAMA0 console=tty0 consoleblank=0",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_arm_image_deployment_upload",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"TEST_TARGET": "HDD_2"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Server-boot-iso-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Server-boot-iso",
|
|
|
|
"settings": {
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Server-boot-iso-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Server-boot-iso",
|
|
|
|
"settings": {
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Server-boot-iso-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Server-boot-iso",
|
|
|
|
"settings": {
|
2020-07-17 19:44:54 +00:00
|
|
|
"+QEMURAM": 3072,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Server-dvd-iso",
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Server-dvd-iso",
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Server-dvd-iso",
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2020-10-28 21:20:16 +00:00
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Server-raw_xz-raw.xz",
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_arm_image_deployment_upload",
|
2020-10-28 21:20:16 +00:00
|
|
|
"TEST_TARGET": "HDD_2"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Silverblue-dvd_ostree-iso",
|
|
|
|
"settings": {
|
|
|
|
"CANNED": "1",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Silverblue-dvd_ostree-iso",
|
|
|
|
"settings": {
|
|
|
|
"CANNED": "1",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Workstation-live-iso",
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
2020-05-28 09:40:34 +00:00
|
|
|
"HDDSIZEGB": "20",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"LIVE": "1",
|
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Workstation-live-iso",
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
2020-05-11 13:55:16 +00:00
|
|
|
"HDDSIZEGB": "20",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"LIVE": "1",
|
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2020-10-28 21:20:16 +00:00
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "Workstation-raw_xz-raw.xz",
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_arm_image_deployment_upload",
|
2020-10-28 21:20:16 +00:00
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"TEST_TARGET": "HDD_2"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-universal-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "universal",
|
|
|
|
"settings": {
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-universal-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "universal",
|
|
|
|
"settings": {
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"fedora-universal-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "fedora",
|
|
|
|
"flavor": "universal",
|
|
|
|
"settings": {
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Profiles": {
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "fedora-Cloud_Base-qcow2-qcow2-aarch64-*"
|
|
|
|
},
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "fedora-Cloud_Base-qcow2-qcow2-ppc64le-*"
|
|
|
|
},
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-Cloud_Base-qcow2-qcow2-x86_64-*"
|
|
|
|
},
|
2020-08-19 21:58:02 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-CoreOS-colive-iso-x86_64-*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Everything-boot-iso-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "fedora-Everything-boot-iso-ppc64le-*"
|
|
|
|
},
|
|
|
|
"fedora-Everything-boot-iso-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-Everything-boot-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-Everything-boot-iso-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "fedora-Everything-boot-iso-x86_64-*"
|
|
|
|
},
|
2020-02-13 19:50:32 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "fedora-IoT-dvd_ostree-iso-aarch64-*"
|
|
|
|
},
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-IoT-dvd_ostree-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "fedora-IoT-dvd_ostree-iso-x86_64-*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-KDE-live-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "fedora-KDE-live-iso-x86_64-*"
|
|
|
|
},
|
2020-10-28 21:20:16 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "fedora-Minimal-raw_xz-raw.xz-aarch64-*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": {
|
|
|
|
"machine": "ARM",
|
|
|
|
"product": "fedora-Minimal-raw_xz-raw.xz-arm-*"
|
|
|
|
},
|
|
|
|
"fedora-Server-boot-iso-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "fedora-Server-boot-iso-aarch64-*"
|
|
|
|
},
|
|
|
|
"fedora-Server-boot-iso-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "fedora-Server-boot-iso-ppc64le-*"
|
|
|
|
},
|
|
|
|
"fedora-Server-boot-iso-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-Server-boot-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-Server-boot-iso-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "fedora-Server-boot-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "fedora-Server-dvd-iso-aarch64-*"
|
|
|
|
},
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "fedora-Server-dvd-iso-ppc64le-*"
|
|
|
|
},
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-Server-dvd-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "fedora-Server-dvd-iso-x86_64-*"
|
|
|
|
},
|
2020-10-28 21:20:16 +00:00
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "fedora-Server-raw_xz-raw.xz-aarch64-*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "fedora-Silverblue-dvd_ostree-iso-ppc64le-*"
|
|
|
|
},
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-Silverblue-dvd_ostree-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "fedora-Silverblue-dvd_ostree-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "fedora-Workstation-live-iso-ppc64le-*"
|
|
|
|
},
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-Workstation-live-iso-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "fedora-Workstation-live-iso-x86_64-*"
|
|
|
|
},
|
2020-10-28 21:20:16 +00:00
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "fedora-Workstation-raw_xz-raw.xz-aarch64-*"
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-universal-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "fedora-universal-aarch64-*"
|
|
|
|
},
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "fedora-universal-ppc64le-*"
|
|
|
|
},
|
|
|
|
"fedora-universal-x86_64-*-64bit": {
|
|
|
|
"machine": "64bit",
|
|
|
|
"product": "fedora-universal-x86_64-*"
|
|
|
|
},
|
|
|
|
"fedora-universal-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "fedora-universal-x86_64-*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"TestSuites": {
|
|
|
|
"apps_startstop": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"STARTSTOP": "true",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"base_reboot_unmount": {
|
|
|
|
"profiles": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*-64bit": 20,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 50,
|
2020-02-13 19:50:32 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 22,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": 22,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": 22,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": 22,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "base_reboot_unmount",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
2020-10-30 22:21:49 +00:00
|
|
|
"base_system_logging": {
|
2020-06-17 22:18:21 +00:00
|
|
|
"profiles": {
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*-ppc64le": 20,
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*-64bit": 20,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 50,
|
2020-02-13 19:50:32 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 22,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": 22,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": 22,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": 22,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2020-06-17 22:18:21 +00:00
|
|
|
"POSTINSTALL": "base_system_logging",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
2020-10-30 22:21:49 +00:00
|
|
|
"base_update_cli": {
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"profiles": {
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*-ppc64le": 20,
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*-64bit": 20,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 22,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": 22,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": 22,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": 22,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2020-06-17 22:18:21 +00:00
|
|
|
"POSTINSTALL": "base_update_cli",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"base_services_start": {
|
|
|
|
"profiles": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*-64bit": 40,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 50,
|
2020-02-13 19:50:32 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 42,
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": 42,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": 42,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40,
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": 42,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 40,
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 40,
|
2020-10-28 21:20:16 +00:00
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 42
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"BOOTFROM": "c",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "base_services_start",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
2020-10-30 22:21:49 +00:00
|
|
|
"base_selinux": {
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"profiles": {
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*-ppc64le": 40,
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*-64bit": 40,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 50,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 42,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": 42,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": 42,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": 42,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 40,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 42
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2020-06-17 22:18:21 +00:00
|
|
|
"POSTINSTALL": "base_selinux",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
2020-10-30 22:21:49 +00:00
|
|
|
"base_service_manipulation": {
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"profiles": {
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*-ppc64le": 40,
|
2020-10-30 22:21:49 +00:00
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*-64bit": 40,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 50,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 42,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": 42,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": 42,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": 42,
|
2020-06-17 22:18:21 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 40,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 42
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2020-06-17 22:18:21 +00:00
|
|
|
"POSTINSTALL": "base_service_manipulation",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"cloud_autocloud": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Cloud_Base-qcow2-qcow2-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"POSTINSTALL": "autocloud"
|
|
|
|
}
|
|
|
|
},
|
2020-05-28 09:40:34 +00:00
|
|
|
"install_blivet_resize_lvm": {
|
2020-05-11 13:55:16 +00:00
|
|
|
"profiles": {
|
2020-06-01 11:01:29 +00:00
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
2020-05-11 13:55:16 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2020-05-28 09:40:34 +00:00
|
|
|
"PARTITIONING": "custom_blivet_resize_lvm",
|
2020-11-03 00:09:03 +00:00
|
|
|
"HDD_1": "disk_f%PREVREL%_desktop_4_%ARCH%.img",
|
2020-05-11 13:55:16 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"INSTALL": "1"
|
|
|
|
}
|
|
|
|
},
|
2020-05-28 09:40:34 +00:00
|
|
|
"install_resize_lvm": {
|
2020-05-11 13:55:16 +00:00
|
|
|
"profiles": {
|
2020-11-18 12:44:05 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
2020-05-11 13:55:16 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2020-05-28 09:40:34 +00:00
|
|
|
"PARTITIONING": "custom_resize_lvm",
|
2020-11-18 12:44:05 +00:00
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2020-05-11 13:55:16 +00:00
|
|
|
"INSTALL": "1",
|
2020-11-18 12:44:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "install_lvm_ext4"
|
2020-05-11 13:55:16 +00:00
|
|
|
}
|
|
|
|
},
|
2020-11-03 00:34:43 +00:00
|
|
|
"desktop_background": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 22,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "desktop_background",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"desktop_login": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 30,
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 30,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "desktop_login",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
|
|
|
}
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"desktop_browser": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 22,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
2020-11-03 00:34:43 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "desktop_browser",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"desktop_notifications_live": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 32,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ENTRYPOINT": "desktop_notifications"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"desktop_notifications_postinstall": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 32,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"ENTRYPOINT": "desktop_notifications",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"desktop_printing": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
2020-11-03 00:34:43 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "desktop_printing",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"desktop_terminal": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 22,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
2020-11-03 00:34:43 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "desktop_terminal",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"desktop_update_graphical": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 32,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 30,
|
2020-11-03 00:34:43 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 30,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 32
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "desktop_update_graphical",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_anaconda_text": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ANACONDA_TEXT": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_arabic_language": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
2020-02-26 10:32:48 +00:00
|
|
|
"HDDSIZEGB": "15",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"LANGUAGE": "arabic",
|
|
|
|
"PACKAGE_SET": "workstation",
|
|
|
|
"POSTINSTALL": "_console_login",
|
|
|
|
"QEMU_DISABLE_SNAPSHOTS": "1",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"SWITCHED_LAYOUT": "1",
|
|
|
|
"USER_LOGIN": "qwerty"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_arm_image_deployment_upload": {
|
|
|
|
"profiles": {
|
2020-10-28 21:20:16 +00:00
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": 12,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": 12,
|
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": 12,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 12
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2020-10-28 21:20:16 +00:00
|
|
|
"IMAGE_DEPLOY": "1",
|
|
|
|
"INSTALL_NO_USER": "1",
|
2020-11-04 19:42:13 +00:00
|
|
|
"NUMDISKS": "2",
|
|
|
|
"STORE_HDD_2": "disk_%FLAVOR%_%MACHINE%.qcow2"
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_asian_language": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
2020-02-26 10:32:48 +00:00
|
|
|
"HDDSIZEGB": "15",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"INPUT_METHOD": "1",
|
|
|
|
"LANGUAGE": "japanese",
|
|
|
|
"PACKAGE_SET": "workstation",
|
|
|
|
"POSTINSTALL": "_console_login",
|
|
|
|
"QEMU_DISABLE_SNAPSHOTS": "1",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "qwerty"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_blivet_btrfs": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 41
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_blivet_btrfs",
|
|
|
|
"POSTINSTALL": "disk_custom_btrfs_postinstall",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_blivet_lvmthin": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 41
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_blivet_lvmthin",
|
|
|
|
"POSTINSTALL": "disk_custom_lvmthin_postinstall",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
2020-08-11 20:34:37 +00:00
|
|
|
"install_blivet_with_swap": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 50,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 50,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 51
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_blivet_with_swap",
|
|
|
|
"POSTINSTALL": "disk_custom_with_swap_postinstall",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"install_blivet_software_raid": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 41
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARTITIONING": "custom_blivet_software_raid",
|
|
|
|
"POSTINSTALL": "disk_custom_software_raid_postinstall",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_blivet_xfs": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 41
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_blivet_xfs",
|
|
|
|
"POSTINSTALL": "disk_custom_xfs_postinstall",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_btrfs": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 41
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_btrfs",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_cyrillic_language": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
2020-02-26 10:32:48 +00:00
|
|
|
"HDDSIZEGB": "15",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"LANGUAGE": "russian",
|
|
|
|
"PACKAGE_SET": "workstation",
|
|
|
|
"POSTINSTALL": "_console_login",
|
|
|
|
"QEMU_DISABLE_SNAPSHOTS": "1",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"SWITCHED_LAYOUT": "1",
|
|
|
|
"USER_LOGIN": "qwerty"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_default": {
|
|
|
|
"profiles": {
|
2020-02-13 19:50:32 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-uefi": 21,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Everything-boot-iso-ppc64le-*-ppc64le": 62,
|
|
|
|
"fedora-Everything-boot-iso-x86_64-*-64bit": 10,
|
|
|
|
"fedora-Everything-boot-iso-x86_64-*-uefi": 11,
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-uefi": 16,
|
|
|
|
"fedora-Server-boot-iso-aarch64-*-aarch64": 10,
|
|
|
|
"fedora-Server-boot-iso-ppc64le-*-ppc64le": 10,
|
|
|
|
"fedora-Server-boot-iso-x86_64-*-64bit": 10,
|
|
|
|
"fedora-Server-boot-iso-x86_64-*-uefi": 11,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-uefi": 11,
|
2020-05-28 09:40:34 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-uefi": 51,
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-uefi": 11
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"POSTINSTALL": "_collect_data"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_default_upload": {
|
|
|
|
"profiles": {
|
2020-08-19 21:58:02 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 20,
|
2020-02-13 19:50:32 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 20,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 15,
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 10,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 10,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 10,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 10,
|
2020-05-28 09:40:34 +00:00
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 10
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PACKAGE_SET": "default",
|
|
|
|
"POSTINSTALL": "_collect_data",
|
|
|
|
"STORE_HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_delete_partial": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 31
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_1": "disk_full_%PART_TABLE_TYPE%.img",
|
|
|
|
"PARTITIONING": "guided_delete_partial",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_delete_pata": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 21
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDDMODEL": "ide-hd",
|
|
|
|
"HDD_1": "disk_full_mbr.img",
|
|
|
|
"PARTITIONING": "guided_delete_all"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_european_language": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
2020-02-26 10:32:48 +00:00
|
|
|
"HDDSIZEGB": "15",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"LANGUAGE": "french",
|
|
|
|
"NO_UEFI_POST": "1",
|
|
|
|
"PACKAGE_SET": "workstation",
|
|
|
|
"POSTINSTALL": "_console_login",
|
|
|
|
"QEMU_DISABLE_SNAPSHOTS": "1",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "qwerty"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_iscsi": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-07-17 20:42:48 +00:00
|
|
|
"ANACONDA_STATIC": "172.16.2.111",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
|
|
|
"PARTITIONING": "custom_iscsi",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_kickstart_firewall_configured": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.ks=http://fedorapeople.org/groups/qa/kickstarts/firewall-configured-net.ks",
|
|
|
|
"KICKSTART": "1",
|
|
|
|
"POSTINSTALL": "firewall_configured",
|
|
|
|
"ROOT_PASSWORD": "anaconda",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_kickstart_firewall_disabled": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.ks=http://fedorapeople.org/groups/qa/kickstarts/firewall-disabled-net.ks",
|
|
|
|
"KICKSTART": "1",
|
|
|
|
"POSTINSTALL": "firewall_disabled",
|
|
|
|
"ROOT_PASSWORD": "anaconda",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_kickstart_hdd": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.ks=hd:vdb1:/root-user-crypted-net.ks",
|
2020-08-24 19:39:17 +00:00
|
|
|
"HDD_2": "disk_ks_4.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"KICKSTART": "1",
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"ROOT_PASSWORD": "111111",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "test"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_kickstart_nfs": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-07-17 20:42:48 +00:00
|
|
|
"GRUB": "inst.ks=nfs:172.16.2.110:/export/root-user-crypted-net.ks",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"KICKSTART": "1",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
|
|
|
"ROOT_PASSWORD": "111111",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_kickstart_user_creation": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.ks=http://jskladan.fedorapeople.org/kickstarts/root-user-crypted-net.ks",
|
|
|
|
"KICKSTART": "1",
|
|
|
|
"ROOT_PASSWORD": "111111",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "test"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_lvmthin": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 41
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_lvmthin",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
2020-11-18 12:44:05 +00:00
|
|
|
"install_lvm_ext4": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-uefi": 41
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_lvm",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"STORE_HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2"
|
|
|
|
}
|
|
|
|
},
|
2020-11-24 13:19:04 +00:00
|
|
|
"install_standard_partition_ext4": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_standard_partition_ext4",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"install_mirrorlist_graphical": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"MIRRORLIST_GRAPHICAL": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_multi": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 21
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_2": "disk_full_mbr.img",
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARTITIONING": "guided_multi",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_multi_empty": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 31
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARTITIONING": "guided_multi_empty_all",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
2020-08-11 20:34:37 +00:00
|
|
|
"install_with_swap": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 50,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 50,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 51
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_with_swap",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"install_no_user": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 21
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"INSTALL_NO_USER": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_package_set_kde": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 50
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "kde",
|
2020-02-26 15:31:22 +00:00
|
|
|
"HDDSIZEGB": "13",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"PACKAGE_SET": "kde",
|
|
|
|
"POSTINSTALL": "_collect_data",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_package_set_minimal": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"POSTINSTALL": "_collect_data"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_pxeboot": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 31
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"+ISO": "",
|
|
|
|
"DELAYED_START": "1",
|
|
|
|
"KICKSTART": "1",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server@%ARCH_BASE_MACHINE%",
|
|
|
|
"PXEBOOT": "once",
|
|
|
|
"ROOT_PASSWORD": "111111",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_hd_variation": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_2": "disk_full_mbr.img",
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PREINSTALL": "preinstall_iso_in_hd",
|
|
|
|
"REPOSITORY_VARIATION": "hd:vdb1:/fedora_image.iso"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_http_graphical": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"REPOSITORY_GRAPHICAL": "%LOCATION%"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_http_variation": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_nfs_graphical": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
2020-07-17 20:42:48 +00:00
|
|
|
"REPOSITORY_GRAPHICAL": "nfs:nfsvers=4:172.16.2.110:/repo",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_nfs_variation": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
2020-07-17 20:42:48 +00:00
|
|
|
"REPOSITORY_VARIATION": "nfs:nfsvers=4:172.16.2.110:/repo",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_nfsiso_variation": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
2020-07-17 20:42:48 +00:00
|
|
|
"REPOSITORY_VARIATION": "nfs:nfsvers=4:172.16.2.110:/iso/image.iso",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_rescue_encrypted": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 31,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 31,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 31,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 32
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "d",
|
|
|
|
"ENTRYPOINT": "rescue_mode_encrypted",
|
|
|
|
"HDD_1": "disk_%MACHINE%_encrypted.qcow2",
|
|
|
|
"START_AFTER_TEST": "install_simple_encrypted"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_sata": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 21
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ATACONTROLLER": "ich9-ahci",
|
|
|
|
"HDDMODEL": "ide-drive,bus=ahci0.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_scsi_updates_img": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"CDMODEL": "scsi-cd",
|
|
|
|
"GRUB": "inst.updates=https://fedorapeople.org/groups/qa/updates/updates-openqa.img",
|
|
|
|
"HDDMODEL": "scsi-hd",
|
|
|
|
"SCSICONTROLLER": "virtio-scsi-pci",
|
|
|
|
"TEST_UPDATES": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_serial_console": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ANACONDA_TEXT": "1",
|
|
|
|
"NO_UEFI_POST": "1",
|
|
|
|
"SERIAL_CONSOLE": "1",
|
|
|
|
"VIRTIO_CONSOLE_NUM": "2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_shrink_ext4": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_1": "disk_shrink_ext4.img",
|
|
|
|
"PARTITIONING": "guided_shrink",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_shrink_ntfs": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_1": "disk_shrink_ntfs.img",
|
|
|
|
"PARTITIONING": "guided_shrink",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_simple_encrypted": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 31
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
|
|
|
"STORE_HDD_1": "disk_%MACHINE%_encrypted.qcow2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_simple_free_space": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 31
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_1": "disk_freespace_%PART_TABLE_TYPE%.img",
|
|
|
|
"PARTITIONING": "guided_free_space",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_software_raid": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 31
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARTITIONING": "custom_software_raid",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_updates_img_local": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.updates=hd:LABEL=UPDATES_IMG:/updates.img",
|
|
|
|
"HDD_2": "disk_updates_img_2.img",
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"TEST_UPDATES": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_updates_nfs": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-07-17 20:42:48 +00:00
|
|
|
"GRUB": "inst.stage2=nfs:nfsvers=4:172.16.2.110:/repo",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
2020-07-17 23:25:52 +00:00
|
|
|
"QEMURAM": "3072",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"TEST_UPDATES": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_vnc_client": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"HDD_1": "disk_f%CURRREL%_desktop_4_%ARCH%.img",
|
|
|
|
"INSTALL": "1",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "install_vnc_server",
|
Split VNC client steps in two for aarch64 timing issue
So, there's a problem with how we figure out the NetworkManager
connection to use in setup_tap_static: it expects the first
connection in the list to be the right one, but this is only
actually true so long as it's *active*. When we're in the tap
case, it's usually not going to actually *work* out of the box
on boot (or else we wouldn't need setup_tap_static at all...),
so some time after boot, NetworkManager gives up on it and marks
it as inactive. And after that, setup_tap_static won't work any
more.
I never noticed this as a problem before because usually we do
setup_tap_static before that point. But it seems in the vnc
client tests, on aarch64, desktop boot and login is slow enough
that by the time we switch to a VT and try to setup the network,
we're very close to that cutoff, and sometimes miss it.
This, I hope, avoids the problem by doing the network setup in
that test before we deal with the desktop login, then doing the
desktop login, then doing the actual VNC bits.
The alternative here would be to figure out a better way to do
setup_tap_static, but I can't.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-30 18:27:45 +00:00
|
|
|
"PREINSTALL": "_vnc_client_connect_pre _graphical_wait_login _vnc_client_connect",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"VNC_CLIENT": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_vnc_server": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-12-15 20:43:53 +00:00
|
|
|
"GRUB": "inst.vnc net.ifnames=0 biosdevname=0 ip=172.16.2.114::172.16.2.2:255.255.255.0:vnc001.test.openqa.fedoraproject.org:eth0:off",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"NICTYPE": "tap",
|
|
|
|
"VNC_SERVER": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_vncconnect_client": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"HDD_1": "disk_f%CURRREL%_desktop_4_%ARCH%.img",
|
|
|
|
"INSTALL": "1",
|
|
|
|
"NICTYPE": "tap",
|
Split VNC client steps in two for aarch64 timing issue
So, there's a problem with how we figure out the NetworkManager
connection to use in setup_tap_static: it expects the first
connection in the list to be the right one, but this is only
actually true so long as it's *active*. When we're in the tap
case, it's usually not going to actually *work* out of the box
on boot (or else we wouldn't need setup_tap_static at all...),
so some time after boot, NetworkManager gives up on it and marks
it as inactive. And after that, setup_tap_static won't work any
more.
I never noticed this as a problem before because usually we do
setup_tap_static before that point. But it seems in the vnc
client tests, on aarch64, desktop boot and login is slow enough
that by the time we switch to a VT and try to setup the network,
we're very close to that cutoff, and sometimes miss it.
This, I hope, avoids the problem by doing the network setup in
that test before we deal with the desktop login, then doing the
desktop login, then doing the actual VNC bits.
The alternative here would be to figure out a better way to do
setup_tap_static, but I can't.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-30 18:27:45 +00:00
|
|
|
"PREINSTALL": "_vncconnect_client_setup_pre _graphical_wait_login _vncconnect_client_setup",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"VNC_CLIENT": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_vncconnect_server": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-12-15 20:43:53 +00:00
|
|
|
"GRUB": "inst.vnc inst.vncconnect=172.16.2.117:5500 net.ifnames=0 biosdevname=0 ip=172.16.2.116::172.16.2.2:255.255.255.0:vnc003.test.openqa.fedoraproject.org:eth0:off",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"INSTALL_UNLOCK": "vncconnect_client_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "install_vncconnect_client",
|
|
|
|
"VNC_SERVER": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_xfs": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40,
|
|
|
|
"fedora-universal-x86_64-*-uefi": 41
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_xfs",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
2020-06-19 21:14:57 +00:00
|
|
|
"iot_clevis": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
|
|
|
"POSTINSTALL": "iot_clevis",
|
|
|
|
"QEMUTPM": "instance",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"WORKER_CLASS": "tpm"
|
|
|
|
}
|
|
|
|
},
|
2020-05-27 12:49:22 +00:00
|
|
|
"iot_greenboot": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "iot_greenboot",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
2020-05-27 12:49:22 +00:00
|
|
|
}
|
|
|
|
},
|
2020-05-28 12:43:52 +00:00
|
|
|
"iot_rpmostree_overlay": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "iot_rpmostree_overlay",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
2020-05-28 12:43:52 +00:00
|
|
|
}
|
|
|
|
},
|
Automate QA:Testcase_Zezere_Ignition
This is a bit complex to automate, because we cannot really use
the production Zezere server (provision.fedoraproject.org) as
the test case shows, as we'd have to solve authentication and
we also don't really want to constantly keep registering new
hosts to it that are going to disappear and never be seen again.
So, instead we'll do it by setting up our *own* Zezere, and
provisioning our IoT system in that. We run two tests. The
'ignition' test is the actual IoT 'device'; all it really does
is boot up, sit around, and wait to be provisioned. The 'server'
test first sets up a Zezere server, then logs into it, adds an
ssh key, claims the IoT device, provisions it, and connects to
it to create a special file which tells the 'ignition' test
everything worked and it can close out.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-07-15 21:56:32 +00:00
|
|
|
"iot_rpmostree_rebase": {
|
2020-06-04 18:00:32 +00:00
|
|
|
"profiles": {
|
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "iot_rpmostree_rebase",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
2020-06-04 18:00:32 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
Automate QA:Testcase_Zezere_Ignition
This is a bit complex to automate, because we cannot really use
the production Zezere server (provision.fedoraproject.org) as
the test case shows, as we'd have to solve authentication and
we also don't really want to constantly keep registering new
hosts to it that are going to disappear and never be seen again.
So, instead we'll do it by setting up our *own* Zezere, and
provisioning our IoT system in that. We run two tests. The
'ignition' test is the actual IoT 'device'; all it really does
is boot up, sit around, and wait to be provisioned. The 'server'
test first sets up a Zezere server, then logs into it, adds an
ssh key, claims the IoT device, provisions it, and connects to
it to create a special file which tells the 'ignition' test
everything worked and it can close out.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-07-15 21:56:32 +00:00
|
|
|
"iot_zezere_ignition": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2020-08-21 22:56:44 +00:00
|
|
|
"GRUB_POSTINSTALL": "zezere.url=http://172.16.2.118",
|
Automate QA:Testcase_Zezere_Ignition
This is a bit complex to automate, because we cannot really use
the production Zezere server (provision.fedoraproject.org) as
the test case shows, as we'd have to solve authentication and
we also don't really want to constantly keep registering new
hosts to it that are going to disappear and never be seen again.
So, instead we'll do it by setting up our *own* Zezere, and
provisioning our IoT system in that. We run two tests. The
'ignition' test is the actual IoT 'device'; all it really does
is boot up, sit around, and wait to be provisioned. The 'server'
test first sets up a Zezere server, then logs into it, adds an
ssh key, claims the IoT device, provisions it, and connects to
it to create a special file which tells the 'ignition' test
everything worked and it can close out.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-07-15 21:56:32 +00:00
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "iot_zezere_server",
|
|
|
|
"POSTINSTALL": "iot_zezere_ignition",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.119 zezere001.test.openqa.fedoraproject.org",
|
Automate QA:Testcase_Zezere_Ignition
This is a bit complex to automate, because we cannot really use
the production Zezere server (provision.fedoraproject.org) as
the test case shows, as we'd have to solve authentication and
we also don't really want to constantly keep registering new
hosts to it that are going to disappear and never be seen again.
So, instead we'll do it by setting up our *own* Zezere, and
provisioning our IoT system in that. We run two tests. The
'ignition' test is the actual IoT 'device'; all it really does
is boot up, sit around, and wait to be provisioned. The 'server'
test first sets up a Zezere server, then logs into it, adds an
ssh key, claims the IoT device, provisions it, and connects to
it to create a special file which tells the 'ignition' test
everything worked and it can close out.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-07-15 21:56:32 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Automate QA:Testcase_Zezere_Ignition
This is a bit complex to automate, because we cannot really use
the production Zezere server (provision.fedoraproject.org) as
the test case shows, as we'd have to solve authentication and
we also don't really want to constantly keep registering new
hosts to it that are going to disappear and never be seen again.
So, instead we'll do it by setting up our *own* Zezere, and
provisioning our IoT system in that. We run two tests. The
'ignition' test is the actual IoT 'device'; all it really does
is boot up, sit around, and wait to be provisioned. The 'server'
test first sets up a Zezere server, then logs into it, adds an
ssh key, claims the IoT device, provisions it, and connects to
it to create a special file which tells the 'ignition' test
everything worked and it can close out.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-07-15 21:56:32 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"iot_zezere_server": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_f%CURRREL%_support_5_%ARCH%.img",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "_iot_zezere_server _setup_browser _iot_zezere_remote",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.118 zezere002.test.openqa.fedoraproject.org",
|
Automate QA:Testcase_Zezere_Ignition
This is a bit complex to automate, because we cannot really use
the production Zezere server (provision.fedoraproject.org) as
the test case shows, as we'd have to solve authentication and
we also don't really want to constantly keep registering new
hosts to it that are going to disappear and never be seen again.
So, instead we'll do it by setting up our *own* Zezere, and
provisioning our IoT system in that. We run two tests. The
'ignition' test is the actual IoT 'device'; all it really does
is boot up, sit around, and wait to be provisioned. The 'server'
test first sets up a Zezere server, then logs into it, adds an
ssh key, claims the IoT device, provisions it, and connects to
it to create a special file which tells the 'ignition' test
everything worked and it can close out.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-07-15 21:56:32 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Automate QA:Testcase_Zezere_Ignition
This is a bit complex to automate, because we cannot really use
the production Zezere server (provision.fedoraproject.org) as
the test case shows, as we'd have to solve authentication and
we also don't really want to constantly keep registering new
hosts to it that are going to disappear and never be seen again.
So, instead we'll do it by setting up our *own* Zezere, and
provisioning our IoT system in that. We run two tests. The
'ignition' test is the actual IoT 'device'; all it really does
is boot up, sit around, and wait to be provisioned. The 'server'
test first sets up a Zezere server, then logs into it, adds an
ssh key, claims the IoT device, provisions it, and connects to
it to create a special file which tells the 'ignition' test
everything worked and it can close out.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-07-15 21:56:32 +00:00
|
|
|
"TEST_TARGET": "NONE",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"mediakit_fileconflicts": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 10,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 10,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 10
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_f%CURRREL%_support_5_%ARCH%.img",
|
|
|
|
"POSTINSTALL": "mediakit_fileconflicts",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mediakit_repoclosure": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 10,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 10,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 10
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_f%CURRREL%_support_5_%ARCH%.img",
|
|
|
|
"POSTINSTALL": "mediakit_repoclosure",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"memory_check": {
|
2020-01-25 15:11:17 +00:00
|
|
|
"profiles": {
|
|
|
|
"fedora-Everything-boot-iso-x86_64-*-64bit": 30,
|
|
|
|
"fedora-Everything-boot-iso-x86_64-*-uefi": 31
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"settings": {
|
2020-02-20 16:10:28 +00:00
|
|
|
"HDDSIZEGB": "13",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"MEMCHECK": "1",
|
2020-01-25 15:11:17 +00:00
|
|
|
"PACKAGE_SET": "workstation",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"TEST_TARGET": "NONE"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"modularity_tests": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2020-03-16 09:12:16 +00:00
|
|
|
"POSTINSTALL": "modularity_module_list modularity_enable_disable_module modularity_install_module",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
2020-05-27 22:48:02 +00:00
|
|
|
"podman": {
|
|
|
|
"profiles": {
|
2020-08-19 21:58:02 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 20,
|
2020-05-27 22:48:02 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"POSTINSTALL": "podman",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.114 podman001.test.openqa.fedoraproject.org",
|
2020-05-27 22:48:02 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
2020-05-27 22:48:02 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"podman_client": {
|
|
|
|
"profiles": {
|
2020-08-19 21:58:02 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 20,
|
2020-05-27 22:48:02 +00:00
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "podman",
|
|
|
|
"POSTINSTALL": "_podman_client",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.115 podclient001.test.openqa.fedoraproject.org",
|
2020-05-27 22:48:02 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
2020-05-27 22:48:02 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"realmd_join_cockpit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"+HDD_1": "disk_%MACHINE%_cockpit.qcow2",
|
|
|
|
"+START_AFTER_TEST": "server_cockpit_default",
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "server_role_deploy_domain_controller",
|
|
|
|
"POSTINSTALL": "realmd_join_cockpit freeipa_webui freeipa_password_change freeipa_client",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.102 client002.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"realmd_join_sssd": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "server_role_deploy_domain_controller",
|
|
|
|
"POSTINSTALL": "realmd_join_sssd freeipa_client",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.103 client003.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"release_identification": {
|
|
|
|
"profiles": {
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-CoreOS-colive-iso-x86_64-*-64bit": 50,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-IoT-dvd_ostree-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-KDE-live-iso-x86_64-*-64bit": 42,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-arm-*-ARM": 42,
|
|
|
|
"fedora-Minimal-raw_xz-raw.xz-aarch64-*-aarch64": 42,
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-Server-raw_xz-raw.xz-aarch64-*-aarch64": 42,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
|
|
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
2020-10-30 22:57:24 +00:00
|
|
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 40,
|
|
|
|
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 42
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"ENTRYPOINT": "text_login_gui fedora_release os_release",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_cockpit_basic": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"+HDD_1": "disk_%MACHINE%_cockpit.qcow2",
|
|
|
|
"+START_AFTER_TEST": "server_cockpit_default",
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"POSTINSTALL": "server_cockpit_basic",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_cockpit_default": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "_setup_browser server_cockpit_default",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"STORE_HDD_1": "disk_%MACHINE%_cockpit.qcow2",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_cockpit_updates": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"+HDD_1": "disk_%MACHINE%_cockpit.qcow2",
|
|
|
|
"+START_AFTER_TEST": "server_cockpit_default",
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"POSTINSTALL": "server_cockpit_updates server_cockpit_autoupdate",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_database_client": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "server_role_deploy_database_server",
|
|
|
|
"POSTINSTALL": "database_client",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.105 dbclient.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_filesystem_default": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "server_filesystem_default",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_firewall_default": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "server_firewall_default",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_freeipa_replication_client": {
|
|
|
|
"profiles": {
|
2020-03-13 00:37:21 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"FREEIPA_REPLICA_CLIENT": "1",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "server_freeipa_replication_replica",
|
|
|
|
"POSTINSTALL": "realmd_join_sssd freeipa_client",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.108 client005.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_freeipa_replication_master": {
|
|
|
|
"profiles": {
|
2020-03-13 00:37:21 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"FREEIPA_REPLICA_MASTER": "1",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "role_deploy_domain_controller role_deploy_domain_controller_check",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.106 ipa002.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_freeipa_replication_replica": {
|
|
|
|
"profiles": {
|
2020-03-13 00:37:21 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 30,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"FREEIPA_REPLICA": "1",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"PARALLEL_WITH": "server_freeipa_replication_master",
|
|
|
|
"POSTINSTALL": "realmd_join_sssd",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.107 ipa003.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_realmd_join_kickstart": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.ks=hd:vdb1:/freeipaclient.ks",
|
2020-08-24 19:39:17 +00:00
|
|
|
"HDD_2": "disk_ks_4.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"INSTALL_UNLOCK": "freeipa_ready",
|
|
|
|
"KICKSTART": "1",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARALLEL_WITH": "server_role_deploy_domain_controller",
|
|
|
|
"POSTINSTALL": "freeipa_client",
|
|
|
|
"ROOT_PASSWORD": "anaconda",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_remote_logging_client": {
|
|
|
|
"profiles": {
|
2020-03-12 23:16:15 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "server_remote_logging_server",
|
|
|
|
"POSTINSTALL": "server_remote_logging_client",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.113 rsyslogclient.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_remote_logging_server": {
|
|
|
|
"profiles": {
|
2020-03-12 23:16:15 +00:00
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "server_remote_logging_server",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.112 rsyslogserver.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_role_deploy_database_server": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "role_deploy_database_server",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.104 db.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_role_deploy_domain_controller": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 20,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 20,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 20
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "role_deploy_domain_controller role_deploy_domain_controller_check",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.100 ipa001.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2020-10-30 22:21:49 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"support_server": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-Server-dvd-iso-aarch64-*-aarch64": 10,
|
|
|
|
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 10,
|
|
|
|
"fedora-Server-dvd-iso-x86_64-*-64bit": 10,
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 10,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 10,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 10
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_f%CURRREL%_support_5_%ARCH%.img",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "_support_server",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.110 support.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "NONE",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_2_desktop_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "gnome",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP2REL%_desktop_4_x86_64.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_2_desktop_encrypted_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP2REL%_desktopencrypt_x86_64.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_2_kde_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "kde",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP2REL%_kde_4_x86_64.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_2_minimal_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP2REL%_minimal_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_2_minimal_uefi": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-uefi": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP2REL%_minimal-uefi_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_2_realmd_client": {
|
|
|
|
"profiles": {
|
2020-03-12 23:19:29 +00:00
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-05-07 22:42:08 +00:00
|
|
|
"+HDD_1": "disk_f%UP2REL%_server_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"BOOTFROM": "c",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "upgrade_2_server_domain_controller",
|
|
|
|
"POSTINSTALL": "_setup_browser freeipa_webui freeipa_password_change freeipa_client",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.103 client003.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"PREUPGRADE": "realmd_join_sssd",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_2_server_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 40,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 40,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 40
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP2REL%_server_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_2_server_domain_controller": {
|
|
|
|
"profiles": {
|
2020-03-12 23:19:29 +00:00
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-05-07 22:42:08 +00:00
|
|
|
"+HDD_1": "disk_f%UP2REL%_server_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"BOOTFROM": "c",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "role_deploy_domain_controller_check",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.100 ipa001.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"PREUPGRADE": "role_deploy_domain_controller",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_desktop_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "gnome",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP1REL%_desktop_4_x86_64.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_desktop_encrypted_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP1REL%_desktopencrypt_x86_64.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_kde_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-05-07 22:42:08 +00:00
|
|
|
"+HDD_1": "disk_f%UP1REL%_kde_4_x86_64.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "kde",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_minimal_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP1REL%_minimal_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_minimal_uefi": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-x86_64-*-uefi": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP1REL%_minimal-uefi_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_realmd_client": {
|
|
|
|
"profiles": {
|
2020-03-12 23:17:09 +00:00
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-05-07 22:42:08 +00:00
|
|
|
"+HDD_1": "disk_f%UP1REL%_server_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"BOOTFROM": "c",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "upgrade_server_domain_controller",
|
|
|
|
"POSTINSTALL": "_setup_browser freeipa_webui freeipa_password_change freeipa_client",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.103 client003.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"PREUPGRADE": "realmd_join_sssd",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_server_64bit": {
|
|
|
|
"profiles": {
|
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2020-05-07 22:42:08 +00:00
|
|
|
"HDD_1": "disk_f%UP1REL%_server_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "test",
|
|
|
|
"USER_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"upgrade_server_domain_controller": {
|
|
|
|
"profiles": {
|
2020-03-12 23:17:09 +00:00
|
|
|
"fedora-universal-aarch64-*-aarch64": 30,
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"fedora-universal-ppc64le-*-ppc64le": 30,
|
|
|
|
"fedora-universal-x86_64-*-64bit": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-05-07 22:42:08 +00:00
|
|
|
"+HDD_1": "disk_f%UP1REL%_server_3_%ARCH%.img",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"BOOTFROM": "c",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "role_deploy_domain_controller_check",
|
2020-12-15 20:43:53 +00:00
|
|
|
"POST_STATIC": "172.16.2.100 ipa001.test.openqa.fedoraproject.org",
|
Add a whole intermediate template format ('FIF') and tools
I and @lruzicka (and I think @jskladan and @jsedlak and
@michelmno and everyone else who's ever touched it...) are being
gradually driven nuts by manually editing the test templates.
The bigger the files get the more awkward it is to keep them
straight and be sure we're doing it right. Upstream doesn't do
things the same way we do (they mostly edit in the web UI and
dump to file for the record), but we do still think making
changes in the repo and posting to the web UI is the right way
around to do it, we just wish the format was saner.
Upstream has actually recently introduced a YAML-based approach
to storing job templates which tries to condense things a bit,
and you can dump to that format with dump-templates --json, but
@lruzicka and I agree that that format is barely better for
hand editing in a text editor than the older one our templates
currently use.
So, this commit introduces...Fedora Intermediate Format (FIF) -
an alternative format for representing job templates - and some
tools for working with it. It also contains our existing
templates in this new format, and removes the old template files.
The format is documented in the docstrings of the tools, but
briefly, it keeps Machines, Products and TestSuites but improves
their format a bit (by turning dicts-of-lists into dicts-of-
dicts), and adds Profiles, which are combinations of Machines and
Products. TestSuites can indicate which Profiles they should be
run on.
The intermediate format converter (`fifconverter`) converts
existing template data (in JSON format; use tojson.pm to convert
our perl templates to JSON) to the intermediate format and
writes it out. As this was really intended only for one-time use
(the idea is that after one-time conversion, we will edit the
templates in the intermediate format from now on), its operation
is hardcoded and relies on specific filenames.
The intermediate format loader (`fifloader`) generates
JobTemplates from the TestSuites and Profiles, reverses the
quality-of-life improvements of the intermediate format, and
produces template data compatible with the upstream loader, then
can write it to disk and/or call the upstream loader directly.
The check script (`fifcheck`) runs existing template data through
both the converter and the loader, then checks that the result is
equivalent to the input. Again this was mostly written for one-
time use so is fairly rough and hard-coded, but I'm including it
in the commit so others can check the work and so on.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-01-23 14:20:10 +00:00
|
|
|
"PREUPGRADE": "role_deploy_domain_controller",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"UPGRADE": "1",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-25 15:11:17 +00:00
|
|
|
}
|