Explorar o código

Add CI for GCS

Add a basic job for testing the GCS patches that runs testimage with the
gcs test suite.

For speed, disable all the other jobs.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Ross Burton hai 11 meses
pai
achega
db69a338d9
Modificáronse 2 ficheiros con 20 adicións e 0 borrados
  1. 8 0
      .gitlab-ci.yml
  2. 12 0
      meta-arm-gcs/gcs-test.yml

+ 8 - 0
.gitlab-ci.yml

@@ -28,6 +28,7 @@ stages:
 
 # Common job fragment to get a worker ready
 .setup:
+  when: manual
   tags:
     - $DEFAULT_TAG
   stage: build
@@ -89,6 +90,7 @@ stages:
 #
 update-repos:
   extends: .setup
+  when: on_success
   stage: prep
   allow_failure:
     exit_codes: 128
@@ -353,3 +355,9 @@ sgi575:
 
 toolchains:
   extends: .build
+
+gcs:
+  when: on_success
+  extends: .setup
+  script:
+    - kas build meta-arm-gcs/gcs-test.yml

+ 12 - 0
meta-arm-gcs/gcs-test.yml

@@ -0,0 +1,12 @@
+header:
+  version: 14
+  includes:
+    - meta-arm-gcs/gcs.yml
+
+local_conf_header:
+  testimage: |
+    IMAGE_CLASSES += "testimage"
+    TESTIMAGE_AUTO = "1"
+    TEST_SUITES = "ping ssh gcs"
+    IMAGE_FEATURES += "ssh-server-dropbear debug-tweaks"
+    CORE_IMAGE_EXTRA_INSTALL += "ssh-pregen-hostkeys binutils"