blob: af4814cc265424e54afed3fa5d76f4ff3c532ba3 [file] [log] [blame]
- job:
name: '1.3_onap_offline_build_download_artifacts'
description: 'This job creates a data list based on OOM helm charts. Create a script for download of the packages and then downloads all the images based
off the data list created.
PS. If the OOM charts are wrong, that is image versions or their repo is wrong, this script will still pass, yet the installion from here on
in will be wrong, thus need to implement either error checking or check manually that all the images were downloaded.'
parameters:
- string:
name: clone_oom_cmd
default: sudo git clone -b master https://gerrit.onap.org/r/oom --recurse-submodules /tmp/oom
description: '
Change branch (-b) to whichever branch you want to pull
-dublin
-master'
- string:
name: 'data_list_dir'
default: '/tmp/onap-offline/build/data_lists'
description: 'Directory of the data_lists'
- string:
name: 'openstack_user'
default: 'centos'
description: User of the VM, used when sshing
- string:
name: 'resources_dir'
default: '/tmp/resources'
description: 'Directory of resources'
- string:
name: 'source_registry'
default: 'registry.nordix.org/onap/online-install'
description: 'Source registry'
- string:
name: 'target_registry'
default: 'nexus3.onap.org:10001'
description: 'Target registry'
- string:
name: 'ssh_key'
default: ''
description: 'Key used to ssh onto the VM'
- string:
name: 'sed_cmd'
#default: s/exit 0/echo -e '\''another line'\'' \nexit 0
description: 'Adding another echo before the end of the script as the script would hang on exit 0'
- string:
name: 'build_dir'
default: '/tmp/onap-offline/build'
description: 'Build directory'
builders:
- build-name-setter:
template: '#${BUILD_NUMBER}'
macro: true
- shell:
!include-raw: ${WORKSPACE}/build/scripts/3_build_download_artifacts.sh
wrappers:
- timestamps
node: 'city-jumphost-onap-ubuntu1804'