[node-standalone]
ci-node-standalone-amd64-02
ci-node-standalone-amd64-03
-ci-node-alpine-amd64-03
+
+[node-sles]
+ci-node-sles12sp2-amd64-03-01
[node:children]
node-i386
node-powerpc
node-ppc64el
node-standalone
+node-sles
--- /dev/null
+- hosts: node-sles
+ roles:
+ - common
+ - babeltrace
+ - liburcu
+ - lttng-ust
+ - lttng-tools
+ - lttng-modules
- include: setup-Alpine.yml
when: ansible_os_family == 'Alpine'
+
+- include: setup-Suse.yml
+ when: ansible_os_family == 'Suse'
--- /dev/null
+---
+- name: Ensure babeltrace build dependencies are installed.
+ zypper: "name={{ item }} state=installed update_cache=yes"
+ with_items: "{{ babeltrace_packages }}"
--- /dev/null
+---
+__babeltrace_packages:
+ - popt-devel
+ - uuid-devel
+ - python3-devel
+# - python3-sphinx
+ - swig
+ - glib2-devel
+ - glib2-devel-static
+ - libdw-devel
+ - libelf-devel
+ - chrpath
- include: setup-Alpine.yml
when: ansible_os_family == 'Alpine'
+- include: setup-Suse.yml
+ when: ansible_os_family == 'Suse'
+
- name: Remove ubuntu user
user:
name: ubuntu
--- /dev/null
+---
+- name: Define common_patterns.
+ set_fact:
+ common_patterns: "{{ __common_patterns | list }}"
+ when: common_patterns is not defined
+
+- name: Ensure common patterns are installed.
+ zypper: "name={{ item }} type=pattern state=present update_cache=yes"
+ with_items: "{{ common_patterns }}"
+
+- name: Ensure common packages are installed.
+ zypper: "name={{ item }} type=package state=present update_cache=yes"
+ with_items: "{{ common_packages }}"
--- /dev/null
+---
+__common_patterns:
+ - base
+ - Minimal
+ - Basis-Devel
+
+__common_packages:
+ - openssh
+ - sudo
+ - java-1_8_0-openjdk-headless
+ - java-1_8_0-openjdk-devel
+ - git-core
+ - vim
+ - tree
+# - htop
+ - automake
+ - autoconf
+ - libtool
+ - bison
+ - flex
+# - libtap-harness-archive-perl
+# - jq
+# - cppcheck
+# - cloc
+# - python-virtualenv
+ - curl
+ - gettext-runtime
+ - libopenssl-devel
+ - psmisc
--- /dev/null
+---
+__cross_compilers_packages:
+ - gcc-aarch64-linux-gnu
+ - gcc-powerpc64le-linux-gnu
+ - gcc-arm-linux-gnueabihf
+ - gcc-powerpc-linux-gnu
+ - gcc-4.9-aarch64-linux-gnu
+ - gcc-4.9-powerpc64le-linux-gnu
+ - gcc-4.9-arm-linux-gnueabihf
+ - gcc-4.9-powerpc-linux-gnu
- include: setup-Alpine.yml
when: ansible_os_family == 'Alpine'
+
+- include: setup-Suse.yml
+ when: ansible_os_family == 'Suse'
--- /dev/null
+---
+- name: Ensure liburcu build dependencies are installed.
+ zypper: "name={{ item }} state=installed update_cache=yes"
+ with_items: "{{ liburcu_packages }}"
--- /dev/null
+---
+__liburcu_packages: []
--- /dev/null
+---
+__lttng_analyses_packages:
+ - virtualenv
+ - python3-pyparsing
+ - python3-progressbar
- include: setup-Alpine.yml
when: ansible_os_family == 'Alpine'
+- include: setup-Suse.yml
+ when: ansible_os_family == 'Suse'
+
- name: checkout repo
git: repo=git://git-mirror.internal.efficios.com/git/linux-all.git
dest=/home/jenkins/gitcache/linux-stable.git
--- /dev/null
+---
+- name: Ensure lttng-modules build dependencies are installed.
+ zypper: "name={{ item }} state=installed update_cache=yes"
+ with_items: "{{ lttng_modules_packages }}"
--- /dev/null
+---
+__lttng_modules_packages:
+# - kernel-wedge
+ - libelf-devel
+ - bc
+# - gcc-4.9
--- /dev/null
+---
+__lttng_scope_packages:
+ - openjdk-8-jdk
+ - openjfx
+ - metacity
+ - xfonts-100dpi
+ - xfonts-75dpi
+ - xfonts-scalable
+ - xfonts-cyrillic
+ - xvfb
+ - x11-apps
+ - imagemagick
lttng_tools_packages_no_recommends: "{{ __lttng_tools_packages_no_recommends | list }}"
when:
- lttng_tools_packages_no_recommends is not defined
- - ansible_os_family == 'Debian'
+ - ansible_os_family == 'Debian' or ansible_os_family == 'Suse'
# Setup/install tasks.
- include: setup-RedHat.yml
- include: setup-Alpine.yml
when: ansible_os_family == 'Alpine'
+
+- include: setup-Suse.yml
+ when: ansible_os_family == 'Suse'
--- /dev/null
+---
+- name: Ensure lttng-tools build dependencies are installed.
+ zypper: "name={{ item }} state=installed update_cache=yes"
+ with_items: "{{ lttng_tools_packages }}"
+
+- name: Ensure lttng-tools build dependencies are installed (no recommends).
+ zypper: "name={{ item }} state=installed disable_recommends=yes"
+ with_items: "{{ lttng_tools_packages_no_recommends }}"
--- /dev/null
+---
+__lttng_tools_packages:
+ - popt-devel
+ - libxml2-devel
+ - bash-completion
+
+__lttng_tools_packages_no_recommends:
+ - asciidoc
+ - xmlto
- include: setup-Alpine.yml
when: ansible_os_family == 'Alpine'
+
+- include: setup-Suse.yml
+ when: ansible_os_family == 'Suse'
--- /dev/null
+---
+- name: Ensure lttng-ust build dependencies are installed.
+ zypper: "name={{ item }} state=installed update_cache=yes"
+ with_items: "{{ lttng_ust_packages }}"
--- /dev/null
+---
+__lttng_ust_packages:
+ - uuid-devel
+ - texinfo
+ - python3
+ - log4j
+ - java-1_8_0-openjdk-headless
+ - java-1_8_0-openjdk-devel
--- /dev/null
+ci-node-sles12sp2-amd64-03-01
- include: node-i386.yml
- include: node-amd64.yml
- include: node-standalone.yml
+- include: node-sles.yml