[gjs/tag-lsan-jobs] CI: Tag sanitizer jobs as "privileged"



commit 5621258ec5f81a3c389b49148faafc7c9f5c454f
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Mar 21 10:54:53 2020 -0700

    CI: Tag sanitizer jobs as "privileged"
    
    Running LSAN requires the CAP_SYS_PTRACE privilege, which is no longer
    available on most of the runners.

 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5a0a858c..670d2128 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,6 +57,8 @@ build_recommended:
 sanitizer_gcc:
   <<: *build
   stage: test
+  tags:
+    - privileged  # LSAN needs CAP_SYS_PTRACE
   image: registry.gitlab.gnome.org/gnome/gjs:fedora.mozjs68
   variables:
     TASK_ID: "fedora-x86_64-gcc-default-ubsan_asan-check"
@@ -217,6 +219,8 @@ coverage:
 sanitizer_clang:
   <<: *build
   stage: manual
+  tags:
+    - privileged  # LSAN needs CAP_SYS_PTRACE
   image: registry.gitlab.gnome.org/gnome/gjs:fedora.mozjs68
   variables:
     TASK_ID: "fedora-x86_64-clang_ubsan_asan-default-default-check"


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