[gnome-build-meta/sthursfield/james/openqa-master: 11/12] openqa: Use CI_JOB_NAME in unique worker ID




commit abb4f0b0dea1306c6eb4bea6c09db0c5821b0c64
Author: Sam Thursfield <sam afuera me uk>
Date:   Thu Jul 29 19:09:45 2021 +0200

    openqa: Use CI_JOB_NAME in unique worker ID
    
    This might make debugging worker issues easier in future.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4b678ad9..e691f1d8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -321,7 +321,7 @@ test-iso-installer-x86_64:
   - |
     # To ensure we create a unique worker for each ad-hoc test run, create a new
     # uniqe machine class, which can only be used for this test
-    worker_class=qemu_x86_64-$(uuidgen)
+    worker_class=qemu_x86_64-${CI_JOB_ID}
     cat >/etc/openqa/workers.ini <<EOF
     [global]
     WORKER_CLASS=$worker_class


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]