All of lore.kernel.org
 help / color / mirror / Atom feed
* [xenomai-images][PATCH 0/9] ci improvements
@ 2021-05-12  8:32 Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 1/9] ci: Create resource groups for all LAVA boards Jan Kiszka
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

This brings a number of improvements for our CI/CT:
 - resource groups for board to avoid spinning actively on busy ones
 - filter variable to run only for a specific Xenomai branch
 - consolidation of the artifact/no-artifact cases
 - fix for artifact child pipeline

With this and an upcoming CI patch for Xenomai, we can now trigger the
lab test run for the specific Xenomai branch that received an update.

Jan

Jan Kiszka (9):
  ci: Create resource groups for all LAVA boards
  ci: Remove "board-" from job names
  ci: Fix USE_GITLAB_ARTIFACTS definition
  ci: Remove redundant job filtering on USE_GITLAB_ARTIFACTS
  ci: Pull common .add-lava-ssh-config into gitlab-ci-base.yml
  ci: Consolidate artifacts/no-artifacts case
  ci: Rename and reorder child pipeline
  ci: Factor out common bridge jobs
  ci: Add job filter variable

 .gitlab-ci-artifacts.yml            |  3 --
 ci/artifacts.yml                    | 22 +++----------
 ci/child_pipelines_artifacts.yml    | 26 ++++++++--------
 ci/child_pipelines_common.yml       | 21 +++++++++++++
 ci/child_pipelines_no_artifacts.yml | 26 ++++++++--------
 ci/gitlab-ci-base.yml               | 46 +++++++++++++++++++++------
 ci/kernel_4_19_xenomai_next.yml     | 48 ++++++++++++++---------------
 ci/kernel_5_4_xenomai_next.yml      | 48 ++++++++++++++---------------
 ci/no-artifacts.yml                 | 19 ++----------
 ci/xenomai_3_0_x.yml                | 20 ++++++------
 ci/xenomai_3_1_x.yml                | 48 ++++++++++++++---------------
 11 files changed, 170 insertions(+), 157 deletions(-)
 create mode 100644 ci/child_pipelines_common.yml

