jjb: Remove lttng-analyses jobs
authorKienan Stewart <kstewart@efficios.com>
Fri, 19 Jan 2024 15:59:07 +0000 (10:59 -0500)
committerKienan Stewart <kstewart@efficios.com>
Fri, 19 Jan 2024 15:59:07 +0000 (10:59 -0500)
lttng-analyses has been archived and isn't currently maintained

Change-Id: I5d9dc404cfd4557dcab233e814910ee05a1e400d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
jobs/lttng-analyses.yaml [deleted file]
scripts/lttng-analyses/build.sh [deleted file]
scripts/lttng-analyses/pylint.sh [deleted file]

diff --git a/jobs/lttng-analyses.yaml b/jobs/lttng-analyses.yaml
deleted file mode 100644 (file)
index cfeaaab..0000000
+++ /dev/null
@@ -1,146 +0,0 @@
-- defaults:
-    name: lttng-analyses
-    description: |
-      LTTng analyses python scripts.
-
-      <p>Job is managed by Jenkins Job Builder.</p>
-
-    project-type: freestyle
-
-    wrappers:
-      - ansicolor:
-          colormap: xterm
-      - timeout:
-          timeout: 10
-          fail: true
-          type: no-activity
-      - timestamps
-      - workspace-cleanup
-      - credentials-binding:
-          - username-password-separated:
-              credential-id: lttng-analyses_codecov_token
-              username: CODECOV_PROJECT_NAME
-              password: CODECOV_TOKEN
-
-    scm:
-      - git:
-          url: https://github.com/{github_user}/{github_name}.git
-          browser: githubweb
-          browser-url: https://github.com/{github_user}/{github_name}
-          branches:
-            - origin/{version}
-          basedir: src/lttng-analyses
-          skip-tag: true
-
-    triggers:
-      - pollscm:
-          cron: "@hourly"
-
-    properties:
-      - build-discarder:
-          num-to-keep: 10
-          artifact-num-to-keep: 2
-      - github:
-          url: https://github.com/{github_user}/{github_name}
-
-
-## Templates
-- job-template:
-    name: lttng-analyses_{version}_linuxbuild
-    defaults: lttng-analyses
-
-    project-type: matrix
-    node: 'master' # Applies only to matrix flyweight task
-    axes:
-      - axis:
-         type: slave
-         name: platform
-         values: '{obj:platforms}'
-      - axis:
-         type: user-defined
-         name: babeltrace_version
-         values: '{obj:babeltrace_versions}'
-
-    builders:
-      - copyartifact:
-          project: dev_upstream_babeltrace_${{babeltrace_version}}_linuxbuild/platform=${{platform}},build=std,conf=python-bindings
-          which-build: last-successful
-          stable: false
-          filter: 'build/**'
-          target: 'deps/babeltrace'
-      - shell:
-         !include-raw-escape: scripts/lttng-analyses/build.sh
-
-    publishers:
-      - workspace-cleanup: &lttng-analyses_publisher_workspace-cleanup_defaults
-          clean-if:
-            - failure: false
-      - ircbot: &lttng-analyses_publisher_ircbot_defaults
-          strategy: statechange-only
-          message-type: summary
-          matrix-notifier: only-parent
-      - email-ext: &lttng-analyses_publisher_email_ext_defaults
-          recipients: '{obj:email_to}'
-          reply-to: ci-notification@lists.lttng.org
-          always: false
-          unstable: false
-          first-failure: true
-          first-unstable: true
-          not-built: false
-          aborted: false
-          regression: false
-          failure: false
-          second-failure: false
-          improvement: false
-          still-failing: false
-          success: false
-          fixed: false
-          fixed-unhealthy: true
-          still-unstable: false
-          pre-build: false
-          matrix-trigger: only-parent
-          send-to:
-            - recipients
-
-- job-template:
-    name: lttng-analyses_{version}_pylint
-    defaults: lttng-analyses
-    node: 'deb12-amd64'
-
-    triggers:
-      - pollscm:
-          cron: "@daily"
-
-    builders:
-       - copyartifact:
-           project: dev_upstream_babeltrace_{babeltrace_version}_linuxbuild/platform=deb12-amd64,build=std,conf=python-bindings
-           which-build: last-successful
-           stable: false
-           filter: 'build/**'
-           target: 'deps/babeltrace'
-       - shell:
-          !include-raw-escape: scripts/lttng-analyses/pylint.sh
-
-    publishers:
-      - archive:
-          artifacts: 'pylint.out'
-      - workspace-cleanup: *lttng-analyses_publisher_workspace-cleanup_defaults
-      - ircbot: *lttng-analyses_publisher_ircbot_defaults
-      - email-ext: *lttng-analyses_publisher_email_ext_defaults
-
-
-## Project
-- project:
-    name: lttng-analyses
-    github_user: lttng
-    github_name: lttng-analyses
-    email_to: 'ci-notification@lists.lttng.org'
-    version:
-      - master
-    jobs:
-      - 'lttng-analyses_{version}_linuxbuild':
-          platforms: !!python/tuple [deb12-amd64]
-          babeltrace_versions: !!python/tuple [stable-1.5]
-      - 'lttng-analyses_{version}_pylint':
-          babeltrace_version: stable-1.5
-
diff --git a/scripts/lttng-analyses/build.sh b/scripts/lttng-analyses/build.sh
deleted file mode 100755 (executable)
index 8f06e69..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2015 - Michael Jeanson <mjeanson@efficios.com>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-set -exu
-
-# Has to be set in the environment
-#CODECOV_TOKEN=""
-
-SRCDIR="src/lttng-analyses"
-
-PYTHON3="python3"
-P3_VERSION=$($PYTHON3 -c 'import sys;v = sys.version.split()[0].split("."); print("{}.{}".format(v[0], v[1]))')
-
-BABELTRACE_DIR=$WORKSPACE/deps/babeltrace/build
-
-export LD_LIBRARY_PATH="$BABELTRACE_DIR/lib"
-export PYTHONPATH="$BABELTRACE_DIR/lib/python${P3_VERSION}/site-packages/"
-export PATH="$PATH:$BABELTRACE_DIR/bin"
-
-PYENV_HOME=$WORKSPACE/.pyenv/
-
-# Delete previously built virtualenv
-if [ -d "$PYENV_HOME" ]; then
-    rm -rf "$PYENV_HOME"
-fi
-
-# Create virtualenv and install necessary packages
-virtualenv --system-site-packages -p $PYTHON3 "$PYENV_HOME"
-
-set +ux
-. "$PYENV_HOME/bin/activate"
-set -ux
-
-pip install --quiet codecov
-pip install --quiet tox
-
-cd "$SRCDIR"
-
-# Hack for path too long in venv wrapper shebang
-TOXWORKDIR=$(mktemp -d)
-export TOXWORKDIR
-
-# Run base test suites and long regression test suite
-for suite in py3 noutf8 pep8 longregression; do
-       export TOXENV="$suite"
-       tox
-       codecov -e TOXENV
-done
-
-unset TOXENV
-rm -rf "$TOXWORKDIR"
-
-# EOF
diff --git a/scripts/lttng-analyses/pylint.sh b/scripts/lttng-analyses/pylint.sh
deleted file mode 100755 (executable)
index a4b38b0..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2020 Michael Jeanson <mjeanson@efficios.com>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-set -exu
-
-SRCDIR="src/lttng-analyses"
-
-PYTHON3="python3"
-P3_VERSION=$($PYTHON3 -c 'import sys;v = sys.version.split()[0].split("."); print("{}.{}".format(v[0], v[1]))')
-
-BABELTRACE_DIR=$WORKSPACE/deps/babeltrace/build
-
-export LD_LIBRARY_PATH="$BABELTRACE_DIR/lib"
-export PYTHONPATH="$BABELTRACE_DIR/lib/python${P3_VERSION}/site-packages/"
-
-PYENV_HOME=$WORKSPACE/.pyenv/
-
-# Delete previously built virtualenv
-if [ -d "$PYENV_HOME" ]; then
-    rm -rf "$PYENV_HOME"
-fi
-
-# Create virtualenv and install necessary packages
-virtualenv --system-site-packages -p $PYTHON3 "$PYENV_HOME"
-
-set +ux
-# shellcheck disable=SC1090
-. "$PYENV_HOME/bin/activate"
-set -ux
-
-pip install --quiet pylint
-
-
-cd "$SRCDIR"
-
-pylint -f parseable --ignore="_version.py" --disable=C0111 lttnganalyses | tee "$WORKSPACE/pylint.out"
This page took 0.028408 seconds and 4 git commands to generate.