armband: project: inherit {installer}-defaults 71/18971/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 18 Aug 2016 14:44:58 +0000 (16:44 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 19 Aug 2016 13:50:42 +0000 (15:50 +0200)
While at it, also do the following:
- revert previous addition of "armband-defaults" in
  opnfv/installer-params.yml, no longer needed;
- remove Josep from failure mail recipient list, armband@enea.com
  is already forwarded to all of us;
- add CACHE_DIRECTORY variable for enabling build cache;

TODO (left for future rework):
- rename build and deploy jobs to include installer info, e.g.
  "armband-fuel-build-...", preparing for more installers;
- move "installer" parameter to fuel jobs only instead of having
  it as a global param;

Change-Id: I2e6cc43484576bd6569605a7c9e60f6fe64f435b
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
jjb/armband/armband-project-jobs.yml
jjb/opnfv/installer-params.yml

index 764a5d4..46cc76b 100644 (file)
@@ -7,6 +7,8 @@
 
     project: '{name}'
 
+    installer: 'fuel'
+
     jobs:
         - 'armband-verify-{stream}'
         - 'armband-build-daily-{stream}'
@@ -77,6 +79,7 @@
         - project-parameter:
             project: '{project}'
         - 'opnfv-build-arm-defaults'
+        - '{installer}-defaults'
         - armband-project-parameter:
             gs-pathname: '{gs-pathname}'
 
 
     publishers:
         - email:
-            recipients: josep.puigdemont@enea.com armband@enea.com
+            recipients: armband@enea.com
 
 ########################
 # parameter macros
             name: BUILD_DIRECTORY
             default: $WORKSPACE/build_output
             description: "Directory where the build artifact will be located upon the completion of the build."
+        - string:
+            name: CACHE_DIRECTORY
+            default: $HOME/opnfv/cache/$INSTALLER_TYPE
+            description: "Directory where the cache to be used during the build is located."
         - string:
             name: GS_URL
             default: artifacts.opnfv.org/$PROJECT{gs-pathname}
index b795408..833a1d4 100644 (file)
@@ -1,23 +1,3 @@
-- parameter:
-    name: 'armband-defaults'
-    parameters:
-        - string:
-            name: INSTALLER_IP
-            default: '10.20.0.2'
-            description: 'IP of the installer'
-        - string:
-            name: INSTALLER_TYPE
-            default: fuel
-            description: 'Installer used for deploying OPNFV on this POD'
-        - string:
-            name: EXTERNAL_NETWORK
-            default: 'admin_floating_net'
-            description: 'external network for test'
-        - string:
-            name: BRIDGE
-            default: 'pxebr'
-            description: 'pxe bridge for booting of Fuel master'
-
 - parameter:
     name: 'apex-defaults'
     parameters: