[gnome-build-meta/cfoch/openqa_templates: 5/9] openqa: Add existing template




commit 5ac28ded7e443f33cc866e2475c243b76b4ec6a2
Author: Fabian Orccon <cfoch fabian gmail com>
Date:   Sun Oct 17 00:26:15 2021 +0200

    openqa: Add existing template
    
    The current existing template given by openqa-dump-templates is added as a
    script file so it can be versioned.
    
    Note: JobGroups is not added to the template, because canot be loaded
    twice.

 openqa/templates | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)
---
diff --git a/openqa/templates b/openqa/templates
new file mode 100755
index 000000000..4e148141b
--- /dev/null
+++ b/openqa/templates
@@ -0,0 +1,79 @@
+#!/usr/share/openqa/script/load_templates
+#
+# GNOME OS OpenQA Templates
+#
+{
+  JobTemplates => [],
+  Machines     => [
+                    {
+                      backend => "qemu",
+                      name => "qemu_x86_64",
+                      settings => [
+                        { key => "ARCH", value => "x86_64" },
+                        { key => "PART_TABLE_TYPE", value => "gpt" },
+                        { key => "QEMUCPUS", value => 2 },
+                        { key => "QEMURAM", value => 2560 },
+                        { key => "QEMUVGA", value => "virtio" },
+                        { key => "UEFI", value => 1 },
+                        {
+                          key => "UEFI_PFLASH_CODE",
+                          value => "/usr/share/qemu/ovmf-x86_64-code.bin",
+                        },
+                        { key => "WORKER_CLASS", value => "qemu_x86_64" },
+                      ],
+                    },
+                    {
+                      backend => "qemu",
+                      name => "gitlab-runner-qemu_x86_64-1447270",
+                      settings => [
+                        { key => "ARCH", value => "x86_64" },
+                        { key => "PART_TABLE_TYPE", value => "gpt" },
+                        { key => "QEMUCPUS", value => 2 },
+                        { key => "QEMURAM", value => 2560 },
+                        { key => "QEMUVGA", value => "virtio" },
+                        { key => "UEFI", value => 1 },
+                        {
+                          key => "UEFI_PFLASH_CODE",
+                          value => "/usr/share/qemu/ovmf-x86_64-code.bin",
+                        },
+                        { key => "WORKER_CLASS", value => "qemu_x86_64-1447270" },
+                      ],
+                    },
+                    {
+                      backend => "qemu",
+                      name => "gitlab-runner-qemu_x86_64-1447281",
+                      settings => [
+                        { key => "ARCH", value => "x86_64" },
+                        { key => "PART_TABLE_TYPE", value => "gpt" },
+                        { key => "QEMUCPUS", value => 2 },
+                        { key => "QEMURAM", value => 2560 },
+                        { key => "QEMUVGA", value => "virtio" },
+                        { key => "UEFI", value => 1 },
+                        {
+                          key => "UEFI_PFLASH_CODE",
+                          value => "/usr/share/qemu/ovmf-x86_64-code.bin",
+                        },
+                        { key => "WORKER_CLASS", value => "qemu_x86_64-1447281" },
+                      ],
+                    },
+                  ],
+  Products     => [
+                    {
+                      arch     => "x86_64",
+                      distri   => "gnomeos",
+                      flavor   => "iso",
+                      settings => [{ key => "MACHINE", value => "x86_64,uefi" }],
+                      version  => "master",
+                    },
+                  ],
+  TestSuites   => [
+                    {
+                      description => "gnome os CI",
+                      name => "gnomeos",
+                      settings => [
+                        { key => "DESKTOP", value => "gnomeos" },
+                        { key => "FLAVOR", value => "iso" },
+                      ],
+                    },
+                  ],
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]