[libcamera-ci,RFC,v2,4/5] Guard hardware testing jobs
diff mbox series

Message ID 20260130160254.1770742-5-barnabas.pocze@ideasonboard.com
State New
Headers show
Series
  • on-device-testing proof of concept
Related show

Commit Message

Barnabás Pőcze Jan. 30, 2026, 4:02 p.m. UTC
Use manually triggered jobs, do not run them automatically.

Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
---
 gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

--
2.52.0

Patch
diff mbox series

diff --git a/gitlab-ci.yml b/gitlab-ci.yml
index 37ffc58..5179207 100644
--- a/gitlab-ci.yml
+++ b/gitlab-ci.yml
@@ -57,6 +57,11 @@  include:
     ref: *templates_sha
     file: '/templates/debian.yml'

+.on-device-testing-guard:
+  rules:
+    - if: $ON_DEVICE_TESTING
+    - when: manual
+
 .libcamera-ci.debian:11:
   variables:
     FDO_DISTRIBUTION_VERSION: 'bullseye'
@@ -329,6 +334,7 @@  build-deb-for-lc-compliance-testing:
     - .fdo.distribution-image@debian
     - .libcamera-ci.debian:13
     - .libcamera-ci.scripts
+    - .on-device-testing-guard
   stage: build
   needs:
     - job: container-debian:13
@@ -375,6 +381,7 @@  lava-jobs-as-artifacts:
     - .fdo.distribution-image@debian
     - .libcamera-ci.debian:13
     - .libcamera-ci.scripts
+    - .on-device-testing-guard
   stage: build
   needs:
     - job: container-debian:13
@@ -492,6 +499,8 @@  test-lc-compliance:virtual:
       junit: build/lc-compliance-report.xml

 test-lc-compliance:rkisp1:debix-a:
+  extends:
+    - .on-device-testing-guard
   stage: test
   needs:
     - job: lava-jobs-as-artifacts