Add jobs to build gerrit master branch
We'll use this to test the checks plugin. We have to add jgit as a repo because it's a submodule now. Change-Id: Ic7e9ad0265e136a9ac6b1147998f6eb5ee398180
This commit is contained in:
parent
cd402000a4
commit
36aa77937a
76
.zuul.yaml
76
.zuul.yaml
@ -377,6 +377,69 @@
|
|||||||
parent: system-config-promote-image
|
parent: system-config-promote-image
|
||||||
vars: *gerrit_vars_3_0
|
vars: *gerrit_vars_3_0
|
||||||
files: *gerrit_files_3_0
|
files: *gerrit_files_3_0
|
||||||
|
|
||||||
|
# Gerrit master jobs
|
||||||
|
- job:
|
||||||
|
name: system-config-build-image-gerrit-master
|
||||||
|
description: Build a gerrit image.
|
||||||
|
parent: system-config-build-image
|
||||||
|
pre-run:
|
||||||
|
- playbooks/zuul/gerrit/repos.yaml
|
||||||
|
- playbooks/zuul/gerrit/jgit.yaml
|
||||||
|
required-projects: &gerrit_projects_master
|
||||||
|
- gerrit.googlesource.com/jgit
|
||||||
|
- gerrit.googlesource.com/gerrit
|
||||||
|
- gerrit.googlesource.com/plugins/codemirror-editor
|
||||||
|
- gerrit.googlesource.com/plugins/commit-message-length-validator
|
||||||
|
- gerrit.googlesource.com/plugins/delete-project
|
||||||
|
- gerrit.googlesource.com/plugins/download-commands
|
||||||
|
- gerrit.googlesource.com/plugins/gitiles
|
||||||
|
- gerrit.googlesource.com/plugins/hooks
|
||||||
|
- gerrit.googlesource.com/plugins/its-base
|
||||||
|
- gerrit.googlesource.com/plugins/its-storyboard
|
||||||
|
- gerrit.googlesource.com/plugins/javamelody
|
||||||
|
- gerrit.googlesource.com/plugins/plugin-manager
|
||||||
|
- gerrit.googlesource.com/plugins/replication
|
||||||
|
- gerrit.googlesource.com/plugins/reviewnotes
|
||||||
|
- gerrit.googlesource.com/plugins/singleusergroup
|
||||||
|
- gerrit.googlesource.com/plugins/webhooks
|
||||||
|
vars: &gerrit_vars_master
|
||||||
|
docker_images:
|
||||||
|
- context: docker/gerrit/bazel
|
||||||
|
repository: opendevorg/gerrit
|
||||||
|
path: /home/zuul/src/gerrit.googlesource.com/gerrit
|
||||||
|
tags:
|
||||||
|
- master
|
||||||
|
gerrit_additional_plugins:
|
||||||
|
- codemirror-editor
|
||||||
|
- delete-project
|
||||||
|
- gitiles
|
||||||
|
- plugin-manager
|
||||||
|
- webhooks
|
||||||
|
files: &gerrit_files_master
|
||||||
|
- docker/bazel/.*
|
||||||
|
- docker/gerrit/base/.*
|
||||||
|
- docker/gerrit/bazel/.*
|
||||||
|
- playbooks/zuul/gerrit/.*
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: system-config-upload-image-gerrit-master
|
||||||
|
description: Build and upload a gerrit image.
|
||||||
|
parent: system-config-upload-image
|
||||||
|
pre-run:
|
||||||
|
- playbooks/zuul/gerrit/repos.yaml
|
||||||
|
- playbooks/zuul/gerrit/jgit.yaml
|
||||||
|
required-projects: *gerrit_projects_master
|
||||||
|
vars: *gerrit_vars_master
|
||||||
|
files: *gerrit_files_master
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: system-config-promote-image-gerrit-master
|
||||||
|
description: Promote a previously published gerrit image to latest.
|
||||||
|
parent: system-config-promote-image
|
||||||
|
vars: *gerrit_vars_master
|
||||||
|
files: *gerrit_files_master
|
||||||
|
|
||||||
# python-builder jobs
|
# python-builder jobs
|
||||||
- job:
|
- job:
|
||||||
name: system-config-build-image-python-builder
|
name: system-config-build-image-python-builder
|
||||||
@ -1014,6 +1077,12 @@
|
|||||||
soft: true
|
soft: true
|
||||||
- name: system-config-build-image-gerrit-base
|
- name: system-config-build-image-gerrit-base
|
||||||
soft: true
|
soft: true
|
||||||
|
- system-config-build-image-gerrit-master:
|
||||||
|
dependencies:
|
||||||
|
- name: system-config-build-image-bazel
|
||||||
|
soft: true
|
||||||
|
- name: system-config-build-image-gerrit-base
|
||||||
|
soft: true
|
||||||
- system-config-build-image-haproxy-statsd
|
- system-config-build-image-haproxy-statsd
|
||||||
- system-config-build-image-python-base
|
- system-config-build-image-python-base
|
||||||
- system-config-build-image-python-builder
|
- system-config-build-image-python-builder
|
||||||
@ -1067,6 +1136,12 @@
|
|||||||
soft: true
|
soft: true
|
||||||
- name: system-config-upload-image-gerrit-base
|
- name: system-config-upload-image-gerrit-base
|
||||||
soft: true
|
soft: true
|
||||||
|
- system-config-upload-image-gerrit-master:
|
||||||
|
dependencies:
|
||||||
|
- name: system-config-upload-image-bazel
|
||||||
|
soft: true
|
||||||
|
- name: system-config-upload-image-gerrit-base
|
||||||
|
soft: true
|
||||||
- system-config-upload-image-haproxy-statsd
|
- system-config-upload-image-haproxy-statsd
|
||||||
- system-config-upload-image-python-base
|
- system-config-upload-image-python-base
|
||||||
- system-config-upload-image-python-builder
|
- system-config-upload-image-python-builder
|
||||||
@ -1081,6 +1156,7 @@
|
|||||||
- system-config-promote-image-gerrit-2.15
|
- system-config-promote-image-gerrit-2.15
|
||||||
- system-config-promote-image-gerrit-2.16
|
- system-config-promote-image-gerrit-2.16
|
||||||
- system-config-promote-image-gerrit-3.0
|
- system-config-promote-image-gerrit-3.0
|
||||||
|
- system-config-promote-image-gerrit-master
|
||||||
- system-config-promote-image-haproxy-statsd
|
- system-config-promote-image-haproxy-statsd
|
||||||
- system-config-promote-image-python-base
|
- system-config-promote-image-python-base
|
||||||
- system-config-promote-image-python-builder
|
- system-config-promote-image-python-builder
|
||||||
|
7
playbooks/zuul/gerrit/jgit.yaml
Normal file
7
playbooks/zuul/gerrit/jgit.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
- hosts: all
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
- name: Checkout jgit submodule
|
||||||
|
command: "git submodule update --init modules/jgit"
|
||||||
|
args:
|
||||||
|
chdir: /home/zuul/src/gerrit.googlesource.com/gerrit
|
Loading…
Reference in New Issue
Block a user