Merge "Add Gerrit 3.10 upgrade testing"
This commit is contained in:
commit
136d3be3c0
@ -7,7 +7,7 @@
|
|||||||
- name: Ensure initial gerrit state without starting Gerrit
|
- name: Ensure initial gerrit state without starting Gerrit
|
||||||
import_playbook: ../service-review.yaml
|
import_playbook: ../service-review.yaml
|
||||||
vars:
|
vars:
|
||||||
gerrit_container_image: docker.io/opendevorg/gerrit:3.8
|
gerrit_container_image: docker.io/opendevorg/gerrit:3.9
|
||||||
gerrit_run_init: false
|
gerrit_run_init: false
|
||||||
gerrit_run_reindex: false
|
gerrit_run_reindex: false
|
||||||
gerrit_run_compose_up: false
|
gerrit_run_compose_up: false
|
||||||
@ -35,7 +35,7 @@
|
|||||||
- name: Start Gerrit on the old version of Gerrit
|
- name: Start Gerrit on the old version of Gerrit
|
||||||
import_playbook: ../service-review.yaml
|
import_playbook: ../service-review.yaml
|
||||||
vars:
|
vars:
|
||||||
gerrit_container_image: docker.io/opendevorg/gerrit:3.8
|
gerrit_container_image: docker.io/opendevorg/gerrit:3.9
|
||||||
|
|
||||||
- hosts: "review:!disabled"
|
- hosts: "review:!disabled"
|
||||||
name: "Wait for gerrit to be up and running"
|
name: "Wait for gerrit to be up and running"
|
||||||
@ -84,9 +84,9 @@
|
|||||||
- name: Perform gerrit upgrade
|
- name: Perform gerrit upgrade
|
||||||
import_playbook: ../service-review.yaml
|
import_playbook: ../service-review.yaml
|
||||||
vars:
|
vars:
|
||||||
gerrit_container_image: docker.io/opendevorg/gerrit:3.9
|
gerrit_container_image: docker.io/opendevorg/gerrit:3.10
|
||||||
gerrit_run_init: true
|
gerrit_run_init: true
|
||||||
# Gerrit 3.8 -> 3.9 upgrade does not require an offline reindex
|
# Gerrit 3.9 -> 3.10 upgrade does not require an offline reindex
|
||||||
gerrit_run_reindex: false
|
gerrit_run_reindex: false
|
||||||
|
|
||||||
- hosts: "review:!disabled"
|
- hosts: "review:!disabled"
|
||||||
|
@ -73,15 +73,13 @@
|
|||||||
- name: opendev-buildset-registry
|
- name: opendev-buildset-registry
|
||||||
- name: system-config-build-image-gerrit-3.10
|
- name: system-config-build-image-gerrit-3.10
|
||||||
soft: true
|
soft: true
|
||||||
# Temporarily disabled until we have 3.10 images and
|
- system-config-upgrade-review:
|
||||||
# perform a 3.9 -> 3.10 upgrade test.
|
dependencies:
|
||||||
#- system-config-upgrade-review:
|
- name: opendev-buildset-registry
|
||||||
# dependencies:
|
- name: system-config-build-image-gerrit-3.9
|
||||||
# - name: opendev-buildset-registry
|
soft: true
|
||||||
# - name: system-config-build-image-gerrit-3.8
|
- name: system-config-build-image-gerrit-3.10
|
||||||
# soft: true
|
soft: true
|
||||||
# - name: system-config-build-image-gerrit-3.9
|
|
||||||
# soft: true
|
|
||||||
- system-config-build-image-refstack
|
- system-config-build-image-refstack
|
||||||
- system-config-run-refstack:
|
- system-config-run-refstack:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -1101,22 +1101,20 @@
|
|||||||
vars:
|
vars:
|
||||||
zuul_test_gerrit_version: '3.10'
|
zuul_test_gerrit_version: '3.10'
|
||||||
|
|
||||||
# Temporarily disabled until we have 3.10 images and
|
- job:
|
||||||
# perform a 3.9 -> 3.10 upgrade test.
|
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.9 to 3.10
|
||||||
# description: |
|
requires:
|
||||||
# Test we can upgrade a gerrit 3.8 to 3.9
|
- gerrit-3.9-container-image
|
||||||
# requires:
|
- gerrit-3.10-container-image
|
||||||
# - gerrit-3.8-container-image
|
vars:
|
||||||
# - gerrit-3.9-container-image
|
run_playbooks:
|
||||||
# vars:
|
- playbooks/letsencrypt.yaml
|
||||||
# run_playbooks:
|
- playbooks/zuul/upgrade-review.yaml
|
||||||
# - playbooks/letsencrypt.yaml
|
run_test_playbook: playbooks/zuul/test-review.yaml
|
||||||
# - playbooks/zuul/upgrade-review.yaml
|
zuul_test_gerrit_version: '3.9'
|
||||||
# run_test_playbook: playbooks/zuul/test-review.yaml
|
|
||||||
# zuul_test_gerrit_version: '3.8'
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: system-config-run-static
|
name: system-config-run-static
|
||||||
|
Loading…
Reference in New Issue
Block a user