[gnome-build-meta/cfoch/openqa_templates: 2/4] Add existing template




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

    Add existing template

 openqa/templates | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
---
diff --git a/openqa/templates b/openqa/templates
new file mode 100755
index 000000000..d480efd0d
--- /dev/null
+++ b/openqa/templates
@@ -0,0 +1,85 @@
+#!/usr/share/openqa/script/load_templates
+#
+# GNOME OS OpenQA Templates
+#
+{
+  JobGroups    => [
+                    {
+                      group_name => "gnomeos-live",
+                      template   => "products:\n  gnomeos-iso-x86_64:\n    distri: gnomeos\n    flavor: 
iso\n    version: master\n\nscenarios:\n  x86_64:\n    gnomeos-iso-x86_64:\n    - gnomeos\n\ndefaults:\n  
x86_64:\n    machine: qemu_x86_64\n    priority: 50\n    settings:\n      # Emulated CPU must support modern 
x86 instructions, or libffi and others can segfault.\n      QEMUCPU: host\n      # Default is 30 chars per 
second, we saw typos (missing shift presses) at that rate.\n      VNC_TYPING_LIMIT: '5'\n",
+                    },
+                  ],
+  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]