-- 
2.26.2



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 1/9] ci: Create resource groups for all LAVA boards
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  2021-05-17 15:37   ` [xenomai-images][PATCH v2 " Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 2/9] ci: Remove "board-" from job names Jan Kiszka
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

We currently have only one instance per board in our lab. So far, test
jobs requesting the same one can start in parallel and will then wait on
the LAVA cli, consuming job time. Avoid this at CI level already.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ci/gitlab-ci-base.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ci/gitlab-ci-base.yml b/ci/gitlab-ci-base.yml
index 53ae66b..7ae2408 100644
--- a/ci/gitlab-ci-base.yml
+++ b/ci/gitlab-ci-base.yml
@@ -47,6 +47,7 @@ default:
 
 .lava-test:qemu-amd64:
   extends: .test
+  resource_group: board-qemu-amd64
   variables:
     TARGET: qemu-amd64
 
@@ -58,6 +59,7 @@ default:
 
 .lava-test:qemu-armhf:
   extends: .test
+  resource_group: board-qemu-armhf
   variables:
     TARGET: qemu-armhf
 
@@ -69,6 +71,7 @@ default:
 
 .lava-test:qemu-arm64:
   extends: .test
+  resource_group: board-qemu-arm64
   variables:
     TARGET: qemu-arm64
 
@@ -80,6 +83,7 @@ default:
 
 .lava-test:board-hikey:
   extends: .test
+  resource_group: board-hikey
   variables:
     TARGET: hikey
 
@@ -91,6 +95,7 @@ default:
 
 .lava-test:board-beagle-bone-black:
   extends: .test
+  resource_group: board-beagle-bone-black
   variables:
     TARGET: beagle-bone-black
 
@@ -102,5 +107,6 @@ default:
 
 .lava-test:board-x86-64-efi:
   extends: .test
+  resource_group: board-x86-64-efi
   variables:
     TARGET: x86-64-efi
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 2/9] ci: Remove "board-" from job names
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 1/9] ci: Create resource groups for all LAVA boards Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 3/9] ci: Fix USE_GITLAB_ARTIFACTS definition Jan Kiszka
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

Only adds verbosity but no information. Keep it for the resource groups,
though, as they are board-related.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ci/gitlab-ci-base.yml           | 20 +++++++-------
 ci/kernel_4_19_xenomai_next.yml | 48 ++++++++++++++++-----------------
 ci/kernel_5_4_xenomai_next.yml  | 48 ++++++++++++++++-----------------
 ci/xenomai_3_0_x.yml            | 20 +++++++-------
 ci/xenomai_3_1_x.yml            | 48 ++++++++++++++++-----------------
 5 files changed, 92 insertions(+), 92 deletions(-)

diff --git a/ci/gitlab-ci-base.yml b/ci/gitlab-ci-base.yml
index 7ae2408..37811af 100644
--- a/ci/gitlab-ci-base.yml
+++ b/ci/gitlab-ci-base.yml
@@ -34,12 +34,12 @@ default:
     - export BUILD_JOB_ID=$(scripts/get-build-id.sh ${BUILD_JOB_NAME})
     - scripts/run-lava-tests.sh ${TARGET}
   variables:
-    BUILD_JOB_NAME: "build-${BUILD_IDENTIFIER}:board-${TARGET}${TARGET_EXTENSION}"
+    BUILD_JOB_NAME: "build-${BUILD_IDENTIFIER}:${TARGET}${TARGET_EXTENSION}"
   only:
     variables:
       - $LAVA_SSH_USER
 
-.build:board-qemu-amd64:
+.build:qemu-amd64:
   extends: .build
   variables:
     TARGET: qemu-amd64
@@ -51,7 +51,7 @@ default:
   variables:
     TARGET: qemu-amd64
 
-.build:board-qemu-armhf:
+.build:qemu-armhf:
   extends: .build
   variables:
     TARGET: qemu-armhf
@@ -63,7 +63,7 @@ default:
   variables:
     TARGET: qemu-armhf
 
-.build:board-qemu-arm64:
+.build:qemu-arm64:
   extends: .build
   variables:
     TARGET: qemu-arm64
@@ -75,37 +75,37 @@ default:
   variables:
     TARGET: qemu-arm64
 
-.build:board-hikey:
+.build:hikey:
   extends: .build
   variables:
     TARGET: hikey
     BUILD_OPTIONS: ":opt-lava-test.yml"
 
-.lava-test:board-hikey:
+.lava-test:hikey:
   extends: .test
   resource_group: board-hikey
   variables:
     TARGET: hikey
 
-.build:board-beagle-bone-black:
+.build:beagle-bone-black:
   extends: .build
   variables:
     TARGET: beagle-bone-black
     BUILD_OPTIONS: ":opt-lava-test.yml"
 
-.lava-test:board-beagle-bone-black:
+.lava-test:beagle-bone-black:
   extends: .test
   resource_group: board-beagle-bone-black
   variables:
     TARGET: beagle-bone-black
 
-.build:board-x86-64-efi:
+.build:x86-64-efi:
   extends: .build
   variables:
     TARGET: x86-64-efi
     BUILD_OPTIONS: ":opt-lava-test.yml"
 
-.lava-test:board-x86-64-efi:
+.lava-test:x86-64-efi:
   extends: .test
   resource_group: board-x86-64-efi
   variables:
diff --git a/ci/kernel_4_19_xenomai_next.yml b/ci/kernel_4_19_xenomai_next.yml
index f98edc4..765a805 100644
--- a/ci/kernel_4_19_xenomai_next.yml
+++ b/ci/kernel_4_19_xenomai_next.yml
@@ -9,74 +9,74 @@
 # SPDX-License-Identifier: MIT
 #
 
-build-4.19:board-qemu-amd64:
-  extends: .build:board-qemu-amd64
+build-4.19:qemu-amd64:
+  extends: .build:qemu-amd64
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
 
 lava-test-4.19:qemu-amd64:
-  needs: [ "build-4.19:board-qemu-amd64" ]
+  needs: [ "build-4.19:qemu-amd64" ]
   extends: .lava-test:qemu-amd64
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-qemu-armhf:
-  extends: .build:board-qemu-armhf
+build-4.19:qemu-armhf:
+  extends: .build:qemu-armhf
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
 
 lava-test-4.19:qemu-armhf:
-  needs: [ "build-4.19:board-qemu-armhf" ]
+  needs: [ "build-4.19:qemu-armhf" ]
   extends: .lava-test:qemu-armhf
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-qemu-arm64:
-  extends: .build:board-qemu-arm64
+build-4.19:qemu-arm64:
+  extends: .build:qemu-arm64
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
 
 lava-test-4.19:qemu-arm64:
-  needs: [ "build-4.19:board-qemu-arm64" ]
+  needs: [ "build-4.19:qemu-arm64" ]
   extends: .lava-test:qemu-arm64
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-hikey:
-  extends: .build:board-hikey
+build-4.19:hikey:
+  extends: .build:hikey
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
 
-lava-test-4.19:board-hikey:
-  needs: [ "build-4.19:board-hikey" ]
-  extends: .lava-test:board-hikey
+lava-test-4.19:hikey:
+  needs: [ "build-4.19:hikey" ]
+  extends: .lava-test:hikey
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-beagle-bone-black:
-  extends: .build:board-beagle-bone-black
+build-4.19:beagle-bone-black:
+  extends: .build:beagle-bone-black
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
 
-lava-test-4.19:board-beagle-bone-black:
-  needs: [ "build-4.19:board-beagle-bone-black" ]
-  extends: .lava-test:board-beagle-bone-black
+lava-test-4.19:beagle-bone-black:
+  needs: [ "build-4.19:beagle-bone-black" ]
+  extends: .lava-test:beagle-bone-black
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-x86-64-efi:
-  extends: .build:board-x86-64-efi
+build-4.19:x86-64-efi:
+  extends: .build:x86-64-efi
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
 
-lava-test-4.19:board-x86-64-efi:
-  needs: [ "build-4.19:board-x86-64-efi" ]
-  extends: .lava-test:board-x86-64-efi
+lava-test-4.19:x86-64-efi:
+  needs: [ "build-4.19:x86-64-efi" ]
+  extends: .lava-test:x86-64-efi
   variables:
     DEPLOY_DIR_EXTENSION: "4.19"
     BUILD_IDENTIFIER: "4.19"
diff --git a/ci/kernel_5_4_xenomai_next.yml b/ci/kernel_5_4_xenomai_next.yml
index 1092aea..6b2708f 100644
--- a/ci/kernel_5_4_xenomai_next.yml
+++ b/ci/kernel_5_4_xenomai_next.yml
@@ -9,80 +9,80 @@
 # SPDX-License-Identifier: MIT
 #
 
-build-5.4:board-qemu-amd64:
-  extends: .build:board-qemu-amd64
+build-5.4:qemu-amd64:
+  extends: .build:qemu-amd64
   variables:
     LINUX_BUILD_OPTION: ":opt-linux-latest-5.4.yml"
     DEPLOY_DIR_EXTENSION: "5.4"
 
 lava-test-5.4:qemu-amd64:
-  needs: [ "build-5.4:board-qemu-amd64" ]
+  needs: [ "build-5.4:qemu-amd64" ]
   extends: .lava-test:qemu-amd64
   variables:
     DEPLOY_DIR_EXTENSION: "5.4"
     BUILD_IDENTIFIER: "5.4"
 
-build-5.4:board-qemu-armhf:
-  extends: .build:board-qemu-armhf
+build-5.4:qemu-armhf:
+  extends: .build:qemu-armhf
   variables:
     LINUX_BUILD_OPTION: ":opt-linux-latest-5.4.yml"
     DEPLOY_DIR_EXTENSION: "5.4"
 
 lava-test-5.4:qemu-armhf:
-  needs: [ "build-5.4:board-qemu-armhf" ]
+  needs: [ "build-5.4:qemu-armhf" ]
   extends: .lava-test:qemu-armhf
   variables:
     DEPLOY_DIR_EXTENSION: "5.4"
     BUILD_IDENTIFIER: "5.4"
 
-build-5.4:board-qemu-arm64:
-  extends: .build:board-qemu-arm64
+build-5.4:qemu-arm64:
+  extends: .build:qemu-arm64
   variables:
     LINUX_BUILD_OPTION: ":opt-linux-latest-5.4.yml"
     DEPLOY_DIR_EXTENSION: "5.4"
 
 lava-test-5.4:qemu-arm64:
-  needs: [ "build-5.4:board-qemu-arm64" ]
+  needs: [ "build-5.4:qemu-arm64" ]
   extends: .lava-test:qemu-arm64
   variables:
     DEPLOY_DIR_EXTENSION: "5.4"
     BUILD_IDENTIFIER: "5.4"
 
-build-5.4:board-hikey:
-  extends: .build:board-hikey
+build-5.4:hikey:
+  extends: .build:hikey
   variables:
     LINUX_BUILD_OPTION: ":opt-linux-latest-5.4.yml"
     DEPLOY_DIR_EXTENSION: "5.4"
 
-lava-test-5.4:board-hikey:
-  needs: [ "build-5.4:board-hikey" ]
-  extends: .lava-test:board-hikey
+lava-test-5.4:hikey:
+  needs: [ "build-5.4:hikey" ]
+  extends: .lava-test:hikey
   variables:
     DEPLOY_DIR_EXTENSION: "5.4"
     BUILD_IDENTIFIER: "5.4"
 
-build-5.4:board-beagle-bone-black:
-  extends: .build:board-beagle-bone-black
+build-5.4:beagle-bone-black:
+  extends: .build:beagle-bone-black
   variables:
     LINUX_BUILD_OPTION: ":opt-linux-latest-5.4.yml"
     DEPLOY_DIR_EXTENSION: "5.4"
 
-lava-test-5.4:board-beagle-bone-black:
-  needs: [ "build-5.4:board-beagle-bone-black" ]
-  extends: .lava-test:board-beagle-bone-black
+lava-test-5.4:beagle-bone-black:
+  needs: [ "build-5.4:beagle-bone-black" ]
+  extends: .lava-test:beagle-bone-black
   variables:
     DEPLOY_DIR_EXTENSION: "5.4"
     BUILD_IDENTIFIER: "5.4"
 
-build-5.4:board-x86-64-efi:
-  extends: .build:board-x86-64-efi
+build-5.4:x86-64-efi:
+  extends: .build:x86-64-efi
   variables:
     LINUX_BUILD_OPTION: ":opt-linux-latest-5.4.yml"
     DEPLOY_DIR_EXTENSION: "5.4"
 
-lava-test-5.4:board-x86-64-efi:
-  needs: [ "build-5.4:board-x86-64-efi" ]
-  extends: .lava-test:board-x86-64-efi
+lava-test-5.4:x86-64-efi:
+  needs: [ "build-5.4:x86-64-efi" ]
+  extends: .lava-test:x86-64-efi
   variables:
     DEPLOY_DIR_EXTENSION: "5.4"
     BUILD_IDENTIFIER: "5.4"
diff --git a/ci/xenomai_3_0_x.yml b/ci/xenomai_3_0_x.yml
index 6a314b5..9b8c31e 100644
--- a/ci/xenomai_3_0_x.yml
+++ b/ci/xenomai_3_0_x.yml
@@ -11,28 +11,28 @@
 include:
   - local: '/ci/gitlab-ci-base.yml'
 
-build-4.4:board-beagle-bone-black:
-  extends: .build:board-beagle-bone-black
+build-4.4:beagle-bone-black:
+  extends: .build:beagle-bone-black
   variables:
     XENOMAI_BUILD_OPTION: ":opt-xenomai-3.0.x.yml"
     DEPLOY_DIR_EXTENSION: "xenomai-3.0.x"
 
-lava-test-4.4:board-beagle-bone-black:
-  needs: [ "build-4.4:board-beagle-bone-black" ]
-  extends: .lava-test:board-beagle-bone-black
+lava-test-4.4:beagle-bone-black:
+  needs: [ "build-4.4:beagle-bone-black" ]
+  extends: .lava-test:beagle-bone-black
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.0.x"
     BUILD_IDENTIFIER: "4.4"
 
-build-4.4:board-x86-64-efi:
-  extends: .build:board-x86-64-efi
+build-4.4:x86-64-efi:
+  extends: .build:x86-64-efi
   variables:
     XENOMAI_BUILD_OPTION: ":opt-xenomai-3.0.x.yml"
     DEPLOY_DIR_EXTENSION: "xenomai-3.0.x"
 
-lava-test-4.4:board-x86-64-efi:
-  needs: [ "build-4.4:board-x86-64-efi" ]
-  extends: .lava-test:board-x86-64-efi
+lava-test-4.4:x86-64-efi:
+  needs: [ "build-4.4:x86-64-efi" ]
+  extends: .lava-test:x86-64-efi
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.0.x"
     BUILD_IDENTIFIER: "4.4"
diff --git a/ci/xenomai_3_1_x.yml b/ci/xenomai_3_1_x.yml
index 19eaf38..11f3640 100644
--- a/ci/xenomai_3_1_x.yml
+++ b/ci/xenomai_3_1_x.yml
@@ -12,80 +12,80 @@ include:
   - local: '/ci/gitlab-ci-base.yml'
 
 
-build-4.19:board-qemu-amd64:
-  extends: .build:board-qemu-amd64
+build-4.19:qemu-amd64:
+  extends: .build:qemu-amd64
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     XENOMAI_BUILD_OPTION: ":opt-xenomai-3.1.x.yml"
 
 lava-test-4.19:qemu-amd64:
-  needs: [ "build-4.19:board-qemu-amd64" ]
+  needs: [ "build-4.19:qemu-amd64" ]
   extends: .lava-test:qemu-amd64
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-qemu-armhf:
-  extends: .build:board-qemu-armhf
+build-4.19:qemu-armhf:
+  extends: .build:qemu-armhf
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     XENOMAI_BUILD_OPTION: ":opt-xenomai-3.1.x.yml"
 
 lava-test-4.19:qemu-armhf:
-  needs: [ "build-4.19:board-qemu-armhf" ]
+  needs: [ "build-4.19:qemu-armhf" ]
   extends: .lava-test:qemu-armhf
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-qemu-arm64:
-  extends: .build:board-qemu-arm64
+build-4.19:qemu-arm64:
+  extends: .build:qemu-arm64
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     XENOMAI_BUILD_OPTION: ":opt-xenomai-3.1.x.yml"
 
 lava-test-4.19:qemu-arm64:
-  needs: [ "build-4.19:board-qemu-arm64" ]
+  needs: [ "build-4.19:qemu-arm64" ]
   extends: .lava-test:qemu-arm64
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-hikey:
-  extends: .build:board-hikey
+build-4.19:hikey:
+  extends: .build:hikey
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     XENOMAI_BUILD_OPTION: ":opt-xenomai-3.1.x.yml"
 
-lava-test-4.19:board-hikey:
-  needs: [ "build-4.19:board-hikey" ]
-  extends: .lava-test:board-hikey
+lava-test-4.19:hikey:
+  needs: [ "build-4.19:hikey" ]
+  extends: .lava-test:hikey
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-beagle-bone-black:
-  extends: .build:board-beagle-bone-black
+build-4.19:beagle-bone-black:
+  extends: .build:beagle-bone-black
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     XENOMAI_BUILD_OPTION: ":opt-xenomai-3.1.x.yml"
 
-lava-test-4.19:board-beagle-bone-black:
-  needs: [ "build-4.19:board-beagle-bone-black" ]
-  extends: .lava-test:board-beagle-bone-black
+lava-test-4.19:beagle-bone-black:
+  needs: [ "build-4.19:beagle-bone-black" ]
+  extends: .lava-test:beagle-bone-black
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     BUILD_IDENTIFIER: "4.19"
 
-build-4.19:board-x86-64-efi:
-  extends: .build:board-x86-64-efi
+build-4.19:x86-64-efi:
+  extends: .build:x86-64-efi
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     XENOMAI_BUILD_OPTION: ":opt-xenomai-3.1.x.yml"
 
-lava-test-4.19:board-x86-64-efi:
-  needs: [ "build-4.19:board-x86-64-efi" ]
-  extends: .lava-test:board-x86-64-efi
+lava-test-4.19:x86-64-efi:
+  needs: [ "build-4.19:x86-64-efi" ]
+  extends: .lava-test:x86-64-efi
   variables:
     DEPLOY_DIR_EXTENSION: "xenomai-3.1.x"
     BUILD_IDENTIFIER: "4.19"
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 3/9] ci: Fix USE_GITLAB_ARTIFACTS definition
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 1/9] ci: Create resource groups for all LAVA boards Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 2/9] ci: Remove "board-" from job names Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 4/9] ci: Remove redundant job filtering on USE_GITLAB_ARTIFACTS Jan Kiszka
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

Variables do not propagate automatically to child pipelines. So define
this one in the artifact version of the child pipeline file.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .gitlab-ci-artifacts.yml | 3 ---
 ci/artifacts.yml         | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci-artifacts.yml b/.gitlab-ci-artifacts.yml
index 6d2f1ee..85345b8 100644
--- a/.gitlab-ci-artifacts.yml
+++ b/.gitlab-ci-artifacts.yml
@@ -9,8 +9,5 @@
 # SPDX-License-Identifier: MIT
 #
 
-variables:
-  USE_GITLAB_ARTIFACTS: "true"
-
 include:
   - local: '/ci/child_pipelines_artifacts.yml'
diff --git a/ci/artifacts.yml b/ci/artifacts.yml
index 2a0d639..fb1549f 100644
--- a/ci/artifacts.yml
+++ b/ci/artifacts.yml
@@ -8,6 +8,10 @@
 #
 # SPDX-License-Identifier: MIT
 #
+
+variables:
+  USE_GITLAB_ARTIFACTS: "true"
+
 # add lavacli to the container and install the ssh keys
 # for the test infrastructure
 .add-lava-ssh-config:
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 4/9] ci: Remove redundant job filtering on USE_GITLAB_ARTIFACTS
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
                   ` (2 preceding siblings ...)
  2021-05-12  8:32 ` [xenomai-images][PATCH 3/9] ci: Fix USE_GITLAB_ARTIFACTS definition Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 5/9] ci: Pull common .add-lava-ssh-config into gitlab-ci-base.yml Jan Kiszka
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

Already done by including only one of the two files.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ci/artifacts.yml    | 4 ----
 ci/no-artifacts.yml | 3 ---
 2 files changed, 7 deletions(-)

diff --git a/ci/artifacts.yml b/ci/artifacts.yml
index fb1549f..9d6b0e1 100644
--- a/ci/artifacts.yml
+++ b/ci/artifacts.yml
@@ -30,7 +30,3 @@ variables:
     paths:
     - build/tmp/deploy/images/${TARGET}/
     expire_in: 1 week
-  only:
-    variables:
-      - $USE_GITLAB_ARTIFACTS
-
diff --git a/ci/no-artifacts.yml b/ci/no-artifacts.yml
index 4efff7a..f7e0aed 100644
--- a/ci/no-artifacts.yml
+++ b/ci/no-artifacts.yml
@@ -23,6 +23,3 @@
     - echo "Building kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}"
     - kas build kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}
     - scripts/deploy_for_testing.sh ${TARGET}
-  except:
-    variables:
-      - $USE_GITLAB_ARTIFACTS
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 5/9] ci: Pull common .add-lava-ssh-config into gitlab-ci-base.yml
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
                   ` (3 preceding siblings ...)
  2021-05-12  8:32 ` [xenomai-images][PATCH 4/9] ci: Remove redundant job filtering on USE_GITLAB_ARTIFACTS Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 6/9] ci: Consolidate artifacts/no-artifacts case Jan Kiszka
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

Also refactor a bit for better readability.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ci/artifacts.yml      |  8 --------
 ci/gitlab-ci-base.yml | 12 ++++++++++++
 ci/no-artifacts.yml   |  9 +--------
 3 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/ci/artifacts.yml b/ci/artifacts.yml
index 9d6b0e1..d75559a 100644
--- a/ci/artifacts.yml
+++ b/ci/artifacts.yml
@@ -12,14 +12,6 @@
 variables:
   USE_GITLAB_ARTIFACTS: "true"
 
-# add lavacli to the container and install the ssh keys
-# for the test infrastructure
-.add-lava-ssh-config:
-  before_script:
-    - mkdir -p -m=700 ~/.ssh
-    - if [ -n "$https_proxy" ]; then echo "ProxyCommand socat - PROXY:$(echo $https_proxy | sed 's|.*://\([^:]*\).*|\1|'):%h:%p,proxyport=$(echo $https_proxy | sed 's|.*:\([0-9]*\)$|\1|')" >> ~/.ssh/config && chmod 600 ~/.ssh/config; fi;
-    - echo "$LAVA_SSH_UPLOAD_KEY" | tr -d '\r' > ~/.ssh/lava_id_rsa && chmod 600 ~/.ssh/lava_id_rsa
-    - echo "$LAVA_SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts
 .build:
   extends: .add-lava-ssh-config
   stage: build
diff --git a/ci/gitlab-ci-base.yml b/ci/gitlab-ci-base.yml
index 37811af..839f6ea 100644
--- a/ci/gitlab-ci-base.yml
+++ b/ci/gitlab-ci-base.yml
@@ -26,6 +26,18 @@ variables:
 default:
   image: ghcr.io/siemens/kas/kas-isar:2.4
 
+# add lavacli to the container and install the ssh keys
+# for the test infrastructure
+.add-lava-ssh-config:
+  before_script:
+    - mkdir -p -m=700 ~/.ssh
+    - if [ -n "$https_proxy" ]; then
+          echo "ProxyCommand socat - PROXY:$(echo $https_proxy | sed 's|.*://\([^:]*\).*|\1|'):%h:%p,proxyport=$(echo $https_proxy | sed 's|.*:\([0-9]*\)$|\1|')" >> ~/.ssh/config;
+          chmod 600 ~/.ssh/config;
+      fi
+    - echo "$LAVA_SSH_UPLOAD_KEY" | tr -d '\r' > ~/.ssh/lava_id_rsa && chmod 600 ~/.ssh/lava_id_rsa
+    - echo "$LAVA_SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts
+
 .test:
   extends: .add-lava-ssh-config
   stage: test
diff --git a/ci/no-artifacts.yml b/ci/no-artifacts.yml
index f7e0aed..e652a03 100644
--- a/ci/no-artifacts.yml
+++ b/ci/no-artifacts.yml
@@ -8,14 +8,7 @@
 #
 # SPDX-License-Identifier: MIT
 #
-# add lavacli to the container and install the ssh keys
-# for the test infrastructure
-.add-lava-ssh-config:
-  before_script:
-    - mkdir -p -m=700 ~/.ssh
-    - if [ -n "$https_proxy" ]; then echo "ProxyCommand socat - PROXY:$(echo $https_proxy | sed 's|.*://\([^:]*\).*|\1|'):%h:%p,proxyport=$(echo $https_proxy | sed 's|.*:\([0-9]*\)$|\1|')" >> ~/.ssh/config && chmod 600 ~/.ssh/config; fi;
-    - echo "$LAVA_SSH_UPLOAD_KEY" | tr -d '\r' > ~/.ssh/lava_id_rsa && chmod 600 ~/.ssh/lava_id_rsa
-    - echo "$LAVA_SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts
+
 .build:
   extends: .add-lava-ssh-config
   stage: build
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 6/9] ci: Consolidate artifacts/no-artifacts case
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
                   ` (4 preceding siblings ...)
  2021-05-12  8:32 ` [xenomai-images][PATCH 5/9] ci: Pull common .add-lava-ssh-config into gitlab-ci-base.yml Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 7/9] ci: Rename and reorder child pipeline Jan Kiszka
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

By checking for USE_GITLAB_ARTIFACTS, we can share the scripts section.
This leaves the variation to the addition of artifacts.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ci/artifacts.yml      | 6 +-----
 ci/gitlab-ci-base.yml | 8 ++++++++
 ci/no-artifacts.yml   | 7 +------
 3 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/ci/artifacts.yml b/ci/artifacts.yml
index d75559a..ba851cf 100644
--- a/ci/artifacts.yml
+++ b/ci/artifacts.yml
@@ -13,11 +13,7 @@ variables:
   USE_GITLAB_ARTIFACTS: "true"
 
 .build:
-  extends: .add-lava-ssh-config
-  stage: build
-  script:
-    - echo "Building kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}"
-    - kas build kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}
+  extends: .build-base
   artifacts:
     paths:
     - build/tmp/deploy/images/${TARGET}/
diff --git a/ci/gitlab-ci-base.yml b/ci/gitlab-ci-base.yml
index 839f6ea..8adc505 100644
--- a/ci/gitlab-ci-base.yml
+++ b/ci/gitlab-ci-base.yml
@@ -38,6 +38,14 @@ default:
     - echo "$LAVA_SSH_UPLOAD_KEY" | tr -d '\r' > ~/.ssh/lava_id_rsa && chmod 600 ~/.ssh/lava_id_rsa
     - echo "$LAVA_SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts
 
+.build-base:
+  extends: .add-lava-ssh-config
+  stage: build
+  script:
+    - echo "Building kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}"
+    - kas build kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}
+    - if [ -z "${USE_GITLAB_ARTIFACTS}" ]; then scripts/deploy_for_testing.sh ${TARGET}; fi
+
 .test:
   extends: .add-lava-ssh-config
   stage: test
diff --git a/ci/no-artifacts.yml b/ci/no-artifacts.yml
index e652a03..a820f89 100644
--- a/ci/no-artifacts.yml
+++ b/ci/no-artifacts.yml
@@ -10,9 +10,4 @@
 #
 
 .build:
-  extends: .add-lava-ssh-config
-  stage: build
-  script:
-    - echo "Building kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}"
-    - kas build kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS}
-    - scripts/deploy_for_testing.sh ${TARGET}
+  extends: .build-base
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 7/9] ci: Rename and reorder child pipeline
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
                   ` (5 preceding siblings ...)
  2021-05-12  8:32 ` [xenomai-images][PATCH 6/9] ci: Consolidate artifacts/no-artifacts case Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 8/9] ci: Factor out common bridge jobs Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 9/9] ci: Add job filter variable Jan Kiszka
  8 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

Ordering for pure aesthetic reasons, naming to align with the branch
names from the main Xenomai repo. The latter will help with setting
triggers.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ci/child_pipelines_artifacts.yml    | 12 ++++++------
 ci/child_pipelines_no_artifacts.yml | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ci/child_pipelines_artifacts.yml b/ci/child_pipelines_artifacts.yml
index 6d8ce9f..eb97f31 100644
--- a/ci/child_pipelines_artifacts.yml
+++ b/ci/child_pipelines_artifacts.yml
@@ -11,26 +11,26 @@
 stages:
   - parent
 
-xenomai next:
+stable/v3.0.x:
   stage: parent
   trigger:
     include:
       - local: '/ci/artifacts.yml'
-      - local: '/ci/xenomai_next.yml'
+      - local: '/ci/xenomai_3_0_x.yml'
     strategy: depend
 
-xenomai 3.0.x:
+stable/v3.1.x:
   stage: parent
   trigger:
     include:
       - local: '/ci/artifacts.yml'
-      - local: '/ci/xenomai_3_0_x.yml'
+      - local: '/ci/xenomai_3_1_x.yml'
     strategy: depend
 
-xenomai 3.1.x:
+next:
   stage: parent
   trigger:
     include:
       - local: '/ci/artifacts.yml'
-      - local: '/ci/xenomai_3_1_x.yml'
+      - local: '/ci/xenomai_next.yml'
     strategy: depend
diff --git a/ci/child_pipelines_no_artifacts.yml b/ci/child_pipelines_no_artifacts.yml
index e347990..2ff4d7b 100644
--- a/ci/child_pipelines_no_artifacts.yml
+++ b/ci/child_pipelines_no_artifacts.yml
@@ -11,26 +11,26 @@
 stages:
   - parent
 
-xenomai next:
+stable/v3.0.x:
   stage: parent
   trigger:
     include:
       - local: '/ci/no-artifacts.yml'
-      - local: '/ci/xenomai_next.yml'
+      - local: '/ci/xenomai_3_0_x.yml'
     strategy: depend
 
-xenomai 3.0.x:
+stable/v3.1.x:
   stage: parent
   trigger:
     include:
       - local: '/ci/no-artifacts.yml'
-      - local: '/ci/xenomai_3_0_x.yml'
+      - local: '/ci/xenomai_3_1_x.yml'
     strategy: depend
 
-xenomai 3.1.x:
+next:
   stage: parent
   trigger:
     include:
       - local: '/ci/no-artifacts.yml'
-      - local: '/ci/xenomai_3_1_x.yml'
+      - local: '/ci/xenomai_next.yml'
     strategy: depend
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 8/9] ci: Factor out common bridge jobs
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
                   ` (6 preceding siblings ...)
  2021-05-12  8:32 ` [xenomai-images][PATCH 7/9] ci: Rename and reorder child pipeline Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  2021-05-12  8:32 ` [xenomai-images][PATCH 9/9] ci: Add job filter variable Jan Kiszka
  8 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

