summaryrefslogtreecommitdiffstats
path: root/jjb/infra/bifrost-cleanup-job.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-03-01Merge "jjb: infra: bifrost-cleanup-job: Ignore jjb patchsets"Fatih Degirmenci1-2/+0
2017-02-27jjb: infra: bifrost-cleanup-job: Do not trigger on patchset creationMarkos Chandras1-14/+4
There are no logs to remove when a patchset is created. Change-Id: Ieae8e8e142d69f741d43e740371110ce13255436 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-02-24jjb: infra: bifrost-cleanup-job: Ignore jjb patchsetsMarkos Chandras1-2/+0
This is similar to ebaf0be9a53d ("jjb: infra: bifrost-verify-jobs: Ignore jjb patchsets"). There are no CI logs when a patchset is about the jjb files so there is nothing for this job to do in that case. Change-Id: I7b815b612da0407ddefaee9cf9826e9003b668ef Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-02-24jjb: infra: bifrost-cleanup-job.yml: Use -m gsutil option for removalsMarkos Chandras1-1/+1
Use the -m gsutil option to perform parallel object removal insted of a sequential one to reduce the job's execution time. Change-Id: I87d21b07674035113883f7952514555dec1750ca Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-02-22jjb: infra: bifrost-cleanup-job: Fix job triggersMarkos Chandras1-11/+3
Add new trigger when a patchset is abandoned and drop the one for 'recheck' and 'reverify' comments since the logs will be eventually deleted when the patchset is merged or abandoned. Moreover, fix quoting for the BIFROST_GS_URL variable which prevented logs from being deleted properly. This fixes the following error: CommandException: No URLs matched: gs://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/$GERRIT_NAME/$GERRIT_CHANGE_NUMBER/ Change-Id: I8f6ca7a9b2af4a7a4b204f15abf6a223144637a6
2017-02-13jjb: infra: bifrost-cleanup-job.yml: Add new bifrost cleanup jobMarkos Chandras1-0/+156
Add new job which will wipe the build logs from artifacts.opnfv.org once the proposed gerrit patchset is merged. This job is only triggered when a patchset is accepted and it can be executed on any of the bifrost slaves provided none of the bifrost-verify-* jobs is running. Change-Id: Ice708b978fbf283d5134f5cf7f7e1e541ec61003 Signed-off-by: Markos Chandras <mchandras@suse.de>