Merge "Purge un-needed references to lithium stream"
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 13 Oct 2016 03:29:04 +0000 (03:29 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 13 Oct 2016 03:29:04 +0000 (03:29 +0000)
jjb/autorelease/include-raw-autorelease-maven-deploy.sh
jjb/openflowplugin/openflowplugin-csit-flow-services-frs.yaml
jjb/openflowplugin/openflowplugin-csit-flow-services-old.yaml
jjb/openflowplugin/openflowplugin-csit-flow-services.yaml
jjb/opflex/deps-inc-v1/include-raw-libuv_tgz-build.sh [moved from jjb/opflex/include-raw-libuv_tgz-build.sh with 100% similarity]
jjb/opflex/deps-inc-v1/include-raw-openvswitch_tgz-build.sh [moved from jjb/opflex/include-raw-openvswitch_tgz-build.sh with 72% similarity]
jjb/opflex/deps-inc-v1/include-raw-rapidjson_tgz-build.sh [moved from jjb/opflex/include-raw-rapidjson_tgz-build.sh with 100% similarity]
jjb/opflex/deps-inc-v2/include-raw-openvswitch_tgz-build.sh [new file with mode: 0644]
jjb/opflex/opflex-custom.yaml
jjb/opflex/opflex-dependencies.yaml

index 90861b94b94d84da91177bd22ec0dc08b778d923..630a2206c67e56fff3fa2725a72abd75a860d6fa 100644 (file)
 cd hide/from/pom/files
 mkdir -p m2repo/org/opendaylight/
 
-(IFS='
-'
-for m in `xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -m '//x:modules' -v '//x:module' ../../../../pom.xml`; do
-    rsync -avz --exclude 'maven-metadata*' \
-               --exclude '_remote.repositories' \
-               --exclude 'resolver-status.properties' \
-               "stage/org/opendaylight/$m" m2repo/org/opendaylight/
-done)
-
-# Add exception for integration project since they release under the
-# integration top-level project.
 rsync -avz --exclude 'maven-metadata*' \
            --exclude '_remote.repositories' \
            --exclude 'resolver-status.properties' \
-           "stage/org/opendaylight/integration" m2repo/org/opendaylight/
+           "stage/org/opendaylight" m2repo/org/
 
 "$MVN" -V -B org.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy-staged-repository \
     -DrepositoryDirectory="`pwd`/m2repo" \
index 9d6e59516b9d7db63160fedb5098e66f01f9d58d..a5cc21f91a2c0c1f1942bb1720a1e7568165fb0f 100644 (file)
             scope: 'only'
 
     # Features to install
-    install-features: 'odl-restconf,odl-openflowplugin-app-config-pusher,odl-openflowplugin-app-topology,odl-openflowplugin-app-forwardingrules-sync'
+    install-features: 'odl-restconf,odl-openflowplugin-app-config-pusher,odl-openflowplugin-app-topology,odl-openflowplugin-app-forwardingrules-sync,odl-openflowplugin-app-table-miss-enforcer'
 
-    # Robot custom options
-    robot-options: ''
+    # Robot custom options.
+    # We need this delay to verify proper functionality. THIS HAS TO BE REMOVED BEFORE FRS GETS RELEASED.
+    robot-options: '-v flow_update_time:30s'
+
+    # mininet image
+    mininet-image: 'ubuntu-trusty-mininet-ovs-25-2c-2g'
 
     # Trigger jobs (upstream dependencies)
     trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream}'
index 19985f2a05d5147f381fb45c0e033902c5c91744..87398148d3ae16955e98c1b419102f367c650b78 100644 (file)
             scope: 'all'
 
     # Features to install
-    install-features: 'odl-openflowplugin-flow-services-ui'
+    install-features: 'odl-openflowplugin-flow-services-ui,odl-openflowplugin-app-table-miss-enforcer'
 
     # Robot custom options
     robot-options: ''
 
+    # mininet image
+    mininet-image: 'ubuntu-trusty-mininet-ovs-25-2c-2g'
+
     # Trigger jobs (upstream dependencies)
     trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream}'
index d6c1ed29bb6367f46fe9fdfc58c2c0dbdfadf80a..08134d3d6f85757a769488e912120c7bed620587 100644 (file)
             scope: 'all'
 
     # Features to install
