Merge "Stop building Gerrit 3.3 images"

This commit is contained in:
Zuul 2022-02-03 05:50:59 +00:00 committed by Gerrit Code Review
commit fd3cd75f7c
3 changed files with 22 additions and 141 deletions

View File

@ -39,97 +39,6 @@
vars: *gerrit-base_vars vars: *gerrit-base_vars
files: *gerrit-base_files files: *gerrit-base_files
# Gerrit 3.3 jobs
- job:
name: system-config-build-image-gerrit-3.3
description: Build a gerrit image.
parent: system-config-build-image
pre-run:
- playbooks/zuul/gerrit/repos.yaml
- playbooks/zuul/gerrit/submodules.yaml
run: playbooks/zuul/gerrit/run.yaml
requires: gerrit-base-container-image
provides: gerrit-3.3-container-image
required-projects: &gerrit_projects_3_3
- name: opendev/system-config
override-checkout: master
- name: gerrit.googlesource.com/gerrit
override-checkout: stable-3.3
# Backend behavior plugins
- name: gerrit.googlesource.com/plugins/commit-message-length-validator
override-checkout: v3.3.9
- name: gerrit.googlesource.com/plugins/delete-project
override-checkout: stable-3.3
- name: gerrit.googlesource.com/plugins/hooks
override-checkout: v3.3.9
- name: gerrit.googlesource.com/plugins/its-base
# There is no 3.3 branch
override-checkout: master
- name: gerrit.googlesource.com/plugins/its-storyboard
# There is no 3.3 branch
override-checkout: master
- name: gerrit.googlesource.com/plugins/plugin-manager
override-checkout: v3.3.9
- name: gerrit.googlesource.com/plugins/replication
override-checkout: stable-3.3
- name: gerrit.googlesource.com/plugins/reviewnotes
override-checkout: v3.3.9
- name: gerrit.googlesource.com/plugins/singleusergroup
override-checkout: stable-3.3
- name: gerrit.googlesource.com/plugins/webhooks
override-checkout: stable-3.3
# UI behavior plugins
- name: gerrit.googlesource.com/plugins/codemirror-editor
override-checkout: stable-3.3
- name: gerrit.googlesource.com/plugins/download-commands
override-checkout: v3.3.9
- name: gerrit.googlesource.com/plugins/gitiles
override-checkout: stable-3.3
- name: gerrit.googlesource.com/plugins/zuul-results-summary
override-checkout: main
# Non plugin submodules
- name: gerrit.googlesource.com/jgit
override-checkout: master
- name: gerrit.googlesource.com/polymer-bridges
override-checkout: v3.3.9
vars: &gerrit_vars_3_3
docker_images:
- context: docker/gerrit/bazel
repository: opendevorg/gerrit
target: gerrit
path: /home/zuul/src/gerrit.googlesource.com/gerrit
tags:
- 3.3
files: &gerrit_files_3_3
- docker/gerrit/base/
- docker/gerrit/bazel/
- playbooks/zuul/gerrit/
- playbooks/test-review.yaml
- testinfra/test_gerrit.py
- jeepyb/
- roles/bazelisk-build/
- job:
name: system-config-upload-image-gerrit-3.3
description: Build and upload a gerrit image.
parent: system-config-upload-image
pre-run:
- playbooks/zuul/gerrit/repos.yaml
- playbooks/zuul/gerrit/submodules.yaml
run: playbooks/zuul/gerrit/run.yaml
requires: gerrit-base-container-image
provides: gerrit-3.3-container-image
required-projects: *gerrit_projects_3_3
vars: *gerrit_vars_3_3
files: *gerrit_files_3_3
- job:
name: system-config-promote-image-gerrit-3.3
description: Promote a previously published gerrit image to latest.
parent: system-config-promote-image
vars: *gerrit_vars_3_3
files: *gerrit_files_3_3
# Gerrit 3.4 jobs # Gerrit 3.4 jobs
- job: - job:
name: system-config-build-image-gerrit-3.4 name: system-config-build-image-gerrit-3.4
@ -314,11 +223,6 @@
- name: opendev-buildset-registry - name: opendev-buildset-registry
- name: system-config-build-image-python-builder-3.9-bullseye - name: system-config-build-image-python-builder-3.9-bullseye
soft: true soft: true
- system-config-build-image-gerrit-3.3:
dependencies:
- name: opendev-buildset-registry
- name: system-config-build-image-gerrit-base
soft: true
- system-config-build-image-gerrit-3.4: - system-config-build-image-gerrit-3.4:
dependencies: dependencies:
- name: opendev-buildset-registry - name: opendev-buildset-registry
@ -337,11 +241,6 @@
- name: opendev-buildset-registry - name: opendev-buildset-registry
- name: system-config-upload-image-python-builder-3.9-bullseye - name: system-config-upload-image-python-builder-3.9-bullseye
soft: true soft: true
- system-config-upload-image-gerrit-3.3:
dependencies:
- name: opendev-buildset-registry
- name: system-config-upload-image-gerrit-base
soft: true
- system-config-upload-image-gerrit-3.4: - system-config-upload-image-gerrit-3.4:
dependencies: dependencies:
- name: opendev-buildset-registry - name: opendev-buildset-registry
@ -350,5 +249,4 @@
deploy: deploy:
jobs: jobs:
- system-config-promote-image-gerrit-base - system-config-promote-image-gerrit-base
- system-config-promote-image-gerrit-3.3
- system-config-promote-image-gerrit-3.4 - system-config-promote-image-gerrit-3.4

