Run gerrit 3.2 and 3.3 functional tests
This change splits our existing system-config-run-review job into two jobs, one for gerrit 3.2 and another for 3.3. The biggest change is that we use a var called zuul_test_gerrit_version to select which version we want and that ends up in the fake group file written out by Zuul for the nested ansible run. The nested ansible run will then populate the docker-compose file with the appropriate version for us. Change-Id: I00b52c0f4aa8df3ecface964007fcf5724887e5e
This commit is contained in:
parent
7320c8e6ed
commit
9b90e192b1
@ -91,3 +91,4 @@ gerrit_run_init_dev_mode: true
|
|||||||
gerrit_storyboard_token: 52514e74-4b8f-4d6d-a29a-a6262f97578a
|
gerrit_storyboard_token: 52514e74-4b8f-4d6d-a29a-a6262f97578a
|
||||||
gerrit_email_private_key: wjpkxebohgbid6rpuwpfrYsouxpgseluqir6yupppBczoezj
|
gerrit_email_private_key: wjpkxebohgbid6rpuwpfrYsouxpgseluqir6yupppBczoezj
|
||||||
gerrit_rest_token_private_key: A83fAC8x72wxcu
|
gerrit_rest_token_private_key: A83fAC8x72wxcu
|
||||||
|
gerrit_container_image: "docker.io/opendevorg/gerrit:{{ zuul_test_gerrit_version | default('3.2') }}"
|
||||||
|
@ -55,11 +55,16 @@
|
|||||||
- name: system-config-build-image-grafana
|
- name: system-config-build-image-grafana
|
||||||
soft: true
|
soft: true
|
||||||
- system-config-run-graphite
|
- system-config-run-graphite
|
||||||
- system-config-run-review:
|
- system-config-run-review-3.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: opendev-buildset-registry
|
- name: opendev-buildset-registry
|
||||||
- name: system-config-build-image-gerrit-3.2
|
- name: system-config-build-image-gerrit-3.2
|
||||||
soft: true
|
soft: true
|
||||||
|
- system-config-run-review-3.3:
|
||||||
|
dependencies:
|
||||||
|
- name: opendev-buildset-registry
|
||||||
|
- name: system-config-build-image-gerrit-3.3
|
||||||
|
soft: true
|
||||||
- system-config-build-image-refstack
|
- system-config-build-image-refstack
|
||||||
- system-config-run-refstack:
|
- system-config-run-refstack:
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -155,11 +160,16 @@
|
|||||||
- name: system-config-upload-image-grafana
|
- name: system-config-upload-image-grafana
|
||||||
soft: true
|
soft: true
|
||||||
- system-config-run-graphite
|
- system-config-run-graphite
|
||||||
- system-config-run-review:
|
- system-config-run-review-3.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: opendev-buildset-registry
|
- name: opendev-buildset-registry
|
||||||
- name: system-config-upload-image-gerrit-3.2
|
- name: system-config-upload-image-gerrit-3.2
|
||||||
soft: true
|
soft: true
|
||||||
|
- system-config-run-review-3.3:
|
||||||
|
dependencies:
|
||||||
|
- name: opendev-buildset-registry
|
||||||
|
- name: system-config-upload-image-gerrit-3.3
|
||||||
|
soft: true
|
||||||
- system-config-run-refstack:
|
- system-config-run-refstack:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: system-config-build-image-refstack
|
- name: system-config-build-image-refstack
|
||||||
|
@ -822,11 +822,10 @@
|
|||||||
- testinfra/util.py
|
- testinfra/util.py
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: system-config-run-review
|
name: system-config-run-review-base
|
||||||
parent: system-config-run-containers
|
parent: system-config-run-containers
|
||||||
description: |
|
description: |
|
||||||
Run the playbook for gerrit (in a container).
|
Base job for testing gerrit
|
||||||
requires: gerrit-3.2-container-image
|
|
||||||
nodeset:
|
nodeset:
|
||||||
nodes:
|
nodes:
|
||||||
- name: bridge.openstack.org
|
- name: bridge.openstack.org
|
||||||
@ -866,6 +865,24 @@
|
|||||||
- testinfra/test_gerrit.py
|
- testinfra/test_gerrit.py
|
||||||
- docker/gerrit/
|
- docker/gerrit/
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: system-config-run-review-3.2
|
||||||
|
parent: system-config-run-review-base
|
||||||
|
description: |
|
||||||
|
Run the playbook for gerrit 3.2 (in a container).
|
||||||
|
requires: gerrit-3.2-container-image
|
||||||
|
vars:
|
||||||
|
zuul_test_gerrit_version: '3.2'
|
||||||
|
|
||||||
|
- 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-static
|
name: system-config-run-static
|
||||||
parent: system-config-run
|
parent: system-config-run
|
||||||
|
Loading…
Reference in New Issue
Block a user