Further reduces the duplicate parts in
child_pipelines_[no_]artifacts.yml.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ci/child_pipelines_artifacts.yml    | 14 ++++++--------
 ci/child_pipelines_common.yml       | 19 +++++++++++++++++++
 ci/child_pipelines_no_artifacts.yml | 14 ++++++--------
 3 files changed, 31 insertions(+), 16 deletions(-)
 create mode 100644 ci/child_pipelines_common.yml

diff --git a/ci/child_pipelines_artifacts.yml b/ci/child_pipelines_artifacts.yml
index eb97f31..1dd856c 100644
--- a/ci/child_pipelines_artifacts.yml
+++ b/ci/child_pipelines_artifacts.yml
@@ -8,29 +8,27 @@
 #
 # SPDX-License-Identifier: MIT
 #
-stages:
-  - parent
+
+include:
+  - local: '/ci/child_pipelines_common.yml'
 
 stable/v3.0.x:
-  stage: parent
+  extends: .parent
   trigger:
     include:
       - local: '/ci/artifacts.yml'
       - local: '/ci/xenomai_3_0_x.yml'
-    strategy: depend
 
 stable/v3.1.x:
-  stage: parent
+  extends: .parent
   trigger:
     include:
       - local: '/ci/artifacts.yml'
       - local: '/ci/xenomai_3_1_x.yml'
