summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-06-02 20:17:35 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-06-02 20:17:35 +0200
commitb7b65449c824bc5cd7fdd0fba4a190fb47090e68 (patch)
tree8530ca153e28525efee561f836fba56539d4f410 /templates
parent99f8e91d6641505e85528ca6e85b88a36888f9e6 (diff)
Add prerelease type to generatorjellyfish_9.99.1jellyfish/9.99.19.99.1
Allow the tool to generate jobs against the prerelease location. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7f00ee52ad85b2aecc52679da4e98857a5dd59cb
Diffstat (limited to 'templates')
-rw-r--r--templates/config/default.cfg5
-rw-r--r--templates/machines/dra7xx-evm.jinja22
-rw-r--r--templates/machines/qemuarm.jinja22
-rw-r--r--templates/machines/qemuarm64.jinja22
-rw-r--r--templates/machines/qemux86-64.jinja22
-rw-r--r--templates/machines/raspberrypi3.jinja22
-rw-r--r--templates/machines/raspberrypi4.jinja22
-rw-r--r--templates/machines/upsquare.jinja22
-rw-r--r--templates/tests/ci.jinja28
-rw-r--r--templates/tests/release.jinja28
10 files changed, 20 insertions, 15 deletions
diff --git a/templates/config/default.cfg b/templates/config/default.cfg
index 4177687..af2340b 100644
--- a/templates/config/default.cfg
+++ b/templates/config/default.cfg
@@ -6,6 +6,10 @@ style = AGL
urlbase = http://download.automotivelinux.org/AGL/release/
test_plan = ["release"]
+[prerelease]
+urlbase = http://download.automotivelinux.org/AGL/upload/ci/
+test_plan = ["release"]
+
[weekly]
[daily]
[snapshot]
@@ -15,3 +19,4 @@ test_plan = ["release"]
[ci]
urlbase = http://download.automotivelinux.org/AGL/upload/ci/
test_plan = ["ci"]
+
diff --git a/templates/machines/dra7xx-evm.jinja2 b/templates/machines/dra7xx-evm.jinja2
index 7241ab2..23ca0cd 100644
--- a/templates/machines/dra7xx-evm.jinja2
+++ b/templates/machines/dra7xx-evm.jinja2
@@ -6,7 +6,7 @@
{%- set dtb = dtb|default("dra7-evm.dtb") %}
{%- set kernel_image = kernel_image|default("zImage") %}
{%- set rootfs_type = rootfs_type|default("nbd") %}
-{%- if (build_type == 'daily') or (build_type == 'release') %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'prerelease') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-dra7xx-evm.ext4.xz") %}
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-dra7xx-evm.ext4.xz") %}
diff --git a/templates/machines/qemuarm.jinja2 b/templates/machines/qemuarm.jinja2
index 0c83380..16476ba 100644
--- a/templates/machines/qemuarm.jinja2
+++ b/templates/machines/qemuarm.jinja2
@@ -13,7 +13,7 @@
{%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda verbose systemd.log_color=false " %}
{%- set guestfs_interface = "virtio" %}
{%- set rootfs_type = rootfs_type|default("rootvd") %}
-{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') or (build_type == 'prerelease') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-qemuarm.ext4.xz") %}
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-qemuarm.ext4.xz") %}
diff --git a/templates/machines/qemuarm64.jinja2 b/templates/machines/qemuarm64.jinja2
index c29a667..eaa6ed2 100644
--- a/templates/machines/qemuarm64.jinja2
+++ b/templates/machines/qemuarm64.jinja2
@@ -13,7 +13,7 @@
{%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda verbose systemd.log_color=false " %}
{%- set guestfs_interface = "virtio" %}
{%- set rootfs_type = rootfs_type|default("rootvd") %}
-{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') or (build_type == 'prerelease') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-qemuarm64.ext4.xz") %}
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-qemuarm64.ext4.xz") %}
diff --git a/templates/machines/qemux86-64.jinja2 b/templates/machines/qemux86-64.jinja2
index a1e3f5c..6c9363e 100644
--- a/templates/machines/qemux86-64.jinja2
+++ b/templates/machines/qemux86-64.jinja2
@@ -9,7 +9,7 @@
{%- set qemu_args = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 2048 -soundhw hda -device usb-ehci -device virtio-rng-pci" %}
{%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/hda verbose systemd.log_color=false rw fstab=no no_timer_check" %}
{%- set rootfs_type = rootfs_type|default("rootvd") %}
-{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') or (build_type == 'prerelease') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-qemux86-64.ext4.xz") %}
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-qemux86-64.ext4.xz") %}
diff --git a/templates/machines/raspberrypi3.jinja2 b/templates/machines/raspberrypi3.jinja2
index cef01c8..cda3c84 100644
--- a/templates/machines/raspberrypi3.jinja2
+++ b/templates/machines/raspberrypi3.jinja2
@@ -10,7 +10,7 @@
{%- set initrd = "initramfs-netboot-image-" + yocto_machine +".ext4.gz.u-boot" %}
{%- endif %}
{%- set dtb = dtb|default("bcm2710-rpi-3-b+vc4+ft5406.dtb") %}
-{%- if (build_type == 'daily') or (build_type == 'release') %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'prerelease') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-raspberrypi3.ext4.xz") %}
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-raspberrypi3.ext4.xz") %}
diff --git a/templates/machines/raspberrypi4.jinja2 b/templates/machines/raspberrypi4.jinja2
index efa3e11..a73f257 100644
--- a/templates/machines/raspberrypi4.jinja2
+++ b/templates/machines/raspberrypi4.jinja2
@@ -10,7 +10,7 @@
{%- set initrd = "initramfs-netboot-image-" + yocto_machine +".ext4.gz" %}
{%- endif %}
{%- set dtb = dtb|default("bcm2711-rpi-4-b.dtb") %}
-{%- if (build_type == 'daily') or (build_type == 'release') %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'prerelease') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-" + yocto_machine + ".ext4.xz") %}
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-" + yocto_machine + ".ext4.xz") %}
diff --git a/templates/machines/upsquare.jinja2 b/templates/machines/upsquare.jinja2
index 80aac30..7ad8237 100644
--- a/templates/machines/upsquare.jinja2
+++ b/templates/machines/upsquare.jinja2
@@ -6,7 +6,7 @@
{%- set yocto_machine = "qemux86-64" %}
{%- set kernel_image = kernel_image|default("bzImage") %}
{%- set rootfs_type = rootfs_type|default("nbd") %}
-{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') or (build_type == 'prerelease') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-qemux86-64.ext4.xz") %}
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-qemux86-64.ext4.xz") %}
diff --git a/templates/tests/ci.jinja2 b/templates/tests/ci.jinja2
index 996fdcb..ad75f2f 100644
--- a/templates/tests/ci.jinja2
+++ b/templates/tests/ci.jinja2
@@ -7,17 +7,17 @@
from: git
history: False
path: test-suites/short-smoke/busybox.yaml
- name: busybox
+ name: ci-busybox
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/smoke-tests-basic.yaml
- name: smoke-tests-basic
+ name: ci-smoke-tests-basic
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/service-check.yaml
- name: service-check
+ name: ci-service-check
parameters:
BUILD_TAGS: "{{ BUILD_TAGS|join(' ')|lower }}"
DEVICE_TAGS: "{{ DEVICE_TAGS|join(' ')|lower }}"
@@ -38,6 +38,6 @@
from: git
history: False
path: automated/linux/ptest/ptest.yaml
- name: linaro-ptest
+ name: ci-linaro-ptest
parameters:
TESTS: "xmlsec1 libxml2 lua"
diff --git a/templates/tests/release.jinja2 b/templates/tests/release.jinja2
index fdfe6bf..0848107 100644
--- a/templates/tests/release.jinja2
+++ b/templates/tests/release.jinja2
@@ -7,17 +7,17 @@
from: git
history: False
path: test-suites/short-smoke/busybox.yaml
- name: busybox
+ name: release-busybox
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/smoke-tests-basic.yaml
- name: smoke-tests-basic
+ name: release-smoke-tests-basic
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
history: False
path: test-suites/short-smoke/service-check.yaml
- name: service-check
+ name: release-service-check
parameters:
BUILD_TAGS: "{{ BUILD_TAGS }}"
DEVICE_TAGS: "{{ DEVICE_TAGS }}"
@@ -30,6 +30,6 @@
from: git
history: False
path: automated/linux/ptest/ptest.yaml
- name: linaro-ptest
+ name: release-linaro-ptest
parameters:
TESTS: "xmlsec1 libxml2 lua"