lttng-ust: checkout sources in a subdirectory
[lttng-ci.git] / jobs / lttng-modules.yaml
index 27436c6b4f8dc817ee01638a79272e5f091383a8..5e03d505524f2f180e1579cc454c704b60099e5c 100644 (file)
@@ -19,9 +19,9 @@
 
     scm:
       - git:
-          url: git://github.com/lttng/lttng-modules.git
+          url: git://github.com/{github_user}/{github_name}.git
           browser: githubweb
-          browser-url: https://github.com/lttng/lttng-modules
+          browser-url: https://github.com/{github_user}/{github_name}
           branches:
             - "{mversion}"
           shallow-clone: true
@@ -35,7 +35,7 @@
 
     properties:
       - github:
-          url: https://github.com/lttng/lttng-modules
+          url: https://github.com/{github_user}/{github_name}
 
 
 ## Templates
           branches:
             - "${{mversion}}"
           skip-tag: true
-          basedir: lttng-modules
+          basedir: src/lttng-modules
 
     triggers:
 
     builders:
       - shell: |
-          git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" linux
+          git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
       - shell:
           !include-raw-escape: scripts/lttng-modules/param-build.sh
 
               password: COVERITY_SCAN_TOKEN
 
     builders:
+      - shell: |
+         git clone --depth=1 -b v4.4 --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux
+         cd linux
+         make defconfig
+         sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
+         make modules_prepare
+         cd ..
       - shell:
          !include-raw-escape: scripts/common/coverity.sh
 
 ## Project
 - project:
     name: lttng-modules
+    github_user: lttng
+    github_name: lttng-modules
     mversion:
       !include: jobs/inc/lttng-modules-versions.yaml.inc
     jobs:
This page took 0.023374 seconds and 4 git commands to generate.