-    strategy: depend
 
 next:
-  stage: parent
+  extends: .parent
   trigger:
     include:
       - local: '/ci/artifacts.yml'
       - local: '/ci/xenomai_next.yml'
-    strategy: depend
diff --git a/ci/child_pipelines_common.yml b/ci/child_pipelines_common.yml
new file mode 100644
index 0000000..d742041
--- /dev/null
+++ b/ci/child_pipelines_common.yml
@@ -0,0 +1,19 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019 - 2021
+#
+# Authors:
+#  Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#  Jan Kiszka <jan.kiszka@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+stages:
+  - parent
+
+.parent:
+  stage: parent
+  trigger:
+    strategy: depend
diff --git a/ci/child_pipelines_no_artifacts.yml b/ci/child_pipelines_no_artifacts.yml
index 2ff4d7b..c90204d 100644
--- a/ci/child_pipelines_no_artifacts.yml
+++ b/ci/child_pipelines_no_artifacts.yml
@@ -8,29 +8,27 @@
 #
 # SPDX-License-Identifier: MIT
 #
-stages:
-  - parent
+
+include:
+  - local: '/ci/child_pipelines_common.yml'
 
 stable/v3.0.x:
-  stage: parent
+  extends: .parent
   trigger:
     include:
       - local: '/ci/no-artifacts.yml'
       - local: '/ci/xenomai_3_0_x.yml'
