From 7358609ab08200554895d2b72777e90986e0cbe9 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Fri, 19 Apr 2019 14:52:59 -0700 Subject: [PATCH] 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 --- jjb/ci-management/ci-jobs.yaml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) 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 -- 2.16.6