Merge "Refactor to support jobs invocations from other projects"
This commit is contained in:
commit
8c9b9a63bf
@ -1,20 +0,0 @@
|
|||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
- name: Run gate scripts
|
|
||||||
include_role:
|
|
||||||
name: osh-run-script
|
|
||||||
vars:
|
|
||||||
gate_script_path: "{{ item }}"
|
|
||||||
with_items: "{{ gate_scripts }}"
|
|
@ -17,12 +17,6 @@
|
|||||||
# OpenStack Helm jobs
|
# OpenStack Helm jobs
|
||||||
# These will move with their playbooks inside the
|
# These will move with their playbooks inside the
|
||||||
# openstack-helm-infra repository
|
# openstack-helm-infra repository
|
||||||
- job:
|
|
||||||
name: openstack-helm-functional-temp
|
|
||||||
irrelevant-files:
|
|
||||||
- ^.*\.rst$
|
|
||||||
- ^doc/.*$
|
|
||||||
- ^releasenotes/.*$
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: openstack-helm-bandit
|
name: openstack-helm-bandit
|
||||||
@ -37,31 +31,33 @@
|
|||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: openstack-helm-chart-deploy
|
name: openstack-helm-chart-deploy
|
||||||
parent: openstack-helm-functional-temp
|
parent: openstack-helm-infra-functional
|
||||||
roles:
|
roles:
|
||||||
- zuul: openstack/openstack-helm-infra
|
- zuul: openstack/openstack-helm-infra
|
||||||
timeout: 7200
|
timeout: 7200
|
||||||
vars:
|
vars:
|
||||||
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
||||||
osh_openstack_release: stein
|
osh_openstack_release: stein
|
||||||
|
gate_scripts: []
|
||||||
pre-run:
|
pre-run:
|
||||||
- tools/gate/playbooks/osh-infra-upgrade-host.yaml
|
- tools/gate/playbooks/osh-infra-upgrade-host.yaml
|
||||||
- tools/gate/playbooks/osh-infra-setup-firewall.yaml
|
- tools/gate/playbooks/osh-infra-setup-firewall.yaml
|
||||||
post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml
|
post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/openstack-helm-infra
|
- openstack/openstack-helm-infra
|
||||||
|
- openstack/openstack-helm
|
||||||
nodeset: openstack-helm-single-node
|
nodeset: openstack-helm-single-node
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: openstack-helm-keystone-ldap
|
name: openstack-helm-keystone-ldap
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
vars:
|
vars:
|
||||||
osh_params:
|
osh_params:
|
||||||
openstack_release: stein
|
openstack_release: stein
|
||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
feature_gates: ldap
|
feature_gates: ldap
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/deploy-k8s.sh
|
- ./tools/deployment/common/deploy-k8s.sh
|
||||||
@ -77,12 +73,12 @@
|
|||||||
- job:
|
- job:
|
||||||
name: openstack-helm-cinder
|
name: openstack-helm-cinder
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
vars:
|
vars:
|
||||||
osh_params:
|
osh_params:
|
||||||
openstack_release: stein
|
openstack_release: stein
|
||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/setup-ceph-loopback-device.sh
|
- ./tools/deployment/common/setup-ceph-loopback-device.sh
|
||||||
@ -167,12 +163,12 @@
|
|||||||
- job:
|
- job:
|
||||||
name: openstack-helm-compute-kit
|
name: openstack-helm-compute-kit
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
vars:
|
vars:
|
||||||
osh_params:
|
osh_params:
|
||||||
openstack_release: stein
|
openstack_release: stein
|
||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/deploy-k8s.sh
|
- ./tools/deployment/common/deploy-k8s.sh
|
||||||
@ -261,7 +257,6 @@
|
|||||||
- job:
|
- job:
|
||||||
name: openstack-helm-horizon-stein-ubuntu_bionic
|
name: openstack-helm-horizon-stein-ubuntu_bionic
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
files:
|
files:
|
||||||
- ^horizon/.*$
|
- ^horizon/.*$
|
||||||
- ^zuul\.d/.*$
|
- ^zuul\.d/.*$
|
||||||
@ -271,6 +266,7 @@
|
|||||||
openstack_release: stein
|
openstack_release: stein
|
||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/deploy-k8s.sh
|
- ./tools/deployment/common/deploy-k8s.sh
|
||||||
@ -319,7 +315,6 @@
|
|||||||
- job:
|
- job:
|
||||||
name: openstack-helm-apparmor
|
name: openstack-helm-apparmor
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
timeout: 9600
|
timeout: 9600
|
||||||
vars:
|
vars:
|
||||||
osh_params:
|
osh_params:
|
||||||
@ -327,6 +322,7 @@
|
|||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
feature_gates: apparmor
|
feature_gates: apparmor
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/deploy-k8s.sh
|
- ./tools/deployment/common/deploy-k8s.sh
|
||||||
@ -350,7 +346,6 @@
|
|||||||
- job:
|
- job:
|
||||||
name: openstack-helm-apparmor-cinder
|
name: openstack-helm-apparmor-cinder
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
timeout: 9600
|
timeout: 9600
|
||||||
vars:
|
vars:
|
||||||
osh_params:
|
osh_params:
|
||||||
@ -358,6 +353,7 @@
|
|||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
feature_gates: apparmor
|
feature_gates: apparmor
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/setup-ceph-loopback-device.sh
|
- ./tools/deployment/common/setup-ceph-loopback-device.sh
|
||||||
@ -376,13 +372,13 @@
|
|||||||
name: openstack-helm-netpol-compute-kit-train
|
name: openstack-helm-netpol-compute-kit-train
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
timeout: 7200
|
timeout: 7200
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
vars:
|
vars:
|
||||||
osh_params:
|
osh_params:
|
||||||
openstack_release: train
|
openstack_release: train
|
||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
feature_gates: netpol
|
feature_gates: netpol
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/deploy-k8s.sh
|
- ./tools/deployment/common/deploy-k8s.sh
|
||||||
@ -420,6 +416,7 @@
|
|||||||
openstack_release: train
|
openstack_release: train
|
||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/deploy-k8s.sh
|
- ./tools/deployment/common/deploy-k8s.sh
|
||||||
@ -442,13 +439,13 @@
|
|||||||
name: openstack-helm-netpol-compute-kit
|
name: openstack-helm-netpol-compute-kit
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
timeout: 7200
|
timeout: 7200
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
vars:
|
vars:
|
||||||
osh_params:
|
osh_params:
|
||||||
openstack_release: stein
|
openstack_release: stein
|
||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
feature_gates: netpol
|
feature_gates: netpol
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/deploy-k8s.sh
|
- ./tools/deployment/common/deploy-k8s.sh
|
||||||
@ -475,13 +472,13 @@
|
|||||||
name: openstack-helm-netpol-cinder
|
name: openstack-helm-netpol-cinder
|
||||||
parent: openstack-helm-chart-deploy
|
parent: openstack-helm-chart-deploy
|
||||||
timeout: 7200
|
timeout: 7200
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
vars:
|
vars:
|
||||||
osh_params:
|
osh_params:
|
||||||
openstack_release: stein
|
openstack_release: stein
|
||||||
container_distro_name: ubuntu
|
container_distro_name: ubuntu
|
||||||
container_distro_version: bionic
|
container_distro_version: bionic
|
||||||
feature_gates: netpol
|
feature_gates: netpol
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/common/install-packages.sh
|
- ./tools/deployment/common/install-packages.sh
|
||||||
- ./tools/deployment/common/setup-ceph-loopback-device.sh
|
- ./tools/deployment/common/setup-ceph-loopback-device.sh
|
||||||
@ -502,7 +499,7 @@
|
|||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: openstack-helm-multinode-temp
|
name: openstack-helm-multinode-temp
|
||||||
parent: openstack-helm-functional-temp
|
parent: openstack-helm-infra-functional
|
||||||
roles:
|
roles:
|
||||||
- zuul: openstack/openstack-helm-infra
|
- zuul: openstack/openstack-helm-infra
|
||||||
vars:
|
vars:
|
||||||
@ -522,7 +519,7 @@
|
|||||||
- job:
|
- job:
|
||||||
timeout: 9600
|
timeout: 9600
|
||||||
name: openstack-helm-armada-deploy
|
name: openstack-helm-armada-deploy
|
||||||
parent: openstack-helm-functional-temp
|
parent: openstack-helm-infra-functional
|
||||||
nodeset: openstack-helm-five-node-ubuntu
|
nodeset: openstack-helm-five-node-ubuntu
|
||||||
roles:
|
roles:
|
||||||
- zuul: openstack/openstack-helm-infra
|
- zuul: openstack/openstack-helm-infra
|
||||||
@ -531,7 +528,6 @@
|
|||||||
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
|
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
|
||||||
- tools/gate/playbooks/osh-infra-build.yaml
|
- tools/gate/playbooks/osh-infra-build.yaml
|
||||||
- tools/gate/playbooks/osh-infra-deploy-k8s.yaml
|
- tools/gate/playbooks/osh-infra-deploy-k8s.yaml
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
post-run:
|
post-run:
|
||||||
- tools/gate/playbooks/osh-infra-collect-logs.yaml
|
- tools/gate/playbooks/osh-infra-collect-logs.yaml
|
||||||
- tools/gate/playbooks/gather-armada-manifests.yaml
|
- tools/gate/playbooks/gather-armada-manifests.yaml
|
||||||
@ -539,6 +535,7 @@
|
|||||||
- openstack/openstack-helm-infra
|
- openstack/openstack-helm-infra
|
||||||
vars:
|
vars:
|
||||||
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/armada/010-armada-host-setup.sh
|
- ./tools/deployment/armada/010-armada-host-setup.sh
|
||||||
- ./tools/deployment/armada/015-armada-build.sh
|
- ./tools/deployment/armada/015-armada-build.sh
|
||||||
@ -549,7 +546,7 @@
|
|||||||
- job:
|
- job:
|
||||||
timeout: 9600
|
timeout: 9600
|
||||||
name: openstack-helm-armada-update-uuid
|
name: openstack-helm-armada-update-uuid
|
||||||
parent: openstack-helm-functional-temp
|
parent: openstack-helm-infra-functional
|
||||||
nodeset: openstack-helm-five-node-ubuntu
|
nodeset: openstack-helm-five-node-ubuntu
|
||||||
roles:
|
roles:
|
||||||
- zuul: openstack/openstack-helm-infra
|
- zuul: openstack/openstack-helm-infra
|
||||||
@ -558,7 +555,6 @@
|
|||||||
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
|
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
|
||||||
- tools/gate/playbooks/osh-infra-build.yaml
|
- tools/gate/playbooks/osh-infra-build.yaml
|
||||||
- tools/gate/playbooks/osh-infra-deploy-k8s.yaml
|
- tools/gate/playbooks/osh-infra-deploy-k8s.yaml
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
post-run:
|
post-run:
|
||||||
- tools/gate/playbooks/osh-infra-collect-logs.yaml
|
- tools/gate/playbooks/osh-infra-collect-logs.yaml
|
||||||
- tools/gate/playbooks/gather-armada-manifests.yaml
|
- tools/gate/playbooks/gather-armada-manifests.yaml
|
||||||
@ -566,6 +562,7 @@
|
|||||||
- openstack/openstack-helm-infra
|
- openstack/openstack-helm-infra
|
||||||
vars:
|
vars:
|
||||||
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/armada/010-armada-host-setup.sh
|
- ./tools/deployment/armada/010-armada-host-setup.sh
|
||||||
- ./tools/deployment/armada/015-armada-build.sh
|
- ./tools/deployment/armada/015-armada-build.sh
|
||||||
@ -577,7 +574,7 @@
|
|||||||
- job:
|
- job:
|
||||||
timeout: 10800
|
timeout: 10800
|
||||||
name: openstack-helm-armada-update-passwords
|
name: openstack-helm-armada-update-passwords
|
||||||
parent: openstack-helm-functional-temp
|
parent: openstack-helm-infra-functional
|
||||||
nodeset: openstack-helm-five-node-ubuntu
|
nodeset: openstack-helm-five-node-ubuntu
|
||||||
roles:
|
roles:
|
||||||
- zuul: openstack/openstack-helm-infra
|
- zuul: openstack/openstack-helm-infra
|
||||||
@ -586,7 +583,6 @@
|
|||||||
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
|
- tools/gate/playbooks/osh-infra-deploy-docker.yaml
|
||||||
- tools/gate/playbooks/osh-infra-build.yaml
|
- tools/gate/playbooks/osh-infra-build.yaml
|
||||||
- tools/gate/playbooks/osh-infra-deploy-k8s.yaml
|
- tools/gate/playbooks/osh-infra-deploy-k8s.yaml
|
||||||
run: tools/gate/playbooks/osh-gate-runner.yaml
|
|
||||||
post-run:
|
post-run:
|
||||||
- tools/gate/playbooks/osh-infra-collect-logs.yaml
|
- tools/gate/playbooks/osh-infra-collect-logs.yaml
|
||||||
- tools/gate/playbooks/gather-armada-manifests.yaml
|
- tools/gate/playbooks/gather-armada-manifests.yaml
|
||||||
@ -594,6 +590,7 @@
|
|||||||
- openstack/openstack-helm-infra
|
- openstack/openstack-helm-infra
|
||||||
vars:
|
vars:
|
||||||
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
zuul_osh_infra_relative_path: ../openstack-helm-infra/
|
||||||
|
gate_scripts_relative_path: ../openstack-helm
|
||||||
gate_scripts:
|
gate_scripts:
|
||||||
- ./tools/deployment/armada/010-armada-host-setup.sh
|
- ./tools/deployment/armada/010-armada-host-setup.sh
|
||||||
- ./tools/deployment/armada/015-armada-build.sh
|
- ./tools/deployment/armada/015-armada-build.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user