1 ############################################
2 # dovetail upload artifacts job
3 ############################################
5 name: dovetail-artifacts-upload
10 - 'dovetail-{image}-artifacts-upload-{stream}'
25 #############################################
27 #############################################
30 name: 'dovetail-{image}-artifacts-upload-{stream}'
33 disabled: '{obj:disabled}'
49 - 'opnfv-build-ubuntu-defaults'
51 gs-pathname: '{gs-pathname}'
59 - 'dovetail-builder-artifacts-upload'
60 - 'dovetail-upload-artifacts-cache-cleanup'
61 - 'dovetail-images-cleanup'
67 name: dovetail-parameter
71 default: $WORKSPACE/cache{gs-pathname}
72 description: "the cache to store packages downloaded"
75 default: gs://artifacts.opnfv.org/dovetail{gs-pathname}
76 description: "LF artifacts url for storage of dovetail packages"
78 name: DOCKER_REPO_NAME
79 default: opnfv/{image}
80 description: "docker repo name"
84 description: "docker image tag of which will be uploaded to artifacts"
87 default: image_{image}_{branch}_$BUILD_ID.docker
88 description: "stored file name"
90 ####################################
91 #builders for dovetail project
92 ####################################
94 name: dovetail-builder-artifacts-upload
97 !include-raw: ./dovetail-artifacts-upload.sh
100 name: dovetail-upload-artifacts-cache-cleanup
106 echo "Dovetail: cleanup cache used for storage downloaded packages"
108 /bin/rm -rf $CACHE_DIR
111 name: dovetail-images-cleanup
114 !include-raw: ./dovetail-cleanup.sh