Merge "Create autorelease GT for site patches"
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Tue, 22 Sep 2015 14:34:27 +0000 (14:34 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 22 Sep 2015 14:34:27 +0000 (14:34 +0000)
82 files changed:
.gitignore
jenkins-scripts/controller.sh
jenkins-scripts/disable_firewall.sh [new file with mode: 0755]
jenkins-scripts/mininet-fedora.sh
jenkins-scripts/mininet.sh
jenkins-scripts/robot.sh
jjb-templates/distribution.yaml
jjb/aaa/aaa.yaml
jjb/alto/alto.yaml
jjb/armoury/armoury.yaml
jjb/bgpcep/bgpcep.yaml
jjb/capwap/capwap.yaml
jjb/centinel/centinel.yaml
jjb/controller/controller.yaml
jjb/coretutorials/coretutorials.yaml
jjb/defense4all/defense4all.yaml
jjb/didm/didm.yaml
jjb/discovery/discovery.yaml
jjb/dlux/dlux.yaml
jjb/docs/docs.yaml
jjb/groupbasedpolicy/groupbasedpolicy.yaml
jjb/integration/integration-macros.yaml
jjb/integration/integration-templates.yaml
jjb/integration/integration-test-jobs.yaml
jjb/iotdm/iotdm.yaml
jjb/l2switch/l2switch.yaml
jjb/lacp/lacp.yaml
jjb/lispflowmapping/lispflowmapping-csit-msmr.yaml [moved from jjb/lispflowmapping/lispflowmapping-csit-all.yaml with 90% similarity]
jjb/lispflowmapping/lispflowmapping.yaml
jjb/mdsal/mdsal.cfg
jjb/mdsal/mdsal.yaml
jjb/messaging4transport/messaging4transport.yaml
jjb/nemo/nemo.yaml
jjb/netconf/netconf.cfg
jjb/netconf/netconf.yaml
jjb/netide/netide.yaml
jjb/neutron/neutron.yaml
jjb/next/next.yaml
jjb/nic/nic.yaml
jjb/odlparent/odlparent.cfg
jjb/odlparent/odlparent.yaml
jjb/of-config/of-config.yaml
jjb/ofextensions/circuitsw/circuitsw.yaml
jjb/openflowjava/openflowjava.yaml
jjb/openflowplugin/openflowplugin.yaml
jjb/ovsdb/ovsdb.cfg
jjb/ovsdb/ovsdb.yaml
jjb/packetcable/packetcable.yaml
jjb/persistence/persistence.yaml
jjb/releng-defaults.yaml
jjb/releng-macros.yaml
jjb/reservation/reservation.yaml
jjb/sdninterfaceapp/sdninterfaceapp.yaml
jjb/sfc/sfc.yaml
jjb/snbi/snbi.yaml
jjb/snmp/snmp.yaml
jjb/snmp4sdn/snmp4sdn.yaml
jjb/sxp/sxp.yaml
jjb/tcpmd5/tcpmd5.yaml
jjb/toolkit/toolkit.yaml
jjb/topoprocessing/topoprocessing.yaml
jjb/tsdr/tsdr.yaml
jjb/ttp/ttp.yaml
jjb/unimgr/unimgr.yaml
jjb/usc/usc.yaml
jjb/usecplugin/usecplugin.yaml
jjb/vpnservice/vpnservice.yaml
jjb/vtn/vtn.yaml
jjb/yangtools/yangtools.yaml
vagrant/basic-builder/Vagrantfile
vagrant/basic-builder/system_reseal.sh [deleted file]
vagrant/basic-java-node/Vagrantfile
vagrant/basic-java-node/system_reseal.sh [deleted file]
vagrant/basic-mininet-node/Vagrantfile
vagrant/basic-mininet-node/system_reseal.sh [deleted file]
vagrant/integration-robotframework/Vagrantfile
vagrant/integration-robotframework/system_reseal.sh [deleted file]
vagrant/lib/lf-networking/README.md [moved from vagrant/lf-networking/README.md with 100% similarity]
vagrant/lib/lf-networking/Vagrantfile [moved from vagrant/lf-networking/Vagrantfile with 100% similarity]
vagrant/lib/lf-networking/confignetwork.pp [moved from vagrant/lf-networking/confignetwork.pp with 100% similarity]
vagrant/lib/lf-networking/configure_lf_infra.sh [moved from vagrant/lf-networking/configure_lf_infra.sh with 96% similarity]
vagrant/lib/system_reseal.sh [moved from vagrant/lf-networking/system_reseal.sh with 98% similarity]

index a4ce88164d1372ac78c66b2ce69a84f90c7084b9..2cf4dca4e23170044477b83070b53c5589231fca 100644 (file)
@@ -9,4 +9,6 @@ jjb/*/releng-*.yaml
 # Maven
 target/
 
+# Vagrant
+.vagrant
 
index 5952c3244292ccd7946fa35987e04ca23f4b31cc..893a04118a9bd9c55ae2a4a6af833fa089e0e0b4 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # disable the firewall
-service iptables stop
+/bin/bash ./disable_firewall.sh
 
 # install sshpass
 yum install -y sshpass
diff --git a/jenkins-scripts/disable_firewall.sh b/jenkins-scripts/disable_firewall.sh
new file mode 100755 (executable)
index 0000000..032c63d
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+OS=`facter operatingsystem`
+
+case "$OS" in
+    Fedora)
+        systemctl stop firewalld
+    ;;
+    CentOS|RedHat)
+        if [ `facter operatingsystemrelease | cut -d '.' -f1` -lt "7" ]; then
+            service iptables stop
+        else
+            systemctl stop firewalld
+        fi
+    ;;
+    *)
+        # nothing to do
+    ;;
+esac
+
+# vim: ts=4 ts=4 sts=4 et :
index c06bb2d5cb62a8cd55f7aeb2bd896d443abebb56..c9d31488c9fbe983317031e45959e73492615daf 100755 (executable)
@@ -13,9 +13,6 @@ semanage port -a -t openvswitch_port_t -p tcp 6640
 semanage permissive -a openvswitch_t
 
 # make sure the firewall is stopped
-service iptables stop
-
-# stop firewall
-systemctl stop firewalld
+/bin/bash disable_firewall.sh
 
 # vim: sw=2 ts=2 sts=2 et :
index 3fbcd03f2d78e1e9e036a9799d2eb7b0e3f4c29a..96eec7cd9907e87cb064c2cc8ac6fc2ada906b65 100755 (executable)
@@ -56,6 +56,6 @@ echo 'jenkins' | passwd -f --stdin jenkins
 echo 'root' | passwd -f --stdin root
 
 # make sure the firewall is stopped
-service iptables stop
+/bin/bash disable_firewall.sh
 
 # vim: sw=2 ts=2 sts=2 et :
index 88dc83a69a2417be99fd35d0e1362aee171d9b15..26feb1d322df63602321ad041efc91963cc02989 100755 (executable)
@@ -35,7 +35,7 @@ python setup.py install > /dev/null 2>&1
 ## Install netcat & docker-py
 yum install -y -q nc python-docker-py
 
-# disable firewall rules
+# make sure the firewall is stopped
 service iptables stop
 
 # vim: sw=2 ts=2 sts=2 et :
index b4010f5081b16c9b860e97b259145f5c70b8074f..0d58aaf1e9ac88cd47c0c284955e76130f644a38 100644 (file)
@@ -17,7 +17,7 @@
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 0fd2f00de5f3833288c9f0d4eec2006605e607c3..31881d47ab62f39bd49ced6ce884549fce6c4949 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 335b8bdde6a8bd5a82a3c7ea782b910706720933..a9b907d2908f29471cc802f0bae9f219beae2ff1 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 07c4eb01d459c4fb1c62678b0c7ba07237a04687..9b2d23e9930a15022a78418f024ecbd3468fa913 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 4e7c0ed6ce7c4477434920d75fab382180a188f8..280cf2937641722489e7becdaac678b99aaa6d29 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 3db2390d339937e5f19f465ffc777b8119636bc2..e05232f077fc5046419459c71ec03e86aac02e8a 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 17c8795690f6aab03278bea9f9498ddb984a9257..2d1a4ff37c170a8aa5b875d20ebe4c4a78e2aac6 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index fb1059a727bcdf45c4def06192ee9cfc0f0d4748..f56cde1a90f603ff9ca48bb732eed9e2c37232f2 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 8abdb97084dcdfa5df259e12ce263bbe618eb098..af1387513c0e372d60a5639a78c722bcc71d3894 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index a6bd3183f2944e7f45ecf145ed01c57d15475225..c3127452ec2225ca9b9aaeca11625d845c25e378 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index b130b6968b1ca01f0883854c960ec9c49153eb72..2535ec7ab402fd2806240e4a9b97c5a646ff1836 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index c947497e0c6651210f93bfeca250a28d3d22c2d4..a7b08ffbcd561f7d16c3c0ba0d31cb1b7b4b961d 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 827cdf2792bcaa62fd441cad9a45c1d6cc260ec5..4eaa62c3b36d910be75e85f8ffa1f1da25ee95b6 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 6f6f848d4b5a902cf3e8608abf365d8ea10fbac5..847589e7eadcdd2700fb20a31712ce3351bd4e04 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 6f64194a650d79e630d34c0c65775aacf65ef5aa..b557244cab74e9c72be12dfcd7950c5f6d86de36 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 77db9db0b434aa25cd6fef3f17b2db31abf36e4a..4fa342c7016d924d0cd41788812dea77c9c3c6dc 100644 (file)
                 count: '{controller-vms}'
                 stop-on-terminate: False
             - '{mininet-image}':
-                cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
+                cloud-name: '{mininet-cloud-name}'
                 count: '{mininet-vms}'
                 stop-on-terminate: False
 
index 77eecbbe726a35179d432e8664540a57fe02c8a0..99fdc2dca4840a53bc063a46f38b89d96e96bd20 100644 (file)
@@ -68,6 +68,7 @@
             controller-vms: 1
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
             controller-vms: 1
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
             controller-vms: 1
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
             controller-vms: 1
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
             controller-vms: 1
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
             controller-vms: 3
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
             controller-vms: 3
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
             controller-vms: 3
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
index 8d85b2a66e4ba299238d791cd546dec6691c1a2b..ccf7acc60e6520672493e5f4032288523941fe60 100644 (file)
             controller-vms: 1
             mininet-image: '{mininet-image}'
             mininet-vms: '{mininet-vms}'
+            mininet-cloud-name: '{mininet-cloud-name}'
         - ssh-agent-credentials:
             users:
                 - '{ssh-credentials}'
         artifactNumToKeep: '{build-artifact-num-to-keep}'
 
     parameters:
+        - gerrit-project-parameter:
+            project: '$GERRIT_PROJECT'
+        - gerrit-refspec-parameter:
+            refspec: '$GERRIT_REFSPEC'
         - project-parameter:
             project: '$GERRIT_PROJECT'
         - integration-distribution-git-url
         - inject:
             properties-file: 'bundle.txt'
         - wipe-org-opendaylight-repo
+        - provide-maven-settings:
+            global-settings-file: '{odl-global-settings}'
+            settings-file: '{yangtools-settings}'
         - maven-target:
             maven-version: '{mvn33}'
             pom: '$GERRIT_PROJECT/pom.xml'
index d3ef9cd66b69b4af504d4a4d65d4e32677f22dba..5c09ecdbd0531910a86eb4379d43f0e138b59d21 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index d0e9994a2de3b755ab9163159bf57a5b6d58b4f1..e26d23dee6b67dd340092343ab77897702b21630 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 1abceffd956525ee5ca548c651ff9c58837e62a9..caf57691d31f784b213baabe033b87b43f45ef46 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
similarity index 90%
rename from jjb/lispflowmapping/lispflowmapping-csit-all.yaml
rename to jjb/lispflowmapping/lispflowmapping-csit-msmr.yaml
index 545808a3617e88e2b47a8541b5fead5c27eb20d7..0e8a2336663121a9de26e43d5142baa13e8b2249 100644 (file)
@@ -22,7 +22,7 @@
             scope: 'all'
 
     # Features to install
-    install-features: 'odl-lispflowmapping-all,odl-restconf,odl-mdsal-apidocs'
+    install-features: 'odl-lispflowmapping-msmr'
 
     # Robot custom options
     robot-options: ''
index 635b540de29e56d505cafa89252c0c8d96689300..febc1b34614cd17d3916ddc6a323ceae8a506cff 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 26f782677c9426a9015bf8f47586bbde7aa5e06c..dc95a8bf5700d397c03c2b06494501124c8f1d8d 100644 (file)
@@ -2,6 +2,6 @@ STREAMS:
 - beryllium:
     branch: master
     jdks: openjdk7,openjdk8
-MVN_GOALS: clean install -Dintegrationtests
-MVN_OPTS: -Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true
+MVN_GOALS: -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests
+MVN_OPTS: -Xmx2048m -XX:MaxPermSize=1024m
 DEPENDENCIES: odlparent,yangtools
index 7f35e09751741af5c5115bb626a3533dccb3cb77..ea34e193dfc4f1e16838635fcad0a1a2281d0fbb 100644 (file)
@@ -96,9 +96,9 @@
         - maven-target:
             maven-version: '{mvn33}'
             pom: 'pom.xml'
-            goals: 'clean install -Dintegrationtests -Dstream={stream}'
+            goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -Dstream={stream}'
             java-opts:
-                - '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+                - '-Xmx2048m -XX:MaxPermSize=1024m'
             settings: '{mdsal-settings}'
             global-settings: '{odl-global-settings}'
 
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -Dintegrationtests -Dmerge -Dstream={stream}'
-        maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+        goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -Dmerge -Dstream={stream}'
+        maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m'
         settings: '{mdsal-settings}'
         global-settings: '{odl-global-settings}'
         post-step-run-condition: UNSTABLE
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -Dintegrationtests'
-        maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+        goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests'
+        maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m'
         settings: '{mdsal-settings}'
         global-settings: '{odl-global-settings}'
 
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -Dintegrationtests'
-        maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+        goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests'
+        maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m'
         settings: '{mdsal-settings}'
         global-settings: '{odl-global-settings}'
 
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -Dintegrationtests -Dsonar'
-        maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
+        goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmaven.compile.fork=true clean install -Dintegrationtests -Dsonar'
+        maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m'
         settings: '{mdsal-settings}'
         global-settings: '{odl-global-settings}'
 
index 4bdb41780202b075a30b05faba158918ea23d01a..e538f2076f0153537d186c6b25b071cf2e47e415 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 0ba2bbba6810ad4399cfd3acb540b120a9f471b7..a8825ace8b137fda1ac2a6504322aa41df31817b 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index c59c510fdaf1bca074ff994a7fb36c06d7d6948c..b7815c7fc5d01c46c165cb33957e1070e7f6999e 100644 (file)
@@ -2,6 +2,6 @@ STREAMS:
 - beryllium:
     branch: master
     jdks: openjdk7,openjdk8
-MVN_GOALS: clean install -Pintegrationtests
+MVN_GOALS: -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests
 MVN_OPTS: -Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true
 DEPENDENCIES: aaa,controller,odlparent,yangtools
index 0c3e6e3bb2586158f3e7bfa70707c97babdd1415..eeb78bd66c07af82579e2fbcceebaa35f0738ca9 100644 (file)
@@ -96,7 +96,7 @@
         - maven-target:
             maven-version: '{mvn33}'
             pom: 'pom.xml'
-            goals: 'clean install -Pintegrationtests -Dstream={stream}'
+            goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests -Dstream={stream}'
             java-opts:
                 - '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
             settings: '{netconf-settings}'
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -Pintegrationtests -Dmerge -Dstream={stream}'
+        goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests -Dmerge -Dstream={stream}'
         maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
         settings: '{netconf-settings}'
         global-settings: '{odl-global-settings}'
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -Pintegrationtests'
+        goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests'
         maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
         settings: '{netconf-settings}'
         global-settings: '{odl-global-settings}'
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -Pintegrationtests'
+        goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests'
         maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
         settings: '{netconf-settings}'
         global-settings: '{odl-global-settings}'
     maven:
         maven-name: '{mvn33}'
         root-pom: 'pom.xml'
-        goals: 'clean install -Pintegrationtests -Dsonar'
+        goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests -Dsonar'
         maven-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
         settings: '{netconf-settings}'
         global-settings: '{odl-global-settings}'
index 3921d32659c9b62cb4a40487a67c077db95896b5..88f337dd9e2e5b1aabec3a51260a6dd9b2431383 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index a986cdea5e514785077d7d457bd60ef7eebb126d..74adb32963bbbb6280098a40e5ff0da8da11d4f9 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index b0557e8d8f74a3328582e97296f663ef1ba576fe..d3891c21dbb7def8c96dc279f7323cc7d9025f8c 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index bd7d705ba0c94c12134e5a19bca14a800a21ee58..cc44d706373809e9bed3b613335ba1e79632fbde 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index ce56cd201f0fca48419975acb13d38af5817c762..fb1e37caf2cdd9bed100adfd3e110678c800d16f 100644 (file)
@@ -1,7 +1,7 @@
 STREAMS:
 - beryllium:
     branch: master
-    jdks: openjdk7
+    jdks: openjdk7,openjdk8
 - stable-lithium:
     branch: stable/lithium
     jdks: openjdk7
index 1ae7a9fda53648c53dd48f6f69ad49965d193111..d7b943000a33599b7eef9fbf57a183a2fcfd32d2 100644 (file)
@@ -23,6 +23,7 @@
             jdk: openjdk7
             jdks:
                 - openjdk7
+                - openjdk8
         - stable-lithium:
             branch: 'stable/lithium'
             jdk: openjdk7
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index df3ffb60669fa7fa9d6f096b9135ee920c157cfa..6288f6ceca3e9eee0e8b066d60b615f853ef5206 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index cc4d3a272430c807babaf4ea91f0bddabe2b2305..052ecb248d6fd2b8679a11868543deddbd6f8628 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index b5df42b1baae6ef491a3b28edfbcd2719a3cd8ae..9722d05b5dbfa2bf0ec0056849d2525d04bba853 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 34a4bf4c36bdc74c062bc12144a32d72a147b81a..7e8da50ac7dce57e64ebc4d99c5f1543493b0697 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index cb02b3b30185649b6541231d759add9aa41ad619..be94aa540e624a4845ac94b17b0153f38c0f7080 100644 (file)
@@ -1,7 +1,13 @@
 STREAMS:
+- clustering-lithium:
+    branch: topic/lithium/clustering
+    jdks: openjdk7
+- clustering-master:
+    branch: topic/master/clustering
+    jdks: openjdk7,openjdk8
 - neutron-yang-migration:
     branch: topic/master/neutron-yang-migration
-    jdks: openjdk7
+    jdks: openjdk7,openjdk8
 - routermanager:
     branch: topic/routermanager
     jdks: openjdk7
index aaad7d9bfbf65623b52632ac5472ae35b47fa839..1aecbc477390158324f1126aaf732ca4262702b7 100644 (file)
     # stream:    release stream (eg. stable-lithium or beryllium)
     # branch:    git branch (eg. stable/lithium or master)
     stream:
+        - clustering-lithium:
+            branch: 'topic/lithium/clustering'
+            jdk: openjdk7
+            jdks:
+                - openjdk7
+        - clustering-master:
+            branch: 'topic/master/clustering'
+            jdk: openjdk7
+            jdks:
+                - openjdk7
+                - openjdk8
         - neutron-yang-migration:
             branch: 'topic/master/neutron-yang-migration'
             jdk: openjdk7
             jdks:
                 - openjdk7
+                - openjdk8
         - routermanager:
             branch: 'topic/routermanager'
             jdk: openjdk7
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 0996063ff6667ffaaed9d93264b643db4cbe7022..d889dccde341200965d6ac2406438175aae9f033 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 040de5c9d7269a52a545e6eea906080f1259c4fc..6216a98aecc17c487c4a07461991968cf12d09a6 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index efa8e971ea79dd7968d79211330619c989a926d3..11bc33c3c1296a0777c9087da4b4af5572b272f3 100644 (file)
@@ -97,3 +97,4 @@
     # Mininet configuration
     mininet-image: 'rk-c-el6-mininet'
     mininet-vms: 1
+    mininet-cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
index df2d8f28cca0a4abedc7cb3ffaf3ea808bf174d7..087529a71b37d3844ddafafe9fe3a0a0b1e0426f 100644 (file)
             default: '{branch}'
             description: "JJB configured GERRIT_BRANCH parameter"
 
+- parameter:
+    name: gerrit-project-parameter
+    parameters:
+        - string:
+            name: GERRIT_PROJECT
+            default: '{project}'
+            description: "GERRIT_PROJECT parameter if not given by trigger"
+
+- parameter:
+    name: gerrit-refspec-parameter
+    parameters:
+        - string:
+            name: GERRIT_REFSPEC
+            default: '{refspec}'
+            description: "GERRIT_REFSPEC parameter if not given by trigger"
+
 - scm:
     name: git-scm
     scm:
index 537c67fcf57a53ccc7fcfc38de0539aff875e672..9e02770fad49e8b75255e1550ba475553010f710 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 9f136157a65b967b6730350c97ee3272e967ca31..2fa87272ef48193d1bf479de4b4607fff88fc610 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index b73e8e31d976f61f6f0f899ab819d642e0ff2013..7a706e6d6dc8090281f463ec48b373ec012caa41 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index b323036011813117a8a54d1d5a1312b578cbba95..cbecd9a8dc567b2c54a297ff72ffe665f78705f6 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 0d9094bfa73e6017eb149b8defd20c3db732221a..30c659bcd67aea7ad3e1e44d820d64c78e54bf3e 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 40aa7e9d1e9bd18f0f5f2b9c15f862075fc22bb8..fd660b4fb2f53cce3431131c542a1cc6a0969f6c 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 55bad376ae452c97e1ef7d76a9301430c2ceba7b..f4704f0dcff8f2254f6bf62722b803ef34b3133f 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index da586dca94d098844377d505f5263249855c2561..29950c1bcf4393136bfdead7314a4a48e9f4d2b2 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index ff93db54255bce896b38edca92649c380e3d682f..207a39a7ddcc6baab78ae467cc55dca665e27982 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index c1deb0506f236f1b29d5aac19bbacf0d67ef118e..0562e55c66908971869ced8d25e212b7d0974a47 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 237b62f4d9391fb9c21904771e509a1651bce34a..321b3da350177aa24c52b9d8a2e5ed012c5825a3 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 92e9c82ff5dcac129040112e3a53b8f32c7794fb..167bc4d2c5a126e05241ec67bc0ad2e1d9294982 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 8795dcb792139f400fe0f8f109e49a3e7e3334a5..f0dfe91cd06c833d28d193b859c4d54ba80c7447 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 63e56cd5afd13bef10f4747e1478f088fa57bd52..b2a9cf573f0c4a49b41851dead69e306fd1209e7 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index b9bf2618e52744a255ced092cca14a6ebb8a5469..a651080af5a78343f51fb96bed11994381811dc8 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 602da9c592340fc6b6bcffa45a86aaca57d3cea3..317a88bdf8918b50e7a3f8f082fb79cbf6c8e3d8 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index ae70b1f3d3618a31dbf2c87733b7278d45ed30bc..ec1f5fde6cfc5298b831fdd9bebc9916f79ea7a3 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 6010b9c2c926edd96d2aa11875bd8080d64c30ef..be2006d64b67ba5135a9ce4e8e50b0ea41e174b9 100644 (file)
 
     parameters:
         - project-parameter:
-            project: 'integration'
+            project: 'integration/distribution'
 
     scm:
         - git-scm:
index 53a5006d06dea258dca25fd527c950917ada88ec..46e61bfd5308321352f31bee6cf41d0b164b3593 100644 (file)
@@ -50,13 +50,33 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
     end
   end
 
+  # Explicitlly set default shared folder and load lib folder
+  config.vm.synced_folder ".", "/vagrant"
+  config.vm.synced_folder "../lib/", "/vagrant/lib"
+
   # run our bootstrapping for the ovsdb-devstack system
   config.vm.provision 'shell', path: 'bootstrap.sh'
 
+
+  #################
+  # LF NETWORKING #
+  #################
+
+  if ENV['LFNETWORK']
+    # reconfigure the network setup to support our special private setup
+    config.vm.provision 'shell', path: '../lib/lf-networking/configure_lf_infra.sh',
+      args: ENV['RSSUBDOMAIN']
+  end
+
+
+  #################
+  # FINAL CLEANUP #
+  #################
+
   # set RSRESEAL to... anything if you want to snap an image of this box
   # not setting the environment variable will cause the system to come
   # up fully and not be in a resealable state
   if ENV['RSRESEAL']
-    config.vm.provision 'shell', path: 'system_reseal.sh'
+    config.vm.provision 'shell', path: '../lib/system_reseal.sh'
   end
 end
diff --git a/vagrant/basic-builder/system_reseal.sh b/vagrant/basic-builder/system_reseal.sh
deleted file mode 100644 (file)
index 07a0531..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-# vim: sw=2 ts=2 sts=2 et :
-
-if [ -f /.autorelabel ]; then
-  echo "**********************************************"
-  echo "* SYSTEM REQUIRES RELABELING SKIPPING RESEAL *"
-  echo "*     PLEASE RESTART SYSTEM AND RERUN        *"
-  echo "*           PROVISIONING SCRIPTS             *"
-  echo "**********************************************"
-  exit 1;
-fi
-
-# clean-up from any prior cloud-init networking
-rm -rf /etc/sysconfig/network-scripts/{ifcfg,route}-eth*
-
-rm -rf /etc/Pegasus/*.cnf /etc/Pegasus/*.crt /etc/Pegasus/*.csr /etc/Pegasus/*.pem /etc/Pegasus/*.srl /root/anaconda-ks.cfg /root/anaconda-post.log /root/initial-setup-ks.cfg /root/install.log /root/install.log.syslog /var/cache/fontconfig/* /var/cache/gdm/* /var/cache/man/* /var/lib/AccountService/users/* /var/lib/fprint/* /var/lib/logrotate.status /var/log/*.log* /var/log/BackupPC/LOG /var/log/ConsoleKit/* /var/log/anaconda.syslog /var/log/anaconda/* /var/log/apache2/*_log /var/log/apache2/*_log-* /var/log/apt/* /var/log/aptitude* /var/log/audit/* /var/log/btmp* /var/log/ceph/*.log /var/log/chrony/*.log /var/log/cron* /var/log/cups/*_log /var/log/debug* /var/log/dmesg* /var/log/exim4/* /var/log/faillog* /var/log/gdm/* /var/log/glusterfs/*glusterd.vol.log /var/log/glusterfs/glusterfs.log /var/log/httpd/*log /var/log/installer/* /var/log/jetty/jetty-console.log /var/log/journal/* /var/log/lastlog* /var/log/libvirt/libvirtd.log /var/log/libvirt/lxc/*.log /var/log/libvirt/qemu/*.log /var/log/libvirt/uml/*.log /var/log/lightdm/* /var/log/mail/* /var/log/maillog* /var/log/messages* /var/log/ntp /var/log/ntpstats/* /var/log/ppp/connect-errors /var/log/rhsm/* /var/log/sa/* /var/log/secure* /var/log/setroubleshoot/*.log /var/log/spooler* /var/log/squid/*.log /var/log/syslog* /var/log/tallylog* /var/log/tuned/tuned.log /var/log/wtmp* /var/named/data/named.run
-
-rm -rf ~/.viminfo /etc/ssh/ssh*key*
-
-# kill any cloud-init related bits
-rm -rf /var/lib/cloud/*
-
-if [ -e /usr/bin/facter ]
-then
-  if [ `/usr/bin/facter operatingsystem` = 'Ubuntu' ]
-  then
-    rm -rf /etc/hostname* /etc/hosts /etc/network/interfaces /etc/network/interfaces.*.bak~
-    cat <<EOINT >> /etc/network/interfaces
-# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
-# /usr/share/doc/ifupdown/examples for more information.
-# The loopback network interface
-auto lo
-iface lo inet loopback
-EOINT
-  fi
-fi
-
-echo "********************************************"
-echo "*   PLEASE SNAPSHOT IMAGE AT THIS TIME     *"
-echo "********************************************"
index 53a5006d06dea258dca25fd527c950917ada88ec..46e61bfd5308321352f31bee6cf41d0b164b3593 100644 (file)
@@ -50,13 +50,33 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
     end
   end
 
+  # Explicitlly set default shared folder and load lib folder
+  config.vm.synced_folder ".", "/vagrant"
+  config.vm.synced_folder "../lib/", "/vagrant/lib"
+
   # run our bootstrapping for the ovsdb-devstack system
   config.vm.provision 'shell', path: 'bootstrap.sh'
 
+
+  #################
+  # LF NETWORKING #
+  #################
+
+  if ENV['LFNETWORK']
+    # reconfigure the network setup to support our special private setup
+    config.vm.provision 'shell', path: '../lib/lf-networking/configure_lf_infra.sh',
+      args: ENV['RSSUBDOMAIN']
+  end
+
+
+  #################
+  # FINAL CLEANUP #
+  #################
+
   # set RSRESEAL to... anything if you want to snap an image of this box
   # not setting the environment variable will cause the system to come
   # up fully and not be in a resealable state
   if ENV['RSRESEAL']
-    config.vm.provision 'shell', path: 'system_reseal.sh'
+    config.vm.provision 'shell', path: '../lib/system_reseal.sh'
   end
 end
diff --git a/vagrant/basic-java-node/system_reseal.sh b/vagrant/basic-java-node/system_reseal.sh
deleted file mode 100644 (file)
index 07a0531..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-# vim: sw=2 ts=2 sts=2 et :
-
-if [ -f /.autorelabel ]; then
-  echo "**********************************************"
-  echo "* SYSTEM REQUIRES RELABELING SKIPPING RESEAL *"
-  echo "*     PLEASE RESTART SYSTEM AND RERUN        *"
-  echo "*           PROVISIONING SCRIPTS             *"
-  echo "**********************************************"
-  exit 1;
-fi
-
-# clean-up from any prior cloud-init networking
-rm -rf /etc/sysconfig/network-scripts/{ifcfg,route}-eth*
-
-rm -rf /etc/Pegasus/*.cnf /etc/Pegasus/*.crt /etc/Pegasus/*.csr /etc/Pegasus/*.pem /etc/Pegasus/*.srl /root/anaconda-ks.cfg /root/anaconda-post.log /root/initial-setup-ks.cfg /root/install.log /root/install.log.syslog /var/cache/fontconfig/* /var/cache/gdm/* /var/cache/man/* /var/lib/AccountService/users/* /var/lib/fprint/* /var/lib/logrotate.status /var/log/*.log* /var/log/BackupPC/LOG /var/log/ConsoleKit/* /var/log/anaconda.syslog /var/log/anaconda/* /var/log/apache2/*_log /var/log/apache2/*_log-* /var/log/apt/* /var/log/aptitude* /var/log/audit/* /var/log/btmp* /var/log/ceph/*.log /var/log/chrony/*.log /var/log/cron* /var/log/cups/*_log /var/log/debug* /var/log/dmesg* /var/log/exim4/* /var/log/faillog* /var/log/gdm/* /var/log/glusterfs/*glusterd.vol.log /var/log/glusterfs/glusterfs.log /var/log/httpd/*log /var/log/installer/* /var/log/jetty/jetty-console.log /var/log/journal/* /var/log/lastlog* /var/log/libvirt/libvirtd.log /var/log/libvirt/lxc/*.log /var/log/libvirt/qemu/*.log /var/log/libvirt/uml/*.log /var/log/lightdm/* /var/log/mail/* /var/log/maillog* /var/log/messages* /var/log/ntp /var/log/ntpstats/* /var/log/ppp/connect-errors /var/log/rhsm/* /var/log/sa/* /var/log/secure* /var/log/setroubleshoot/*.log /var/log/spooler* /var/log/squid/*.log /var/log/syslog* /var/log/tallylog* /var/log/tuned/tuned.log /var/log/wtmp* /var/named/data/named.run
-
-rm -rf ~/.viminfo /etc/ssh/ssh*key*
-
-# kill any cloud-init related bits
-rm -rf /var/lib/cloud/*
-
-if [ -e /usr/bin/facter ]
-then
-  if [ `/usr/bin/facter operatingsystem` = 'Ubuntu' ]
-  then
-    rm -rf /etc/hostname* /etc/hosts /etc/network/interfaces /etc/network/interfaces.*.bak~
-    cat <<EOINT >> /etc/network/interfaces
-# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
-# /usr/share/doc/ifupdown/examples for more information.
-# The loopback network interface
-auto lo
-iface lo inet loopback
-EOINT
-  fi
-fi
-
-echo "********************************************"
-echo "*   PLEASE SNAPSHOT IMAGE AT THIS TIME     *"
-echo "********************************************"
index 53a5006d06dea258dca25fd527c950917ada88ec..46e61bfd5308321352f31bee6cf41d0b164b3593 100644 (file)
@@ -50,13 +50,33 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
     end
   end
 
+  # Explicitlly set default shared folder and load lib folder
+  config.vm.synced_folder ".", "/vagrant"
+  config.vm.synced_folder "../lib/", "/vagrant/lib"
+
   # run our bootstrapping for the ovsdb-devstack system
   config.vm.provision 'shell', path: 'bootstrap.sh'
 
+
+  #################
+  # LF NETWORKING #
+  #################
+
+  if ENV['LFNETWORK']
+    # reconfigure the network setup to support our special private setup
+    config.vm.provision 'shell', path: '../lib/lf-networking/configure_lf_infra.sh',
+      args: ENV['RSSUBDOMAIN']
+  end
+
+
+  #################
+  # FINAL CLEANUP #
+  #################
+
   # set RSRESEAL to... anything if you want to snap an image of this box
   # not setting the environment variable will cause the system to come
   # up fully and not be in a resealable state
   if ENV['RSRESEAL']
-    config.vm.provision 'shell', path: 'system_reseal.sh'
+    config.vm.provision 'shell', path: '../lib/system_reseal.sh'
   end
 end
diff --git a/vagrant/basic-mininet-node/system_reseal.sh b/vagrant/basic-mininet-node/system_reseal.sh
deleted file mode 100644 (file)
index 07a0531..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-# vim: sw=2 ts=2 sts=2 et :
-
-if [ -f /.autorelabel ]; then
-  echo "**********************************************"
-  echo "* SYSTEM REQUIRES RELABELING SKIPPING RESEAL *"
-  echo "*     PLEASE RESTART SYSTEM AND RERUN        *"
-  echo "*           PROVISIONING SCRIPTS             *"
-  echo "**********************************************"
-  exit 1;
-fi
-
-# clean-up from any prior cloud-init networking
-rm -rf /etc/sysconfig/network-scripts/{ifcfg,route}-eth*
-
-rm -rf /etc/Pegasus/*.cnf /etc/Pegasus/*.crt /etc/Pegasus/*.csr /etc/Pegasus/*.pem /etc/Pegasus/*.srl /root/anaconda-ks.cfg /root/anaconda-post.log /root/initial-setup-ks.cfg /root/install.log /root/install.log.syslog /var/cache/fontconfig/* /var/cache/gdm/* /var/cache/man/* /var/lib/AccountService/users/* /var/lib/fprint/* /var/lib/logrotate.status /var/log/*.log* /var/log/BackupPC/LOG /var/log/ConsoleKit/* /var/log/anaconda.syslog /var/log/anaconda/* /var/log/apache2/*_log /var/log/apache2/*_log-* /var/log/apt/* /var/log/aptitude* /var/log/audit/* /var/log/btmp* /var/log/ceph/*.log /var/log/chrony/*.log /var/log/cron* /var/log/cups/*_log /var/log/debug* /var/log/dmesg* /var/log/exim4/* /var/log/faillog* /var/log/gdm/* /var/log/glusterfs/*glusterd.vol.log /var/log/glusterfs/glusterfs.log /var/log/httpd/*log /var/log/installer/* /var/log/jetty/jetty-console.log /var/log/journal/* /var/log/lastlog* /var/log/libvirt/libvirtd.log /var/log/libvirt/lxc/*.log /var/log/libvirt/qemu/*.log /var/log/libvirt/uml/*.log /var/log/lightdm/* /var/log/mail/* /var/log/maillog* /var/log/messages* /var/log/ntp /var/log/ntpstats/* /var/log/ppp/connect-errors /var/log/rhsm/* /var/log/sa/* /var/log/secure* /var/log/setroubleshoot/*.log /var/log/spooler* /var/log/squid/*.log /var/log/syslog* /var/log/tallylog* /var/log/tuned/tuned.log /var/log/wtmp* /var/named/data/named.run
-
-rm -rf ~/.viminfo /etc/ssh/ssh*key*
-
-# kill any cloud-init related bits
-rm -rf /var/lib/cloud/*
-
-if [ -e /usr/bin/facter ]
-then
-  if [ `/usr/bin/facter operatingsystem` = 'Ubuntu' ]
-  then
-    rm -rf /etc/hostname* /etc/hosts /etc/network/interfaces /etc/network/interfaces.*.bak~
-    cat <<EOINT >> /etc/network/interfaces
-# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
-# /usr/share/doc/ifupdown/examples for more information.
-# The loopback network interface
-auto lo
-iface lo inet loopback
-EOINT
-  fi
-fi
-
-echo "********************************************"
-echo "*   PLEASE SNAPSHOT IMAGE AT THIS TIME     *"
-echo "********************************************"
index 53a5006d06dea258dca25fd527c950917ada88ec..9fa6a79fc482b9e0fbf1ec233fee62eaaa301427 100644 (file)
@@ -50,13 +50,33 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
     end
   end
 
-  # run our bootstrapping for the ovsdb-devstack system
+  # Explicitlly set default shared folder and load lib folder
+  config.vm.synced_folder ".", "/vagrant"
+  config.vm.synced_folder "../lib/", "/vagrant/lib"
+
+  # run our bootstrapping for the robotframework system
   config.vm.provision 'shell', path: 'bootstrap.sh'
 
+
+  #################
+  # LF NETWORKING #
+  #################
+
+  if ENV['LFNETWORK']
+    # reconfigure the network setup to support our special private setup
+    config.vm.provision 'shell', path: '../lib/lf-networking/configure_lf_infra.sh',
+      args: ENV['RSSUBDOMAIN']
+  end
+
+
+  #################
+  # FINAL CLEANUP #
+  #################
+
   # set RSRESEAL to... anything if you want to snap an image of this box
   # not setting the environment variable will cause the system to come
   # up fully and not be in a resealable state
   if ENV['RSRESEAL']
-    config.vm.provision 'shell', path: 'system_reseal.sh'
+    config.vm.provision 'shell', path: '../lib/system_reseal.sh'
   end
 end
diff --git a/vagrant/integration-robotframework/system_reseal.sh b/vagrant/integration-robotframework/system_reseal.sh
deleted file mode 100644 (file)
index 07a0531..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-# vim: sw=2 ts=2 sts=2 et :
-
-if [ -f /.autorelabel ]; then
-  echo "**********************************************"
-  echo "* SYSTEM REQUIRES RELABELING SKIPPING RESEAL *"
-  echo "*     PLEASE RESTART SYSTEM AND RERUN        *"
-  echo "*           PROVISIONING SCRIPTS             *"
-  echo "**********************************************"
-  exit 1;
-fi
-
-# clean-up from any prior cloud-init networking
-rm -rf /etc/sysconfig/network-scripts/{ifcfg,route}-eth*
-
-rm -rf /etc/Pegasus/*.cnf /etc/Pegasus/*.crt /etc/Pegasus/*.csr /etc/Pegasus/*.pem /etc/Pegasus/*.srl /root/anaconda-ks.cfg /root/anaconda-post.log /root/initial-setup-ks.cfg /root/install.log /root/install.log.syslog /var/cache/fontconfig/* /var/cache/gdm/* /var/cache/man/* /var/lib/AccountService/users/* /var/lib/fprint/* /var/lib/logrotate.status /var/log/*.log* /var/log/BackupPC/LOG /var/log/ConsoleKit/* /var/log/anaconda.syslog /var/log/anaconda/* /var/log/apache2/*_log /var/log/apache2/*_log-* /var/log/apt/* /var/log/aptitude* /var/log/audit/* /var/log/btmp* /var/log/ceph/*.log /var/log/chrony/*.log /var/log/cron* /var/log/cups/*_log /var/log/debug* /var/log/dmesg* /var/log/exim4/* /var/log/faillog* /var/log/gdm/* /var/log/glusterfs/*glusterd.vol.log /var/log/glusterfs/glusterfs.log /var/log/httpd/*log /var/log/installer/* /var/log/jetty/jetty-console.log /var/log/journal/* /var/log/lastlog* /var/log/libvirt/libvirtd.log /var/log/libvirt/lxc/*.log /var/log/libvirt/qemu/*.log /var/log/libvirt/uml/*.log /var/log/lightdm/* /var/log/mail/* /var/log/maillog* /var/log/messages* /var/log/ntp /var/log/ntpstats/* /var/log/ppp/connect-errors /var/log/rhsm/* /var/log/sa/* /var/log/secure* /var/log/setroubleshoot/*.log /var/log/spooler* /var/log/squid/*.log /var/log/syslog* /var/log/tallylog* /var/log/tuned/tuned.log /var/log/wtmp* /var/named/data/named.run
-
-rm -rf ~/.viminfo /etc/ssh/ssh*key*
-
-# kill any cloud-init related bits
-rm -rf /var/lib/cloud/*
-
-if [ -e /usr/bin/facter ]
-then
-  if [ `/usr/bin/facter operatingsystem` = 'Ubuntu' ]
-  then
-    rm -rf /etc/hostname* /etc/hosts /etc/network/interfaces /etc/network/interfaces.*.bak~
-    cat <<EOINT >> /etc/network/interfaces
-# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
-# /usr/share/doc/ifupdown/examples for more information.
-# The loopback network interface
-auto lo
-iface lo inet loopback
-EOINT
-  fi
-fi
-
-echo "********************************************"
-echo "*   PLEASE SNAPSHOT IMAGE AT THIS TIME     *"
-echo "********************************************"
similarity index 96%
rename from vagrant/lf-networking/configure_lf_infra.sh
rename to vagrant/lib/lf-networking/configure_lf_infra.sh
index 781b4f5264977fc60364e515f56e34fcac5f55d1..06cac0f77109f20b3a8690ecd1d8205cbdefc353 100644 (file)
@@ -21,7 +21,7 @@ all_systems() {
     echo "subdomain=${SUBDOM}" > /etc/facter/facts.d/subdomain.txt
 
     # final bits
-    puppet apply /vagrant/confignetwork.pp
+    puppet apply /vagrant/lib/lf-networking/confignetwork.pp
 
 }
 
similarity index 98%
rename from vagrant/lf-networking/system_reseal.sh
rename to vagrant/lib/system_reseal.sh
index 87d60c30582aea2c0175b459ec40da351e827a27..4b7dd86ac6ed9b6f686dde349af365455fcc91e6 100644 (file)
@@ -36,6 +36,9 @@ EOINT
   fi
 fi
 
+# cleanup /vagrant
+rm -rf /vagrant
+
 echo "********************************************"
 echo "*   PLEASE SNAPSHOT IMAGE AT THIS TIME     *"
 echo "********************************************"