Remove verify-tox / python jobs
[releng/builder.git] / jjb / releng-templates.yaml
index 18ae3c723e36de9743ddf47eba4d51776baf8775..bc61bf839462437b545e59c50cb888c73c8ec960 100644 (file)
           email-prefix: '[releng]'
       - lf-infra-publish
 
-# Generic tox-based verify action
-
-- tox_builder_verify: &tox_builder_verify
-    name: tox_builder_verify
-
-    # Required Variables:
-    #     branch:    git branch (eg. stable/nitrogen or master)
-    #     toxdir:    directory containing the project's tox.ini relative to
-    #                the workspace. Empty works if tox.ini is at project root.
-    # Note that stream value is not needed.
-
-    project-type: freestyle
-    node: '{build-node}'
-    concurrent: true
-
-    properties:
-      - opendaylight-infra-properties:
-          build-days-to-keep: 7
-
-    parameters:
-      - opendaylight-infra-parameters:
-          os-cloud: '{os-cloud}'
-          project: '{project}'
-          branch: '{branch}'
-          refspec: 'refs/heads/{branch}'
-          artifacts: '{archive-artifacts}'
-
-    scm:
-      - git:
-          credentials-id: 'opendaylight-jenkins-ssh'
-          url: '$GIT_BASE'
-          basedir: 'repo'
-          refspec: '$GERRIT_REFSPEC'
-          branches:
-            - 'origin/$GERRIT_BRANCH'
-          skip-tag: true
-          choosing-strategy: 'gerrit'
-          submodule:
-            recursive: true
-
-    wrappers:
-      - opendaylight-infra-wrappers:
-          build-timeout: '{build-timeout}'
-
-    triggers:
-      - gerrit-trigger-patch-submitted:
-          server: '{server-name}'
-          project: '{project}'
-          branch: '{branch}'
-          files: '{toxdir}/**'
-
-    builders:
-      - shell: |
-          virtualenv $WORKSPACE/venv-tox
-          source $WORKSPACE/venv-tox/bin/activate
-          PYTHON="$WORKSPACE/venv-tox/bin/python"
-          $PYTHON -m pip install --upgrade pip
-          $PYTHON -m pip install --upgrade tox argparse
-          $PYTHON -m pip install --upgrade pipdeptree
-          pipdeptree
-          cd $WORKSPACE/repo/{toxdir}
-          tox
-
-    publishers:
-      - email-notification:
-          email-recipients: '{email-recipients}'
-          email-prefix: '[{project}]'
-      - lf-infra-publish
-
-- job-template:
-    name: '{project-name}-verify-tox-{stream}'
-
-    # Job template for verify jobs executing tox envlist
-    #
-    # The purpose of this job template is to run tox for projects using this
-    # template.
-    #
-    # Required Variables:
-    #     stream:    release stream (eg. stable-lithium or beryllium)
-    #     branch:    git branch (eg. stable/lithium or master)
-    #     toxdir:    directory containing the project's tox.ini relative to
-    #                the workspace. Empty works if tox.ini is at project root.
-
-    build-node: centos7-java-builder-2c-4g
-
-    <<: *tox_builder_verify
-
-# Specification for projects outside release cycle, to avoid referring a stream.
-# This is useful mailny for integration-test-jobs, which defines streams for Integration/Distribution,
-# but the tox job is related to Integration/Test only.
-
-- job-template:
-    name: '{project-name}-verify-tox-master'
-
-    # Job template for verify jobs executing tox envlist
-    #
-    # The purpose of this job template is to run tox for projects using this
-    # template.
-    #
-    # Required Variables:
-    #     toxdir:    directory containing the project's tox.ini relative to
-    #                the workspace. Empty works if tox.ini is at project root.
-
-    build-node: centos7-java-builder-2c-4g
-    branch: master
-
-    <<: *tox_builder_verify
-
-# Python (pep8) specific, project should migrate to {project-name}-verify-tox-{stream}
-
-- job-template:
-    name: '{project-name}-verify-python-{stream}'
-
-    # Job template for python verify jobs
-    #
-    # The purpose of this job template is to run tox for projects using this
-    # template.
-    #
-    # Required Variables:
-    #     stream:    release stream (eg. stable-lithium or beryllium)
-    #     branch:    git branch (eg. stable/lithium or master)
-    #     toxdir:    directory containing the project's tox.ini relative to
-    #                the workspace. Empty works if tox.ini is at project root.
-
-    build-node: centos7-java-builder-2c-4g
-
-    <<: *tox_builder_verify
-
 - job-template:
     name: '{project-name}-merge-rtd-{stream}'
     # Template for ReadTheDocs triggering