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": {
|
2024-07-01 09:57:51 +00:00
|
|
|
"bios": {
|
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
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "64bit",
|
|
|
|
"PART_TABLE_TYPE": "mbr",
|
|
|
|
"QEMUCPU": "Nehalem",
|
|
|
|
"QEMUCPUS": "2",
|
|
|
|
"QEMURAM": "2048",
|
2022-12-09 00:38:57 +00:00
|
|
|
"QEMU_VIDEO_DEVICE": "virtio-vga",
|
|
|
|
"XRES": "1024",
|
|
|
|
"YRES": "768",
|
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
|
|
|
"QEMU_VIRTIO_RNG": "1",
|
|
|
|
"WORKER_CLASS": "qemu_x86_64"
|
|
|
|
}
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"aarch64": {
|
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "aarch64",
|
|
|
|
"PART_TABLE_TYPE": "gpt",
|
|
|
|
"QEMU": "aarch64",
|
|
|
|
"QEMUCPU": "host",
|
|
|
|
"QEMUCPUS": "2",
|
|
|
|
"QEMUMACHINE": "virt,gic-version=max",
|
2024-01-24 05:10:17 +00:00
|
|
|
"QEMURAM": 4096,
|
|
|
|
"QEMU_MAX_MIGRATION_TIME": "480",
|
|
|
|
"QEMU_VIDEO_DEVICE": "virtio-gpu-pci",
|
2021-10-07 21:26:42 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"s390x": {
|
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "s390x",
|
|
|
|
"PART_TABLE_TYPE": "mbr",
|
|
|
|
"QEMU": "s390x",
|
|
|
|
"QEMU_APPEND": "bios /usr/share/qemu/390-ccw.img -boot once=cd0",
|
|
|
|
"QEMUMACHINE": "s390-ccw-virtio",
|
|
|
|
"QEMURAM": 4096,
|
|
|
|
"QEMU_VIDEO_DEVICE": "virtio-gpu",
|
|
|
|
"QEMU_MAX_MIGRATION_TIME": "480",
|
|
|
|
"QEMU_NO_KVM": "1",
|
|
|
|
"WORKER_CLASS": "qemu_s390x"
|
|
|
|
}
|
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"ppc64le": {
|
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "ppc64le",
|
|
|
|
"OFW": 1,
|
|
|
|
"PART_TABLE_TYPE": "mbr",
|
|
|
|
"QEMU": "ppc64",
|
|
|
|
"QEMUCPU": "host",
|
|
|
|
"QEMURAM": 4096,
|
|
|
|
"QEMU_VIDEO_DEVICE": "VGA",
|
|
|
|
"QEMU_MAX_MIGRATION_TIME": "480",
|
|
|
|
"QEMU_VIRTIO_RNG": "1",
|
|
|
|
"WORKER_CLASS": "qemu_ppc64le"
|
|
|
|
}
|
|
|
|
},
|
2024-07-03 11:22:56 +00:00
|
|
|
"uefx": {
|
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
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "64bit",
|
|
|
|
"PART_TABLE_TYPE": "gpt",
|
|
|
|
"QEMUCPU": "Nehalem",
|
|
|
|
"QEMUCPUS": "2",
|
|
|
|
"QEMURAM": "2048",
|
2022-12-09 00:38:57 +00:00
|
|
|
"QEMU_VIDEO_DEVICE": "virtio-vga",
|
|
|
|
"XRES": "1024",
|
|
|
|
"YRES": "768",
|
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
|
|
|
"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"
|
|
|
|
}
|
2024-07-02 13:09:40 +00:00
|
|
|
},
|
2024-07-03 11:22:56 +00:00
|
|
|
"uefi": {
|
2024-07-02 13:09:40 +00:00
|
|
|
"backend": "qemu",
|
|
|
|
"settings": {
|
|
|
|
"ARCH_BASE_MACHINE": "64bit",
|
|
|
|
"PART_TABLE_TYPE": "gpt",
|
|
|
|
"QEMUCPU": "Nehalem",
|
|
|
|
"QEMUCPUS": "2",
|
|
|
|
"QEMURAM": "3072",
|
|
|
|
"QEMU_VIDEO_DEVICE": "virtio-vga",
|
|
|
|
"XRES": "1024",
|
|
|
|
"YRES": "768",
|
|
|
|
"QEMUMACHINE": "q35,smm=on",
|
|
|
|
"QEMU_APPEND": "global driver=cfi.pflash01,property=secure,value=on",
|
|
|
|
"QEMU_MAX_MIGRATION_TIME": "480",
|
|
|
|
"QEMU_VIRTIO_RNG": "1",
|
|
|
|
"UEFI": "1",
|
|
|
|
"UEFI_PFLASH_CODE": "/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd",
|
|
|
|
"UEFI_PFLASH_VARS": "/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd",
|
|
|
|
"UEFI_SECURE": "1",
|
|
|
|
"WORKER_CLASS": "qemu_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
|
|
|
}
|
|
|
|
},
|
|
|
|
"Products": {
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "GenericCloud_Base-qcow2-qcow2",
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DEPLOY_UPLOAD_TEST": "",
|
|
|
|
"+HDD_1": "%HDD_2%",
|
|
|
|
"ISO": "cloudinit.iso",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "HDD_1"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "GenericCloud_LVM-qcow2-qcow2",
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DEPLOY_UPLOAD_TEST": "",
|
|
|
|
"+HDD_1": "%HDD_2%",
|
|
|
|
"ISO": "cloudinit.iso",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "HDD_1"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-boot-iso-s390x-*": {
|
|
|
|
"arch": "s390x",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "boot-iso",
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "ip=dhcp",
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-boot-iso-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "boot-iso",
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "ip=dhcp",
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2023-07-25 20:04:07 +00:00
|
|
|
"rocky-boot-iso-aarch64-*": {
|
2021-10-07 21:26:42 +00:00
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "boot-iso",
|
|
|
|
"settings": {
|
2021-12-03 00:18:43 +00:00
|
|
|
"GRUB": "ip=dhcp",
|
2022-06-09 23:15:17 +00:00
|
|
|
"HDDSIZEGB": "15",
|
2021-10-07 21:26:42 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2021-08-10 04:55:18 +00:00
|
|
|
"rocky-boot-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
|
|
|
"arch": "x86_64",
|
2021-08-09 10:04:29 +00:00
|
|
|
"distri": "rocky",
|
2021-08-10 04:55:18 +00:00
|
|
|
"flavor": "boot-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
|
|
|
"settings": {
|
2021-12-03 00:18:43 +00:00
|
|
|
"GRUB": "ip=dhcp",
|
2021-08-09 10:04:29 +00:00
|
|
|
"+QEMURAM": 3072,
|
2022-06-09 23:15:17 +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
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-minimal-iso-s390x-*": {
|
|
|
|
"arch": "s390x",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "minimal-iso",
|
|
|
|
"settings": {
|
|
|
|
"DEPLOY_UPLOAD_TEST": "install_minimal_upload",
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-minimal-iso-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "minimal-iso",
|
|
|
|
"settings": {
|
|
|
|
"DEPLOY_UPLOAD_TEST": "install_minimal_upload",
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-minimal-iso-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "minimal-iso",
|
|
|
|
"settings": {
|
|
|
|
"DEPLOY_UPLOAD_TEST": "install_minimal_upload",
|
2022-06-09 23:15:17 +00:00
|
|
|
"HDDSIZEGB": "15",
|
2021-10-07 21:26:42 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2021-08-10 04:55:18 +00:00
|
|
|
"rocky-minimal-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
|
|
|
"arch": "x86_64",
|
2021-08-09 10:04:29 +00:00
|
|
|
"distri": "rocky",
|
2021-08-10 04:55:18 +00:00
|
|
|
"flavor": "minimal-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
|
|
|
"settings": {
|
2020-07-17 19:44:54 +00:00
|
|
|
"+QEMURAM": 3072,
|
2021-08-18 01:23:52 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_minimal_upload",
|
2022-06-09 23:15:17 +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
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*": {
|
|
|
|
"arch": "s390x",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "dvd-iso",
|
|
|
|
"settings": {
|
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "dvd-iso",
|
|
|
|
"settings": {
|
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "dvd-iso",
|
|
|
|
"settings": {
|
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
2022-06-09 23:15:17 +00:00
|
|
|
"HDDSIZEGB": "15",
|
2021-10-07 21:26:42 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2021-08-10 04:55:18 +00:00
|
|
|
"rocky-dvd-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
|
|
|
"arch": "x86_64",
|
2021-08-09 10:04:29 +00:00
|
|
|
"distri": "rocky",
|
2021-08-10 04:55:18 +00:00
|
|
|
"flavor": "dvd-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
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"DEPLOY_UPLOAD_TEST": "install_default_upload",
|
2022-06-09 23:15:17 +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
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-package-set-s390x-*": {
|
|
|
|
"arch": "s390x",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "package-set",
|
|
|
|
"settings": {
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-package-set-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "package-set",
|
|
|
|
"settings": {
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-package-set-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "package-set",
|
|
|
|
"settings": {
|
2022-06-09 23:15:17 +00:00
|
|
|
"HDDSIZEGB": "15",
|
2021-10-07 21:26:42 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
2021-10-26 15:56:01 +00:00
|
|
|
},
|
2021-09-30 02:18:45 +00:00
|
|
|
"rocky-package-set-x86_64-*": {
|
|
|
|
"arch": "x86_64",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "package-set",
|
|
|
|
"settings": {
|
2022-06-09 23:15:17 +00:00
|
|
|
"HDDSIZEGB": "15",
|
2021-09-30 02:18:45 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*": {
|
|
|
|
"arch": "s390x",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "universal",
|
|
|
|
"settings": {
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*": {
|
|
|
|
"arch": "ppc64le",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "universal",
|
|
|
|
"settings": {
|
|
|
|
"HDDSIZEGB": "15",
|
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*": {
|
|
|
|
"arch": "aarch64",
|
|
|
|
"distri": "rocky",
|
|
|
|
"flavor": "universal",
|
|
|
|
"settings": {
|
2022-06-09 23:15:17 +00:00
|
|
|
"HDDSIZEGB": "15",
|
2021-10-07 21:26:42 +00:00
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
2021-10-26 15:56:01 +00:00
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"rocky-universal-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
|
|
|
"arch": "x86_64",
|
2021-08-09 10:04:29 +00:00
|
|
|
"distri": "rocky",
|
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
|
|
|
"flavor": "universal",
|
|
|
|
"settings": {
|
2022-06-09 23:15:17 +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
|
|
|
"TEST_TARGET": "ISO"
|
|
|
|
},
|
|
|
|
"version": "*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"Profiles": {
|
2024-07-01 09:57:51 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": {
|
|
|
|
"machine": "bios",
|
2023-01-26 18:07:42 +00:00
|
|
|
"product": "rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*"
|
|
|
|
},
|
2024-07-01 09:57:51 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": {
|
|
|
|
"machine": "bios",
|
2023-01-26 18:07:42 +00:00
|
|
|
"product": "rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*"
|
|
|
|
},
|
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*"
|
|
|
|
},
|
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*"
|
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-boot-iso-s390x-*-s390x": {
|
|
|
|
"machine": "s390x",
|
2024-01-29 00:17:15 +00:00
|
|
|
"product": "rocky-boot-iso-s390x-*"
|
2024-01-24 05:25:49 +00:00
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-boot-iso-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "rocky-boot-iso-ppc64le-*"
|
|
|
|
},
|
2023-07-25 20:04:07 +00:00
|
|
|
"rocky-boot-iso-aarch64-*-aarch64": {
|
2021-10-07 21:26:42 +00:00
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "rocky-boot-iso-aarch64-*"
|
|
|
|
},
|
2024-07-01 09:57:51 +00:00
|
|
|
"rocky-boot-iso-x86_64-*-bios": {
|
|
|
|
"machine": "bios",
|
2021-08-10 04:55:18 +00:00
|
|
|
"product": "rocky-boot-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
|
|
|
},
|
2021-08-10 04:55:18 +00:00
|
|
|
"rocky-boot-iso-x86_64-*-uefi": {
|
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
|
|
|
"machine": "uefi",
|
2021-08-10 04:55:18 +00:00
|
|
|
"product": "rocky-boot-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
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-minimal-iso-s390x-*-s390x": {
|
|
|
|
"machine": "s390x",
|
2024-01-29 00:17:15 +00:00
|
|
|
"product": "rocky-minimal-iso-s390x-*"
|
2024-01-24 05:25:49 +00:00
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-minimal-iso-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "rocky-minimal-iso-ppc64le-*"
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-minimal-iso-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "rocky-minimal-iso-aarch64-*"
|
|
|
|
},
|
2024-07-13 13:30:20 +00:00
|
|
|
"rocky-minimal-iso-x86_64-*-uefi": {
|
|
|
|
"machine": "uefi",
|
|
|
|
"product": "rocky-minimal-iso-x86_64-*"
|
|
|
|
},
|
2024-07-01 09:57:51 +00:00
|
|
|
"rocky-minimal-iso-x86_64-*-bios": {
|
|
|
|
"machine": "bios",
|
2021-08-10 04:55:18 +00:00
|
|
|
"product": "rocky-minimal-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
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": {
|
|
|
|
"machine": "s390x",
|
2024-01-29 00:17:15 +00:00
|
|
|
"product": "rocky-dvd-iso-s390x-*"
|
2024-01-24 05:25:49 +00:00
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "rocky-dvd-iso-ppc64le-*"
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "rocky-dvd-iso-aarch64-*"
|
|
|
|
},
|
2024-07-01 09:57:51 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-bios": {
|
|
|
|
"machine": "bios",
|
2021-08-10 04:55:18 +00:00
|
|
|
"product": "rocky-dvd-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
|
|
|
},
|
2021-08-10 04:55:18 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": {
|
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
|
|
|
"machine": "uefi",
|
2021-08-10 04:55:18 +00:00
|
|
|
"product": "rocky-dvd-iso-x86_64-*"
|
2021-04-27 11:02:53 +00:00
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-package-set-s390x-*-s390x": {
|
|
|
|
"machine": "s390x",
|
2024-01-29 00:17:15 +00:00
|
|
|
"product": "rocky-package-set-s390x-*"
|
2024-01-24 05:25:49 +00:00
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-package-set-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "rocky-package-set-ppc64le-*"
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-package-set-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "rocky-package-set-aarch64-*"
|
2021-10-26 15:56:01 +00:00
|
|
|
},
|
2024-07-01 09:57:51 +00:00
|
|
|
"rocky-package-set-x86_64-*-bios": {
|
|
|
|
"machine": "bios",
|
2021-09-30 02:18:45 +00:00
|
|
|
"product": "rocky-package-set-x86_64-*"
|
|
|
|
},
|
|
|
|
"rocky-package-set-x86_64-*-uefi": {
|
2024-07-01 14:54:42 +00:00
|
|
|
"machine": "uefi",
|
2021-09-30 02:18:45 +00:00
|
|
|
"product": "rocky-package-set-x86_64-*"
|
|
|
|
},
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": {
|
|
|
|
"machine": "s390x",
|
2024-01-29 00:17:15 +00:00
|
|
|
"product": "rocky-universal-s390x-*"
|
2024-01-24 05:25:49 +00:00
|
|
|
},
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": {
|
|
|
|
"machine": "ppc64le",
|
|
|
|
"product": "rocky-universal-ppc64le-*"
|
|
|
|
},
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": {
|
|
|
|
"machine": "aarch64",
|
|
|
|
"product": "rocky-universal-aarch64-*"
|
2021-10-26 15:56:01 +00:00
|
|
|
},
|
2024-07-01 09:57:51 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": {
|
|
|
|
"machine": "bios",
|
2021-08-09 10:04:29 +00:00
|
|
|
"product": "rocky-universal-x86_64-*"
|
2021-04-27 11:02:53 +00:00
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": {
|
2021-04-27 11:02:53 +00:00
|
|
|
"machine": "uefi",
|
2021-08-09 10:04:29 +00:00
|
|
|
"product": "rocky-universal-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
|
|
|
}
|
|
|
|
},
|
|
|
|
"TestSuites": {
|
2021-05-03 15:37:46 +00:00
|
|
|
"anaconda_help": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 20
|
2021-05-03 15:37:46 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ENTRYPOINT": "_boot_to_anaconda anaconda_help",
|
|
|
|
"HELPCHECK": "1"
|
|
|
|
}
|
|
|
|
},
|
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": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
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_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": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
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",
|
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": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
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",
|
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"
|
|
|
|
}
|
|
|
|
},
|
2021-03-15 17:40:42 +00:00
|
|
|
"base_package_install_remove": {
|
|
|
|
"profiles": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2021-03-15 17:40:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
2021-03-15 17:40:42 +00:00
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "base_package_install_remove",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
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_services_start": {
|
|
|
|
"profiles": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
2020-10-30 22:21:49 +00:00
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
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": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
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",
|
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": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
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",
|
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"
|
|
|
|
}
|
|
|
|
},
|
2023-01-26 18:07:42 +00:00
|
|
|
"cloud_autocloud": {
|
|
|
|
"profiles": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_Base-qcow2-qcow2-x86_64-*-uefi": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-bios": 31,
|
2023-01-26 18:07:42 +00:00
|
|
|
"rocky-GenericCloud_LVM-qcow2-qcow2-x86_64-*-uefi": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"POSTINSTALL": "autocloud"
|
|
|
|
}
|
|
|
|
},
|
2023-07-25 20:04:07 +00:00
|
|
|
"install_resize_lvm": {
|
2020-05-11 13:55:16 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-30 15:00:46 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-bios": 41,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2020-05-11 13:55:16 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-19 00:18:59 +00:00
|
|
|
"DESKTOP": "false",
|
|
|
|
"PACKAGE_SET": "minimal",
|
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
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"install_anaconda_text": {
|
2020-11-03 00:34:43 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 20
|
2020-11-03 00:34:43 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2021-08-09 10:04:29 +00:00
|
|
|
"ANACONDA_TEXT": "1"
|
2020-11-03 00:34:43 +00:00
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"install_arabic_language": {
|
2020-11-03 00:34:43 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
|
|
|
"LANGUAGE": "arabic",
|
2024-05-27 20:53:44 +00:00
|
|
|
"PACKAGE_SET": "graphical-server",
|
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
|
|
|
"POSTINSTALL": "_console_login",
|
|
|
|
"QEMU_DISABLE_SNAPSHOTS": "1",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"SWITCHED_LAYOUT": "1",
|
|
|
|
"USER_LOGIN": "qwerty"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_asian_language": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
|
|
|
"INPUT_METHOD": "1",
|
|
|
|
"LANGUAGE": "japanese",
|
2024-05-27 20:53:44 +00:00
|
|
|
"PACKAGE_SET": "graphical-server",
|
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
|
|
|
"POSTINSTALL": "_console_login",
|
|
|
|
"QEMU_DISABLE_SNAPSHOTS": "1",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "qwerty"
|
|
|
|
}
|
|
|
|
},
|
2021-10-26 15:56:01 +00:00
|
|
|
"install_custom_gui_lvm_ext4": {
|
2020-12-08 10:14:40 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-bios": 41,
|
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2020-12-08 10:14:40 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-19 00:18:59 +00:00
|
|
|
"DESKTOP": "false",
|
|
|
|
"PACKAGE_SET": "minimal",
|
2021-10-26 15:56:01 +00:00
|
|
|
"PARTITIONING": "custom_gui_lvm_ext4",
|
2022-06-09 23:15:17 +00:00
|
|
|
"HDDSIZEGB": "15",
|
2020-12-08 10:14:40 +00:00
|
|
|
"POSTINSTALL": "disk_custom_lvm_ext4_postinstall",
|
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
2021-10-26 15:56:01 +00:00
|
|
|
"install_custom_gui_standard_partition_ext4": {
|
2020-12-07 12:33:37 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-bios": 41,
|
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2020-12-07 12:33:37 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-19 00:18:59 +00:00
|
|
|
"DESKTOP": "false",
|
|
|
|
"PACKAGE_SET": "minimal",
|
2021-10-26 15:56:01 +00:00
|
|
|
"PARTITIONING": "custom_gui_standard_partition_ext4",
|
2020-08-11 20:34:37 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword"
|
|
|
|
}
|
|
|
|
},
|
2021-10-26 15:56:01 +00:00
|
|
|
"install_custom_gui_software_raid": {
|
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": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 41,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"NUMDISKS": "2",
|
2021-10-26 15:56:01 +00:00
|
|
|
"PARTITIONING": "custom_gui_software_raid",
|
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
|
|
|
"POSTINSTALL": "disk_custom_software_raid_postinstall",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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
|
|
|
}
|
|
|
|
},
|
2021-10-26 15:56:01 +00:00
|
|
|
"install_custom_gui_xfs": {
|
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": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 41,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
2021-10-26 15:56:01 +00:00
|
|
|
"PARTITIONING": "custom_gui_xfs",
|
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
|
|
|
"POSTINSTALL": "disk_custom_xfs_postinstall",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_cyrillic_language": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
|
|
|
"LANGUAGE": "russian",
|
2024-05-27 20:53:44 +00:00
|
|
|
"PACKAGE_SET": "graphical-server",
|
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
|
|
|
"POSTINSTALL": "_console_login",
|
|
|
|
"QEMU_DISABLE_SNAPSHOTS": "1",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"SWITCHED_LAYOUT": "1",
|
|
|
|
"USER_LOGIN": "qwerty"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_default": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-boot-iso-s390x-*-s390x": 10,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-boot-iso-ppc64le-*-ppc64le": 10,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-boot-iso-aarch64-*-aarch64": 10,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-boot-iso-x86_64-*-bios": 11,
|
|
|
|
"rocky-boot-iso-x86_64-*-uefi": 10,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 11,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 11,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 11,
|
2021-08-10 04:55:18 +00:00
|
|
|
"rocky-dvd-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": {
|
2022-03-31 23:23:01 +00:00
|
|
|
"DESKTOP": "gnome",
|
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": "default",
|
|
|
|
"POSTINSTALL": "_collect_data"
|
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"install_minimal": {
|
|
|
|
"profiles": {
|
2024-05-06 11:50:22 +00:00
|
|
|
"rocky-boot-iso-s390x-*-s390x": 10,
|
|
|
|
"rocky-boot-iso-ppc64le-*-ppc64le": 10,
|
|
|
|
"rocky-boot-iso-aarch64-*-aarch64": 10,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-boot-iso-x86_64-*-bios": 11,
|
|
|
|
"rocky-boot-iso-x86_64-*-uefi": 10,
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-minimal-iso-s390x-*-s390x": 10,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-minimal-iso-ppc64le-*-ppc64le": 10,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-minimal-iso-aarch64-*-aarch64": 10,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-minimal-iso-x86_64-*-uefi": 10,
|
|
|
|
"rocky-minimal-iso-x86_64-*-bios": 11
|
2021-08-09 10:04:29 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"POSTINSTALL": "_collect_data"
|
|
|
|
}
|
|
|
|
},
|
2021-08-18 01:23:52 +00:00
|
|
|
"install_minimal_upload": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-minimal-iso-s390x-*-s390x": 10,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-minimal-iso-ppc64le-*-ppc64le": 10,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-minimal-iso-aarch64-*-aarch64": 10,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-minimal-iso-x86_64-*-uefi": 10,
|
|
|
|
"rocky-minimal-iso-x86_64-*-bios": 11
|
2021-08-18 01:23:52 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"POSTINSTALL": "_collect_data",
|
|
|
|
"STORE_HDD_1": "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_default_upload": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 10,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 10,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 10,
|
2024-07-15 15:36:27 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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": {
|
2022-07-10 21:05:04 +00:00
|
|
|
"DESKTOP": "gnome",
|
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": "default",
|
|
|
|
"POSTINSTALL": "_collect_data",
|
|
|
|
"STORE_HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_delete_partial": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 30,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 31,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_1": "disk_full_%PART_TABLE_TYPE%.img",
|
|
|
|
"PARTITIONING": "guided_delete_partial",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_delete_pata": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 20,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 21,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDDMODEL": "ide-hd",
|
|
|
|
"HDD_1": "disk_full_mbr.img",
|
2022-06-09 23:15:17 +00:00
|
|
|
"HDDSIZEGB": "20",
|
2022-07-23 04:29:05 +00:00
|
|
|
"PARTITIONING": "guided_delete_all",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_european_language": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
|
|
|
"LANGUAGE": "french",
|
|
|
|
"NO_UEFI_POST": "1",
|
2024-05-27 20:53:44 +00:00
|
|
|
"PACKAGE_SET": "graphical-server",
|
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
|
|
|
"POSTINSTALL": "_console_login",
|
|
|
|
"QEMU_DISABLE_SNAPSHOTS": "1",
|
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "qwerty"
|
|
|
|
}
|
|
|
|
},
|
2022-01-30 13:50:42 +00:00
|
|
|
"install_iscsi": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-08-07 14:29:36 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 40
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ANACONDA_STATIC": "172.16.2.111",
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
|
|
|
"PARTITIONING": "custom_iscsi",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_kickstart_nfs": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-universal-aarch64-*-aarch64": 30,
|
2024-08-07 14:29:36 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.ks=nfs:172.16.2.110:/export/root-user-crypted-net.ks",
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"KICKSTART": "1",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
|
|
|
"ROOT_PASSWORD": "111111",
|
|
|
|
"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
|
|
|
"install_lvmthin": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 41,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_lvmthin",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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
|
|
|
}
|
|
|
|
},
|
2020-11-18 12:44:05 +00:00
|
|
|
"install_lvm_ext4": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-30 15:00:46 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-bios": 41,
|
2024-07-15 15:36:27 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2020-11-18 12:44:05 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-19 00:18:59 +00:00
|
|
|
"DESKTOP": "false",
|
|
|
|
"PACKAGE_SET": "minimal",
|
2020-12-08 10:14:40 +00:00
|
|
|
"PARTITIONING": "custom_lvm_ext4",
|
2020-11-18 12:44:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"STORE_HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2"
|
|
|
|
}
|
|
|
|
},
|
2020-11-24 13:19:04 +00:00
|
|
|
"install_standard_partition_ext4": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 30,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-bios": 31,
|
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2020-11-24 13:19:04 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
2020-11-24 13:19:04 +00:00
|
|
|
"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": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
2023-03-11 14:15:58 +00:00
|
|
|
"MIRRORLIST_GRAPHICAL": "1",
|
|
|
|
"PACKAGE_SET": "server"
|
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_multi": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 20,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 21,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_2": "disk_full_mbr.img",
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARTITIONING": "guided_multi",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_multi_empty": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 30,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 31,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARTITIONING": "guided_multi_empty_all",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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
|
|
|
}
|
|
|
|
},
|
2020-08-11 20:34:37 +00:00
|
|
|
"install_with_swap": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 50,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 50,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 50,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 51,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 50
|
2020-08-11 20:34:37 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_with_swap",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
2020-08-11 20:34:37 +00:00
|
|
|
}
|
|
|
|
},
|
2021-09-30 02:18:45 +00:00
|
|
|
"install_package_set_minimal": {
|
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": {
|
2024-07-24 13:57:02 +00:00
|
|
|
"rocky-package-set-aarch64-*-aarch64": 30,
|
2024-07-25 07:17:56 +00:00
|
|
|
"rocky-package-set-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-10 21:05:04 +00:00
|
|
|
"DESKTOP": "false",
|
|
|
|
"PACKAGE_SET": "minimal"
|
2021-09-30 02:18:45 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_package_set_server": {
|
|
|
|
"profiles": {
|
2024-07-24 13:57:02 +00:00
|
|
|
"rocky-package-set-aarch64-*-aarch64": 30,
|
2024-07-25 07:17:56 +00:00
|
|
|
"rocky-package-set-x86_64-*-uefi": 30
|
2021-09-30 02:18:45 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-10 21:05:04 +00:00
|
|
|
"DESKTOP": "false",
|
|
|
|
"PACKAGE_SET": "server"
|
2021-09-30 02:18:45 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_package_set_graphical-server": {
|
|
|
|
"profiles": {
|
2024-07-24 13:57:02 +00:00
|
|
|
"rocky-package-set-aarch64-*-aarch64": 30,
|
2024-07-25 07:17:56 +00:00
|
|
|
"rocky-package-set-x86_64-*-uefi": 30
|
2021-09-30 02:18:45 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
2022-07-10 21:05:04 +00:00
|
|
|
"PACKAGE_SET": "graphical-server"
|
2021-09-30 02:18:45 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_package_set_workstation": {
|
|
|
|
"profiles": {
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-package-set-x86_64-*-uefi": 30
|
2021-09-30 02:18:45 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"DESKTOP": "gnome",
|
2022-07-10 21:05:04 +00:00
|
|
|
"PACKAGE_SET": "workstation"
|
2021-09-30 02:18:45 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_package_set_virtualization-host": {
|
|
|
|
"profiles": {
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-package-set-x86_64-*-uefi": 30
|
2021-09-30 02:18:45 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-10 21:05:04 +00:00
|
|
|
"DESKTOP": "false",
|
|
|
|
"PACKAGE_SET": "virtualization-host"
|
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_pxeboot": {
|
|
|
|
"profiles": {
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 30,
|
|
|
|
"rocky-universal-x86_64-*-bios": 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": {
|
|
|
|
"+ISO": "",
|
|
|
|
"DELAYED_START": "1",
|
|
|
|
"KICKSTART": "1",
|
|
|
|
"NICTYPE": "tap",
|
2024-07-18 09:56:34 +00:00
|
|
|
"PARALLEL_WITH": "support_server@bios",
|
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
|
|
|
"PXEBOOT": "once",
|
|
|
|
"ROOT_PASSWORD": "111111",
|
|
|
|
"TEST_TARGET": "COMPOSE",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_http_graphical": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-23 04:29:05 +00:00
|
|
|
"REPOSITORY_GRAPHICAL": "%LOCATION%",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_repository_http_variation": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
2022-07-23 04:29:05 +00:00
|
|
|
"REPOSITORY_VARIATION": "%LOCATION%",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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
|
|
|
}
|
|
|
|
},
|
2022-01-30 13:50:42 +00:00
|
|
|
"install_repository_nfs_graphical": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 30,
|
2022-01-30 13:50:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-08-07 14:29:36 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
|
|
|
"REPOSITORY_GRAPHICAL": "nfs:nfsvers=4:172.16.2.110:/repo",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_nfs_variation": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-08-07 14:29:36 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
|
|
|
"REPOSITORY_VARIATION": "nfs:nfsvers=4:172.16.2.110:/repo",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_repository_nfsiso_variation": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-08-07 14:29:36 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
|
|
|
"REPOSITORY_VARIATION": "nfs:nfsvers=4:172.16.2.110:/iso/image.iso",
|
|
|
|
"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
|
|
|
"install_rescue_encrypted": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 31,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 31,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 31,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 32,
|
|
|
|
"rocky-universal-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": {
|
|
|
|
"BOOTFROM": "d",
|
|
|
|
"ENTRYPOINT": "rescue_mode_encrypted",
|
|
|
|
"HDD_1": "disk_%MACHINE%_encrypted.qcow2",
|
|
|
|
"START_AFTER_TEST": "install_simple_encrypted"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_sata": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 20,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 21,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ATACONTROLLER": "ich9-ahci",
|
2022-07-23 04:29:05 +00:00
|
|
|
"HDDMODEL": "ide-hd,bus=ahci0.0",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_scsi_updates_img": {
|
|
|
|
"profiles": {
|
2023-07-25 20:04:07 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"CDMODEL": "scsi-cd",
|
2022-06-09 23:15:17 +00:00
|
|
|
"GRUB": "inst.updates=https://fedorapeople.org/groups/qa/updates/updates-openqa.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
|
|
|
"HDDMODEL": "scsi-hd",
|
|
|
|
"SCSICONTROLLER": "virtio-scsi-pci",
|
2022-07-23 04:29:05 +00:00
|
|
|
"TEST_UPDATES": "1",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_serial_console": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 30,
|
2024-07-18 09:56:34 +00:00
|
|
|
"rocky-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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ANACONDA_TEXT": "1",
|
|
|
|
"NO_UEFI_POST": "1",
|
|
|
|
"SERIAL_CONSOLE": "1",
|
|
|
|
"VIRTIO_CONSOLE_NUM": "2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_shrink_ext4": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2024-07-30 15:00:46 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_1": "disk_shrink_ext4.img",
|
|
|
|
"PARTITIONING": "guided_shrink",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_shrink_ntfs": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2024-07-30 15:00:46 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_1": "disk_shrink_ntfs.img",
|
|
|
|
"PARTITIONING": "guided_shrink",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_simple_encrypted": {
|
|
|
|
"profiles": {
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 31,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"ENCRYPT_PASSWORD": "weakpassword",
|
2022-07-23 04:29:05 +00:00
|
|
|
"STORE_HDD_1": "disk_%MACHINE%_encrypted.qcow2",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_simple_free_space": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 30,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 31,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"HDD_1": "disk_freespace_%PART_TABLE_TYPE%.img",
|
2022-06-09 23:15:17 +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
|
|
|
"PARTITIONING": "guided_free_space",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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_software_raid": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 30,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 31,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARTITIONING": "custom_software_raid",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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
|
|
|
}
|
|
|
|
},
|
2022-01-30 13:50:42 +00:00
|
|
|
"install_updates_nfs": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-08-07 14:29:36 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.stage2=nfs:nfsvers=4:172.16.2.110:/repo",
|
|
|
|
"INSTALL_UNLOCK": "support_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "support_server",
|
|
|
|
"QEMURAM": "3072",
|
|
|
|
"TEST_UPDATES": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_vnc_client": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-08-07 15:05:19 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "gnome",
|
2022-01-30 15:49:16 +00:00
|
|
|
"HDD_1": "disk_rocky%CURRREL%_desktop_%ARCH%.qcow2",
|
2022-01-30 13:50:42 +00:00
|
|
|
"INSTALL": "1",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "install_vnc_server",
|
|
|
|
"PREINSTALL": "_vnc_client_connect_pre _graphical_wait_login _vnc_client_connect",
|
|
|
|
"VNC_CLIENT": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_vnc_server": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-08-07 15:05:19 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2023-03-17 17:04:54 +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.rockylinux.org:eth0:off",
|
2022-01-30 13:50:42 +00:00
|
|
|
"NICTYPE": "tap",
|
|
|
|
"VNC_SERVER": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_vncconnect_client": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-08-07 15:05:19 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"DESKTOP": "gnome",
|
2022-01-30 15:49:16 +00:00
|
|
|
"HDD_1": "disk_rocky%CURRREL%_desktop_%ARCH%.qcow2",
|
2022-01-30 13:50:42 +00:00
|
|
|
"INSTALL": "1",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PREINSTALL": "_vncconnect_client_setup_pre _graphical_wait_login _vncconnect_client_setup",
|
|
|
|
"VNC_CLIENT": "1",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"install_vncconnect_server": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-08-07 15:05:19 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2023-03-17 17:04:54 +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.rockylinux.org:eth0:off",
|
2022-01-30 13:50:42 +00:00
|
|
|
"INSTALL_UNLOCK": "vncconnect_client_ready",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "install_vncconnect_client",
|
|
|
|
"VNC_SERVER": "1",
|
|
|
|
"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
|
|
|
"install_xfs": {
|
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 40,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 41,
|
|
|
|
"rocky-universal-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"PARTITIONING": "custom_xfs",
|
2022-07-23 04:29:05 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"PACKAGE_SET": "minimal",
|
|
|
|
"DESKTOP": "false"
|
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
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"memtest": {
|
2020-06-19 21:14:57 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-universal-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-universal-ppc64le-*-ppc64le": 30,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 30,
|
2024-07-18 09:56:34 +00:00
|
|
|
"rocky-universal-x86_64-*-bios": 30
|
2020-06-19 21:14:57 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
2021-08-09 10:04:29 +00:00
|
|
|
"ENTRYPOINT": "memtest"
|
2020-06-19 21:14:57 +00:00
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"modularity_tests": {
|
2020-05-27 12:49:22 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 30,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 30,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2020-05-27 12:49:22 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
2020-05-27 12:49:22 +00:00
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
2021-08-09 10:04:29 +00:00
|
|
|
"POSTINSTALL": "modularity_module_list modularity_enable_disable_module modularity_install_module",
|
2020-05-27 12:49:22 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
2021-08-09 10:04:29 +00:00
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false"
|
2020-05-27 12:49:22 +00:00
|
|
|
}
|
|
|
|
},
|
2024-10-01 03:06:47 +00:00
|
|
|
"podman": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"POSTINSTALL": "podman",
|
|
|
|
"POST_STATIC": "172.16.2.114 podman001.test.openqa.rockylinux.org",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"podman_client": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "podman",
|
|
|
|
"POSTINSTALL": "_podman_client",
|
|
|
|
"POST_STATIC": "172.16.2.115 podclient001.test.openqa.rockylinux.org",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap2"
|
|
|
|
}
|
|
|
|
},
|
2022-01-30 13:50:42 +00:00
|
|
|
"realmd_join_cockpit": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"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",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.102 client002.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"realmd_join_sssd": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 20
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "server_role_deploy_domain_controller",
|
|
|
|
"POSTINSTALL": "realmd_join_sssd freeipa_client",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.103 client003.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"release_identification": {
|
2020-05-28 12:43:52 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 40,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 40,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 40,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 40
|
2020-06-04 18:00:32 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2021-08-09 10:04:29 +00:00
|
|
|
"ENTRYPOINT": "text_login_gui rocky_release os_release",
|
2020-06-04 18:00:32 +00:00
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
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"
|
|
|
|
}
|
|
|
|
},
|
2024-07-05 15:23:51 +00:00
|
|
|
"secure_boot_fallback": {
|
|
|
|
"profiles": {
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 10
|
2024-07-05 15:23:51 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "_secure_boot_fallback",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"+START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"server_cockpit_basic": {
|
|
|
|
"profiles": {
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
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
|
|
|
},
|
|
|
|
"settings": {
|
2021-08-09 10:04:29 +00:00
|
|
|
"+HDD_1": "disk_%MACHINE%_cockpit.qcow2",
|
|
|
|
"+START_AFTER_TEST": "server_cockpit_default",
|
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
|
|
|
"BOOTFROM": "c",
|
2021-08-09 10:04:29 +00:00
|
|
|
"POSTINSTALL": "server_cockpit_basic",
|
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",
|
2021-08-09 10:04:29 +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
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"server_cockpit_default": {
|
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
|
|
|
"profiles": {
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 20
|
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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
2021-08-09 10:04:29 +00:00
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "_setup_browser server_cockpit_default",
|
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%",
|
2021-08-09 10:04:29 +00:00
|
|
|
"STORE_HDD_1": "disk_%MACHINE%_cockpit.qcow2",
|
|
|
|
"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
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"server_cockpit_updates": {
|
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": {
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
2021-08-09 10:04:29 +00:00
|
|
|
"+HDD_1": "disk_%MACHINE%_cockpit.qcow2",
|
|
|
|
"+START_AFTER_TEST": "server_cockpit_default",
|
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",
|
2021-08-09 10:04:29 +00:00
|
|
|
"POSTINSTALL": "server_cockpit_updates server_cockpit_autoupdate",
|
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"
|
|
|
|
}
|
|
|
|
},
|
2022-01-30 13:50:42 +00:00
|
|
|
"server_database_client": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "server_role_deploy_database_server",
|
|
|
|
"POSTINSTALL": "database_client",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.105 dbclient.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"server_filesystem_default": {
|
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": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-10-16 04:20:02 +00:00
|
|
|
"DESKTOP": "gnome",
|
2021-08-09 10:04:29 +00:00
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "server_filesystem_default",
|
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",
|
2021-08-09 10:04:29 +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"
|
|
|
|
}
|
|
|
|
},
|
2021-08-09 10:04:29 +00:00
|
|
|
"server_firewall_default": {
|
2020-01-25 15:11:17 +00:00
|
|
|
"profiles": {
|
2024-01-24 05:25:49 +00:00
|
|
|
"rocky-dvd-iso-s390x-*-s390x": 20,
|
2024-01-24 05:24:13 +00:00
|
|
|
"rocky-dvd-iso-ppc64le-*-ppc64le": 20,
|
2021-10-07 21:26:42 +00:00
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 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
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"server_freeipa_replication_client": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"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",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.108 client005.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_freeipa_replication_master": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"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",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.106 ipa002.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_freeipa_replication_replica": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 30,
|
2024-07-24 10:36:06 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 30
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"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",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.107 ipa003.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_realmd_join_kickstart": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 20
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"GRUB": "inst.ks=hd:vdb1:/freeipaclient.ks",
|
2022-09-15 22:07:47 +00:00
|
|
|
"HDD_2": "disk_ks-%CURRREL%.img",
|
2022-01-30 13:50:42 +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": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 20
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_WITH": "server_remote_logging_server",
|
|
|
|
"POSTINSTALL": "server_remote_logging_client",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.113 rsyslogclient.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_remote_logging_server": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 20
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "server_remote_logging_server",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.112 rsyslogserver.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_role_deploy_database_server": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 20
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"NICTYPE": "tap",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "role_deploy_database_server",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.104 db.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server_role_deploy_domain_controller": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 20,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 20
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"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",
|
2023-03-17 17:04:54 +00:00
|
|
|
"POST_STATIC": "172.16.2.100 ipa001.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
|
|
|
},
|
2023-07-25 20:04:07 +00:00
|
|
|
"slurm22": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 10,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 10
|
2023-07-25 20:04:07 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "slurm",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"SLURM_VERSION": "22"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"slurm23": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 10,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 10
|
2023-07-25 20:04:07 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "slurm",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"SLURM_VERSION": "23"
|
|
|
|
}
|
|
|
|
},
|
2022-01-30 13:50:42 +00:00
|
|
|
"support_server": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 10,
|
2024-08-07 14:29:36 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 10,
|
2022-01-30 13:50:42 +00:00
|
|
|
"rocky-universal-aarch64-*-aarch64": 10,
|
2024-08-07 14:29:36 +00:00
|
|
|
"rocky-universal-x86_64-*-uefi": 10
|
2022-01-30 13:50:42 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
2022-01-30 15:49:16 +00:00
|
|
|
"HDD_1": "disk_rocky%CURRREL%_support_%ARCH%.qcow2",
|
2022-01-30 13:50:42 +00:00
|
|
|
"NICTYPE": "tap",
|
|
|
|
"NUMDISKS": "2",
|
|
|
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
|
|
|
"POSTINSTALL": "_support_server",
|
2022-02-19 03:10:14 +00:00
|
|
|
"POST_STATIC": "172.16.2.110 support.test.openqa.rockylinux.org",
|
2022-01-30 13:50:42 +00:00
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"TEST_TARGET": "NONE",
|
|
|
|
"USER_LOGIN": "false",
|
|
|
|
"WORKER_CLASS": "tap"
|
|
|
|
}
|
2024-02-09 00:21:57 +00:00
|
|
|
},
|
|
|
|
"toolbox": {
|
|
|
|
"profiles": {
|
|
|
|
"rocky-dvd-iso-aarch64-*-aarch64": 10,
|
2024-07-13 13:17:09 +00:00
|
|
|
"rocky-dvd-iso-x86_64-*-uefi": 10
|
2024-02-09 00:21:57 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"BOOTFROM": "c",
|
|
|
|
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
|
|
|
"POSTINSTALL": "toolbox",
|
|
|
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
|
|
|
"ROOT_PASSWORD": "weakpassword",
|
|
|
|
"USER_LOGIN": "false"
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|
2020-01-25 15:11:17 +00:00
|
|
|
}
|