X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Fpackaging.yaml;h=592e0c8f01e57ca7b210b9c030b5cb8c52da500e;hb=82ba453f4da4847b27ffa55ad92f9dbc5f476cd5;hp=0372f48ca8fcebc97b34f96a37d03be51347947f;hpb=b3842da4dc09b2b0dd06bff9f9b843f3d62bab52;p=releng%2Fbuilder.git diff --git a/jjb/packaging/packaging.yaml b/jjb/packaging/packaging.yaml index 0372f48ca..592e0c8f0 100644 --- a/jjb/packaging/packaging.yaml +++ b/jjb/packaging/packaging.yaml @@ -25,6 +25,7 @@ project: 'integration/packaging' stream: + - neon - fluorine - oxygen distro: @@ -40,7 +41,7 @@ - job-template: name: 'packaging-build-rpm-{stream}' - node: centos7-builder-2c-8g + node: centos7-builder-2c-2g project-type: freestyle @@ -67,7 +68,7 @@ - string: name: DOWNLOAD_URL # yamllint disable-line rule:line-length - default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz' + default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.8.2/karaf-0.8.2.tar.gz' description: 'URL to ODL tarball artifact to repackage into RPM' - string: name: CHANGELOG_NAME @@ -77,6 +78,10 @@ name: CHANGELOG_EMAIL default: 'jenkins-donotreply@opendaylight.org' description: 'Email of person who defined RPM' + - string: + name: DEPLOY_TO_REPO + default: 'opendaylight-{stream}-epel-7-x86_64-devel' + description: 'Repository to deploy resulting package to' scm: - integration-gerrit-scm: @@ -95,7 +100,7 @@ global-settings-file: 'global-settings' settings-file: 'packaging-settings' mvn-version: '{mvn-version}' - repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel' + repo-id: '$DEPLOY_TO_REPO' group-id: '{group-id}' upload-files-dir: '{upload-files-dir}' maven-repo-url: '{maven-repo-url}' @@ -107,7 +112,7 @@ - job-template: name: 'packaging-build-rpm-{distro}-snap-{stream}' - node: centos7-docker-2c-8g + node: centos7-docker-2c-2g project-type: freestyle @@ -176,7 +181,7 @@ - job-template: name: 'packaging-verify-rpm-master' - node: centos7-builder-2c-8g + node: centos7-builder-2c-2g project-type: freestyle @@ -199,10 +204,23 @@ build-timeout: '{build-timeout}' builders: - # Test Oxygen SR1 release tarball + # Test Oxygen SR3 release tarball + - inject: + # yamllint disable-line rule:line-length + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.8.3/karaf-0.8.3.tar.gz' + - shell: !include-raw-escape: build-rpm.sh + - install-test-uninstall-rpm + + # Test latest Oxygen snapshot + - inject: + properties-content: 'STREAM=oxygen' + - shell: !include-raw: build-rpm-snap.sh + - install-test-uninstall-rpm + + # Test Fluorine ('Managed Release Common Distro') release tarball - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.8.1/karaf-0.8.1.tar.gz' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/integration/opendaylight/0.9.0/opendaylight-0.9.0.tar.gz' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -210,7 +228,7 @@ # NB: This will need to be updated as old builds expire - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2191/org/opendaylight/integration/karaf/0.9.0/karaf-0.9.0.tar.gz' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2394/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -218,7 +236,7 @@ # NB: This will need to be updated as old builds expire - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.0-SNAPSHOT/karaf-0.9.0-20180531.192226-59.zip' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.1-SNAPSHOT/karaf-0.9.1-20181001.192848-2.zip' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -228,21 +246,35 @@ - shell: !include-raw: build-rpm-snap.sh - install-test-uninstall-rpm + # Test Neon pre-release autorelease tarball + # NB: This will need to be updated as old builds expire + - inject: + # yamllint disable-line rule:line-length + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2393/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz' + - shell: !include-raw-escape: build-rpm.sh + - install-test-uninstall-rpm + + # Test Neon multipatch zip (no parallel tarball available) + # NB: This will need to be updated as old builds expire + - inject: + # yamllint disable-line rule:line-length + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.10.0-SNAPSHOT/karaf-0.10.0-20180925.093600-5.zip' + - shell: !include-raw-escape: build-rpm.sh + - install-test-uninstall-rpm + + # Test latest Neon snapshot + - inject: + properties-content: 'STREAM=neon' + - shell: !include-raw: build-rpm-snap.sh + - install-test-uninstall-rpm + triggers: - - gerrit: - server-name: '{gerrit-server-name}' - trigger-on: - - comment-added-contains-event: - comment-contains-value: 'rpm-verify' - projects: - - project-compare-type: ANT - project-pattern: '{project}' - branches: - - branch-compare-type: ANT - branch-pattern: '**/{branch}' - file-paths: - - compare-type: ANT - pattern: 'packages/**' + - gerrit-trigger-patch-submitted: + gerrit-server-name: '{gerrit-server-name}' + project: '{project}' + branch: '{branch}' + files: 'packages/**' + forbidden-files: '' publishers: - lf-infra-publish @@ -251,7 +283,7 @@ - job-template: name: 'packaging-verify-full-rpm-master' - node: centos7-builder-2c-8g + node: centos7-builder-2c-2g project-type: freestyle @@ -274,10 +306,10 @@ build-timeout: '{build-timeout}' builders: - # Test Oxygen SR1 release tarball + # Test Oxygen SR3 release tarball - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.8.1/karaf-0.8.1.tar.gz' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.8.3/karaf-0.8.3.tar.gz' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -285,15 +317,7 @@ # NB: This will need to be updated as old builds expire - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2192/org/opendaylight/integration/karaf/0.8.2/karaf-0.8.2.tar.gz' - - shell: !include-raw-escape: build-rpm.sh - - install-test-uninstall-rpm - - # Test Oxygen multipatch zip (no parallel tarball available) - # NB: This will need to be updated as old builds expire - - inject: - # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.2-SNAPSHOT/karaf-0.8.2-20180524.145206-1.zip' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2395/org/opendaylight/integration/karaf/0.8.4/karaf-0.8.4.tar.gz' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -303,11 +327,18 @@ - shell: !include-raw: build-rpm-snap.sh - install-test-uninstall-rpm + # Test Fluorine ('Managed Release Common Distro') release tarball + - inject: + # yamllint disable-line rule:line-length + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/integration/opendaylight/0.9.0/opendaylight-0.9.0.tar.gz' + - shell: !include-raw-escape: build-rpm.sh + - install-test-uninstall-rpm + # Test Fluorine pre-release autorelease tarball # NB: This will need to be updated as old builds expire - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2191/org/opendaylight/integration/karaf/0.9.0/karaf-0.9.0.tar.gz' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2394/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -315,7 +346,7 @@ # NB: This will need to be updated as old builds expire - inject: # yamllint disable-line rule:line-length - properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.0-SNAPSHOT/karaf-0.9.0-20180531.192226-59.zip' + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.1-SNAPSHOT/karaf-0.9.1-20181001.192848-2.zip' - shell: !include-raw-escape: build-rpm.sh - install-test-uninstall-rpm @@ -325,6 +356,28 @@ - shell: !include-raw: build-rpm-snap.sh - install-test-uninstall-rpm + # Test Neon pre-release autorelease tarball + # NB: This will need to be updated as old builds expire + - inject: + # yamllint disable-line rule:line-length + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2393/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz' + - shell: !include-raw-escape: build-rpm.sh + - install-test-uninstall-rpm + + # Test Neon multipatch zip (no parallel tarball available) + # NB: This will need to be updated as old builds expire + - inject: + # yamllint disable-line rule:line-length + properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.10.0-SNAPSHOT/karaf-0.10.0-20180925.093600-5.zip' + - shell: !include-raw-escape: build-rpm.sh + - install-test-uninstall-rpm + + # Test latest Neon snapshot + - inject: + properties-content: 'STREAM=neon' + - shell: !include-raw: build-rpm-snap.sh + - install-test-uninstall-rpm + triggers: - timed: '@daily' - gerrit: @@ -346,7 +399,7 @@ - job-template: name: 'packaging-test-rpm-master' - node: centos7-builder-2c-8g + node: centos7-builder-2c-2g parameters: - opendaylight-infra-parameters: @@ -358,7 +411,7 @@ - string: name: URL # yamllint disable-line rule:line-length - default: 'https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-8-devel.repo' + default: 'https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=packages/rpm/example_repo_configs/opendaylight-9-devel.repo' description: 'Link to .repo or .rpm file' scm: @@ -400,7 +453,7 @@ - job-template: name: 'packaging-test-rpm-upgrade-master' - node: centos7-builder-2c-8g + node: centos7-builder-2c-2g parameters: - opendaylight-infra-parameters: @@ -412,12 +465,12 @@ - string: name: URL # yamllint disable-line rule:line-length - default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-7-release.repo' + default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-8-release.repo' description: 'Link to .repo or .rpm file' - string: name: UPGRADE_URL # yamllint disable-line rule:line-length - default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-7-devel.repo' + default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-8-devel.repo' description: 'Link to .repo or .rpm file' scm: @@ -561,3 +614,9 @@ publishers: - lf-infra-publish + +- view: + name: packaging + description: 'List of packaging, ansible and puppet jobs' + regex: '^packaging.*|ansible.*|puppet.*' + <<: *releng_view_common