From: Andrew Grimberg Date: Fri, 19 Apr 2019 21:52:59 +0000 (-0700) Subject: Add openstack clean-up cron, simplify ci-job defs X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=7358609ab08200554895d2b72777e90986e0cbe9;p=ci-management.git Add openstack clean-up cron, simplify ci-job defs * Enable the gerrit-openstack-cron job to help manage cleaning up no-longer use images * Make the ci-jobs defs a little easier to add additional projects to with and anchor pattern Change-Id: I3369e5a2275bc8a1270c94736822c9d2958924ed Signed-off-by: Andrew Grimberg --- diff --git a/jjb/ci-management/ci-jobs.yaml b/jjb/ci-management/ci-jobs.yaml index de5f2c1b..df65f39a 100644 --- a/jjb/ci-management/ci-jobs.yaml +++ b/jjb/ci-management/ci-jobs.yaml @@ -1,13 +1,32 @@ --- +- ci_jobs_common: &ci_jobs_common + name: ci-jobs-common + # Defines common ci-jobs configuration + + project: ci-management + project-name: ci-management + build-node: centos7-builder-1c-1g + - project: name: ci-jobs jobs: - '{project-name}-ci-jobs' - project: ci-management - project-name: ci-management - build-node: centos7-builder-1c-1g + <<: *ci_jobs_common views: - project-view + +- project: + name: openstack-cron + + jobs: + - gerrit-openstack-cron + + <<: *ci_jobs_common + + jenkins-urls: > + https://jenkins.oran-osc.org/ + https://jenkins.oran-osc.org/sandbox + openstack-cloud: vex