-    strategy: depend
 
 stable/v3.1.x:
-  stage: parent
+  extends: .parent
   trigger:
     include:
       - local: '/ci/no-artifacts.yml'
       - local: '/ci/xenomai_3_1_x.yml'
-    strategy: depend
 
 next:
-  stage: parent
+  extends: .parent
   trigger:
     include:
       - local: '/ci/no-artifacts.yml'
       - local: '/ci/xenomai_next.yml'
-    strategy: depend
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH 9/9] ci: Add job filter variable
  2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
                   ` (7 preceding siblings ...)
  2021-05-12  8:32 ` [xenomai-images][PATCH 8/9] ci: Factor out common bridge jobs Jan Kiszka
@ 2021-05-12  8:32 ` Jan Kiszka
  8 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-12  8:32 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

This allows to set a filter variable when triggering the pipeline,
effectively running only one of the currently three child pipelines.
Will permit automatic triggering from the Xenomai repo on pushes to the
corresponding branches.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ci/child_pipelines_common.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ci/child_pipelines_common.yml b/ci/child_pipelines_common.yml
index d742041..a96a81f 100644
--- a/ci/child_pipelines_common.yml
+++ b/ci/child_pipelines_common.yml
@@ -17,3 +17,5 @@ stages:
   stage: parent
   trigger:
     strategy: depend
+  rules:
+    - if: '$ONLY_RUN == null || $ONLY_RUN == $CI_JOB_NAME'
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [xenomai-images][PATCH v2 1/9] ci: Create resource groups for all LAVA boards
  2021-05-12  8:32 ` [xenomai-images][PATCH 1/9] ci: Create resource groups for all LAVA boards Jan Kiszka
