2 ############################################
3 # dovetail upload artifacts job
4 ############################################
6 name: dovetail-artifacts-upload
11 - 'dovetail-{image}-artifacts-upload-{stream}'
26 #############################################
28 #############################################
31 name: 'dovetail-{image}-artifacts-upload-{stream}'
34 disabled: '{obj:disabled}'
50 - 'opnfv-build-ubuntu-defaults'
52 gs-pathname: '{gs-pathname}'
60 - 'dovetail-builder-artifacts-upload'
61 - 'dovetail-upload-artifacts-cache-cleanup'
62 - 'dovetail-images-cleanup'
68 name: dovetail-parameter
72 default: $WORKSPACE/cache{gs-pathname}
73 description: "the cache to store packages downloaded"
76 default: gs://artifacts.opnfv.org/dovetail{gs-pathname}
77 description: "LF artifacts url for storage of dovetail packages"
79 name: DOCKER_REPO_NAME
80 default: opnfv/{image}
81 description: "docker repo name"
85 description: "docker image tag of which will be uploaded to artifacts"
88 default: image_{image}_{branch}_$BUILD_ID.docker
89 description: "stored file name"
91 ####################################
92 # builders for dovetail project
93 ####################################
95 name: dovetail-builder-artifacts-upload
98 !include-raw: ./dovetail-artifacts-upload.sh
101 name: dovetail-upload-artifacts-cache-cleanup
107 echo "Dovetail: cleanup cache used for storage downloaded packages"
109 /bin/rm -rf $CACHE_DIR
112 name: dovetail-images-cleanup
115 !include-raw: ./dovetail-cleanup.sh