View File

@ -60,23 +60,19 @@
- name: opendev-buildset-registry - name: opendev-buildset-registry
- system-config-run-graphite - system-config-run-graphite
- system-config-run-keycloak - system-config-run-keycloak
- system-config-run-review-3.3:
dependencies:
- name: opendev-buildset-registry
- name: system-config-build-image-gerrit-3.3
soft: true
- system-config-run-review-3.4: - system-config-run-review-3.4:
dependencies: dependencies:
- name: opendev-buildset-registry - name: opendev-buildset-registry
- name: system-config-build-image-gerrit-3.4 - name: system-config-build-image-gerrit-3.4
soft: true soft: true
- system-config-upgrade-review: # TODO reenable when we have 3.5 images to upgrade to
dependencies: #- system-config-upgrade-review:
- name: opendev-buildset-registry # dependencies:
- name: system-config-build-image-gerrit-3.3 # - name: opendev-buildset-registry
soft: true # - name: system-config-build-image-gerrit-3.3
- name: system-config-build-image-gerrit-3.4 # soft: true
soft: true # - name: system-config-build-image-gerrit-3.4
# soft: true
- system-config-build-image-refstack - system-config-build-image-refstack
- system-config-run-refstack: - system-config-run-refstack:
dependencies: dependencies:
@ -218,11 +214,6 @@
- name: opendev-buildset-registry - name: opendev-buildset-registry
- system-config-run-graphite - system-config-run-graphite
- system-config-run-keycloak - system-config-run-keycloak
- system-config-run-review-3.3:
dependencies:
- name: opendev-buildset-registry
- name: system-config-upload-image-gerrit-3.3
soft: true
- system-config-run-review-3.4: - system-config-run-review-3.4:
dependencies: dependencies:
- name: opendev-buildset-registry - name: opendev-buildset-registry

View File

@ -952,15 +952,6 @@
- docker/gerrit/ - docker/gerrit/
- playbooks/zuul/upgrade-review.yaml - playbooks/zuul/upgrade-review.yaml
- job:
name: system-config-run-review-3.3
parent: system-config-run-review-base
description: |
Run the playbook for gerrit 3.3 (in a container).
requires: gerrit-3.3-container-image
vars:
zuul_test_gerrit_version: '3.3'
- job: - job:
name: system-config-run-review-3.4 name: system-config-run-review-3.4
parent: system-config-run-review-base parent: system-config-run-review-base
@ -970,19 +961,20 @@
vars: vars:
zuul_test_gerrit_version: '3.4' zuul_test_gerrit_version: '3.4'
- job: # TODO reenable this job when we have 3.5 images to upgrade to.
name: system-config-upgrade-review #- job:
parent: system-config-run-review-base # name: system-config-upgrade-review
description: | # parent: system-config-run-review-base
Test we can upgrade a gerrit 3.3 to 3.4 # description: |
requires: # Test we can upgrade a gerrit 3.3 to 3.4
- gerrit-3.3-container-image # requires:
- gerrit-3.4-container-image # - gerrit-3.3-container-image
vars: # - gerrit-3.4-container-image
run_playbooks: # vars:
- playbooks/letsencrypt.yaml # run_playbooks:
- playbooks/zuul/upgrade-review.yaml # - playbooks/letsencrypt.yaml
zuul_test_gerrit_version: '3.3' # - playbooks/zuul/upgrade-review.yaml
# zuul_test_gerrit_version: '3.3'
- job: - job:
name: system-config-run-static name: system-config-run-static