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>
project: '{name}'
+ installer: 'fuel'
+
jobs:
- 'armband-verify-{stream}'
- 'armband-build-daily-{stream}'
- 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}
-- 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: