X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Freleng-templates.yaml;h=18ae3c723e36de9743ddf47eba4d51776baf8775;hb=1fbd0789241b9d3fc894751453a3940153b29402;hp=1583cf9b2de32875b056884881f322addad55cd8;hpb=5043edcf621ddc51a2c134d2a8c880a1e2dfe677;p=releng%2Fbuilder.git diff --git a/jjb/releng-templates.yaml b/jjb/releng-templates.yaml index 1583cf9b2..18ae3c723 100644 --- a/jjb/releng-templates.yaml +++ b/jjb/releng-templates.yaml @@ -42,7 +42,7 @@ - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: 'odl-global-settings' + global-settings-file: 'global-settings' settings-file: 'autorelease-settings' - maven-target: maven-version: 'mvn33' @@ -57,7 +57,7 @@ - '-Xmx1024m -XX:MaxPermSize=256m' settings: 'autorelease-settings' settings-type: cfp - global-settings: 'odl-global-settings' + global-settings: 'global-settings' global-settings-type: cfp - releng-stage-release @@ -65,8 +65,7 @@ - email-notification: email-recipients: '{email-recipients}' email-prefix: '[releng]' - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-infra-publish - job-template: @@ -97,7 +96,7 @@ - releng-fetch-p2zip-if-necessary: maven-version: 'mvn33' settings: '{mvn-settings}' - global-settings: 'odl-global-settings' + global-settings: 'global-settings' - releng-generate-p2pom - maven-target: maven-version: 'mvn33' @@ -105,19 +104,18 @@ goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r' settings: '{mvn-settings}' settings-type: cfp - global-settings: 'odl-global-settings' + global-settings: 'global-settings' global-settings-type: cfp - releng-update-p2composite-metadata: maven-version: 'mvn33' settings: '{mvn-settings}' - global-settings: 'odl-global-settings' + global-settings: 'global-settings' publishers: - email-notification: email-recipients: '{email-recipients}' email-prefix: '[releng]' - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-infra-publish # Generic tox-based verify action @@ -125,7 +123,7 @@ name: tox_builder_verify # Required Variables: - # branch: git branch (eg. stable/boron or master) + # 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. @@ -156,6 +154,8 @@ - 'origin/$GERRIT_BRANCH' skip-tag: true choosing-strategy: 'gerrit' + submodule: + recursive: true wrappers: - opendaylight-infra-wrappers: @@ -172,9 +172,11 @@ - shell: | virtualenv $WORKSPACE/venv-tox source $WORKSPACE/venv-tox/bin/activate - pip install --upgrade pip - pip install --upgrade tox argparse - pip freeze + 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 @@ -182,8 +184,7 @@ - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-infra-publish - job-template: name: '{project-name}-verify-tox-{stream}' @@ -199,6 +200,8 @@ # 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. @@ -217,6 +220,7 @@ # 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 @@ -237,6 +241,8 @@ # 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: @@ -273,8 +279,7 @@ - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-infra-publish # Node related @@ -288,8 +293,8 @@ # virtualenv for nodejs. # # Required Variables: - # stream: release stream (eg. boron or carbon) - # branch: git branch (eg. stable/boron or master) + # stream: release stream (eg. nitrogen or oxygen) + # branch: git branch (eg. stable/nitrogen or master) # nodedir: directory of nodejs project to run node test against # nodever: version of node to install in virtualenv @@ -337,9 +342,11 @@ # Prepare Python virtualenv $WORKSPACE/venv-python source $WORKSPACE/venv-python/bin/activate - pip install --upgrade pip - pip install --upgrade tox argparse nodeenv - pip freeze + PYTHON="$WORKSPACE/venv-python/bin/python" + $PYTHON -m pip install --upgrade pip + $PYTHON -m pip install --upgrade tox argparse nodeenv + $PYTHON -m pip install --upgrade pipdeptree + pipdeptree # Prepare node nodeenv --node={nodever} --prebuilt $WORKSPACE/venv-node @@ -352,5 +359,4 @@ - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project}]' - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-infra-publish