-    install-features: 'odl-openflowplugin-flow-services-ui'
+    install-features: 'odl-openflowplugin-flow-services-ui,odl-openflowplugin-app-table-miss-enforcer'
 
     # Robot custom options
     robot-options: ''
 
+    # mininet image
+    mininet-image: 'ubuntu-trusty-mininet-ovs-25-2c-2g'
+
     # Trigger jobs (upstream dependencies)
     trigger-jobs: 'yangtools-distribution-{stream},controller-distribution-{stream},openflowjava-distribution-{stream},openflowplugin-distribution-{stream}'
similarity index 72%
rename from jjb/opflex/include-raw-openvswitch_tgz-build.sh
rename to jjb/opflex/deps-inc-v1/include-raw-openvswitch_tgz-build.sh
index ba8d7af5e30ecc0dfac59ce7c9b3e86baffc1233..d939f6eaa809bd8275cc8c2a7610fa9d0ea06370 100644 (file)
@@ -13,6 +13,8 @@ mkdir -p "$DESTDIR"
 ./configure --prefix="$ROOT" --enable-shared
 make -j4
 DESTDIR=`pwd`/$DESTDIR make install
+find lib ofproto -name "*.h" -exec cp --parents -t "$DESTDIR/$ROOT/include/openvswitch/" {} \;
 
 pushd $DESTDIR
 tar -czf openvswitch.tgz *
+popd
diff --git a/jjb/opflex/deps-inc-v2/include-raw-openvswitch_tgz-build.sh b/jjb/opflex/deps-inc-v2/include-raw-openvswitch_tgz-build.sh
new file mode 100644 (file)
index 0000000..182fec2
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/bash
+# Build script for openvswitch
+
+set -e
+set -x
+
+ROOT=/tmp/opflex-prefix
+DESTDIR=install-root
+
+mkdir -p "$DESTDIR"
+
+./boot.sh
+./configure --prefix="$ROOT" --enable-shared
+make -j4
+DESTDIR=`pwd`/$DESTDIR make install
+
+# OVS headers get installed to weird and inconsistent locations.  Try
+# to clean things up
+mkdir -p $DESTDIR/$ROOT/include/openvswitch/openvswitch
+mv $DESTDIR/$ROOT/include/openvswitch/*.h $DESTDIR/$ROOT/include/openvswitch/openvswitch
+mv $DESTDIR/$ROOT/include/openflow $DESTDIR/$ROOT/include/openvswitch
+cp -t "$DESTDIR/$ROOT/include/openvswitch/" include/*.h
+find lib -name "*.h" -exec cp --parents -t "$DESTDIR/$ROOT/include/openvswitch/" {} \;
+
+pushd $DESTDIR
+tar -czf openvswitch.tgz *
+popd
+
index 6e1d912f50e5c73f48702492a391673e302eb753..205558f392db7149c36baa64fe5d5b107ee560e8 100644 (file)
@@ -9,13 +9,13 @@
     stream:
         - carbon:
             branch: 'master'
-            jdk: openjdk7
+            jdk: openjdk8
         - boron:
             branch: 'stable/boron'
-            jdk: openjdk7
+            jdk: openjdk8
         - beryllium:
             branch: 'stable/beryllium'
-            jdk: openjdk7
+            jdk: openjdk8
 
     project: 'opflex'
     archive-artifacts: '**/*.tar.gz'
index 5fb9da7e76ede2aae19237669c5989a1615e1793..6f68a9434528fae392031f7202fc0922d21dc203 100644 (file)
@@ -8,18 +8,42 @@
     stream:
         - carbon:
             branch: 'master'
-            jdk: openjdk7
+            libuv-build: v1
+            libuv-scm: v2
+            rapidjson-build: v1
+            rapidjson-scm: v2
+            openvswitch-build: v2
+            openvswitch-scm: v2
         - boron:
             branch: 'stable/boron'
-            jdk: openjdk7
+            libuv-build: v1
+            libuv-scm: v1
+            rapidjson-build: v1
+            rapidjson-scm: v1
+            openvswitch-build: v1
+            openvswitch-scm: v1
         - beryllium:
             branch: 'stable/beryllium'