@ 2021-05-17 15:37   ` Jan Kiszka
  0 siblings, 0 replies; 11+ messages in thread
From: Jan Kiszka @ 2021-05-17 15:37 UTC (permalink / raw)
  To: xenomai

From: Jan Kiszka <jan.kiszka@siemens.com>

We currently have only one instance per board in our lab, and there is
only one QEMU instance max, independently of the architecture. So far,
test jobs requesting the same one can start in parallel and will then
wait on the LAVA cli, consuming job time. Avoid this at CI level
already.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

Changes in v2:
 - put all QEMUs into one group (misunderstanding of mine...)

 ci/gitlab-ci-base.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ci/gitlab-ci-base.yml b/ci/gitlab-ci-base.yml
index 53ae66b..28c383c 100644
--- a/ci/gitlab-ci-base.yml
+++ b/ci/gitlab-ci-base.yml
@@ -47,6 +47,7 @@ default:
 
 .lava-test:qemu-amd64:
   extends: .test
+  resource_group: board-qemu
   variables:
     TARGET: qemu-amd64
 
@@ -58,6 +59,7 @@ default:
 
 .lava-test:qemu-armhf:
   extends: .test
+  resource_group: board-qemu
   variables:
     TARGET: qemu-armhf
 
@@ -69,6 +71,7 @@ default:
 
 .lava-test:qemu-arm64:
   extends: .test
+  resource_group: board-qemu
   variables:
     TARGET: qemu-arm64
 
@@ -80,6 +83,7 @@ default:
 
 .lava-test:board-hikey:
   extends: .test
+  resource_group: board-hikey
   variables:
     TARGET: hikey
 
@@ -91,6 +95,7 @@ default:
 
 .lava-test:board-beagle-bone-black:
   extends: .test
+  resource_group: board-beagle-bone-black
   variables:
     TARGET: beagle-bone-black
 
@@ -102,5 +107,6 @@ default:
 
 .lava-test:board-x86-64-efi:
   extends: .test
+  resource_group: board-x86-64-efi
   variables:
     TARGET: x86-64-efi
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-05-17 15:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12  8:32 [xenomai-images][PATCH 0/9] ci improvements Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 1/9] ci: Create resource groups for all LAVA boards Jan Kiszka
2021-05-17 15:37   ` [xenomai-images][PATCH v2 " Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 2/9] ci: Remove "board-" from job names Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 3/9] ci: Fix USE_GITLAB_ARTIFACTS definition Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 4/9] ci: Remove redundant job filtering on USE_GITLAB_ARTIFACTS Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 5/9] ci: Pull common .add-lava-ssh-config into gitlab-ci-base.yml Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 6/9] ci: Consolidate artifacts/no-artifacts case Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 7/9] ci: Rename and reorder child pipeline Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 8/9] ci: Factor out common bridge jobs Jan Kiszka
2021-05-12  8:32 ` [xenomai-images][PATCH 9/9] ci: Add job filter variable Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.