broadcom/ci: deduplicate script definition
authorEric Engestrom <eric@igalia.com>
Wed, 12 Apr 2023 21:10:12 +0000 (22:10 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 14 Apr 2023 13:13:00 +0000 (13:13 +0000)
It's always going to be the same for all the jobs in our farm.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Juan A. Suarez <igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22457>

src/broadcom/ci/gitlab-ci.yml

index 71da783..fdecb74 100644 (file)
@@ -1,4 +1,6 @@
 .broadcom-test:
+  script:
+    - ./install/bare-metal/poe-powered.sh
   variables:
     HWCI_TEST_SCRIPT: "/install/deqp-runner.sh"
     FLAKES_CHANNEL: "#videocore-ci"
@@ -21,8 +23,6 @@ vc4-rpi3-gl:armhf:
   extends:
     - .broadcom-test:armhf
     - .vc4-rules
-  script:
-    - ./install/bare-metal/poe-powered.sh
   tags:
     - igalia-rpi3
   parallel: 4
@@ -36,8 +36,6 @@ v3d-rpi4-gl:armhf:
   extends:
     - .broadcom-test:armhf
     - .v3d-rules
-  script:
-    - ./install/bare-metal/poe-powered.sh
   tags:
     - igalia-rpi4
   parallel: 12
@@ -61,8 +59,6 @@ v3d-rpi4-traces:arm64:
     PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/traces-broadcom.yml"
     PIGLIT_REPLAY_DEVICE_NAME: "broadcom-rpi4"
     PIGLIT_RESULTS: "broadcom-rpi4-replay"
-  script:
-    - ./install/bare-metal/poe-powered.sh
   tags:
     - igalia-rpi4
 
@@ -80,7 +76,5 @@ v3dv-rpi4-vk:arm64:
     GPU_VERSION: broadcom-rpi4
     HWCI_KERNEL_MODULES: v3d,vc4
     VK_DRIVER: broadcom
-  script:
-    - ./install/bare-metal/poe-powered.sh
   tags:
     - igalia-rpi4