-            jdk: openjdk7
+            libuv-build: v1
+            libuv-scm: v1
+            rapidjson-build: v1
+            rapidjson-scm: v1
+            openvswitch-build: v1
+            openvswitch-scm: v1
 
     project: 'opflex'
 
 - scm:
-    name: 'git-opflex-libuv'
+    name: 'git-opflex-libuv-v1'
+    scm:
+        - git:
+            url: https://github.com/libuv/libuv.git
+            branches:
+                - 'refs/tags/v1.7.5'
+            wipe-workspace: true
+
+- scm:
+    name: 'git-opflex-libuv-v2'
     scm:
         - git:
             url: https://github.com/libuv/libuv.git
             wipe-workspace: true
 
 - scm:
-    name: 'git-opflex-rapidjson'
+    name: 'git-opflex-rapidjson-v1'
+    scm:
+        - git:
+            url: https://github.com/miloyip/rapidjson.git
+            branches:
+                - 'refs/tags/v1.0.1'
+            wipe-workspace: true
+
+- scm:
+    name: 'git-opflex-rapidjson-v2'
     scm:
         - git:
             url: https://github.com/miloyip/rapidjson.git
             wipe-workspace: true
 
 - scm:
-    name: 'git-ovs'
+    name: 'git-opflex-ovs-v1'
+    scm:
+        - git:
+            url: https://github.com/noironetworks/ovs.git
+            branches:
+                - 'origin/noiro'
+            wipe-workspace: true
+
+- scm:
+    name: 'git-opflex-ovs-v2'
     scm:
         - git:
             url: https://github.com/openvswitch/ovs.git
                 - 'refs/tags/v2.6.0'
             wipe-workspace: true
 
+- builder:
+    name: 'builder-opflex-libuv-v1'
+    builders:
+        - shell:
+            !include-raw-escape:
+                - deps-inc-v1/include-raw-libuv_tgz-build.sh
+
 - job-template:
     name: 'opflex-libuv_tgz-{stream}'
 
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     scm:
-        - git-opflex-libuv
+        - git-opflex-libuv-{libuv-scm}
 
     wrappers:
         - opendaylight-infra-wrappers:
             build-timeout: '{build-timeout}'
 
     builders:
-        - shell:
-            !include-raw-escape:
-                - include-raw-libuv_tgz-build.sh
+        - builder-opflex-libuv-{libuv-build}
 
     publishers:
         - email-notification:
         - archive:
             artifacts: 'install-root/*.tgz'
 
+- builder:
+    name: 'builder-opflex-rapidjson-v1'
+    builders:
+        - shell:
+            !include-raw-escape:
+                - deps-inc-v1/include-raw-rapidjson_tgz-build.sh
+
 - job-template:
     name: 'opflex-rapidjson_tgz-{stream}'
 
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     scm:
-        - git-opflex-rapidjson
+        - git-opflex-rapidjson-{rapidjson-scm}
 
     wrappers:
         - opendaylight-infra-wrappers:
             build-timeout: '{build-timeout}'
 
     builders:
-        - shell:
-            !include-raw-escape:
-                - include-raw-rapidjson_tgz-build.sh
+        - builder-opflex-rapidjson-{rapidjson-build}
 
     publishers:
         - email-notification:
         - archive:
             artifacts: 'install-root/*.tgz'
 
+- builder:
+    name: 'builder-opflex-openvswitch-v1'
+    builders:
+        - shell:
+            !include-raw:
+                - deps-inc-v1/include-raw-openvswitch_tgz-build.sh
+
+- builder:
+    name: 'builder-opflex-openvswitch-v2'
+    builders:
+        - shell:
+            !include-raw:
+                - deps-inc-v2/include-raw-openvswitch_tgz-build.sh
+
 - job-template:
     name: 'opflex-openvswitch_tgz-{stream}'
 
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     scm:
-        - git-ovs
+        - git-opflex-ovs-{openvswitch-scm}
 
     wrappers:
         - opendaylight-infra-wrappers:
             build-timeout: '{build-timeout}'
 
     builders:
-        - shell:
-            !include-raw-escape:
-                - include-raw-openvswitch_tgz-build.sh
+        - builder-opflex-openvswitch-{openvswitch-build}
 
     publishers:
         - email-notification: