WIP: fix osh-addons gate

Change-Id: Id964cbefbc0d2886fc4970dde33e102679bf9758
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2018-08-05 08:45:37 -05:00 committed by Steve Wilkerson
parent d56a9ef396
commit 3afa22eebb
4 changed files with 39 additions and 14 deletions

View File

@ -34,10 +34,11 @@
nodeset: openstack-helm-single-node
- job:
name: openstack-helm-addons
name: openstack-helm-addons-ubuntu
roles:
- zuul: openstack/openstack-helm-infra
vars:
osh_openstack_release: newton
zuul_osh_infra_relative_path: ../openstack-helm-infra/
timeout: 7200
pre-run:
@ -49,8 +50,4 @@
post-run: tools/gate/playbooks/osh-infra-collect-logs.yaml
required-projects:
- openstack/openstack-helm-infra
- job:
name: openstack-helm-addons-ubuntu
parent: openstack-helm-addons
nodeset: openstack-helm-single-node
nodeset: openstack-helm-ubuntu

View File

@ -19,4 +19,4 @@
set -xe;
./tools/gate/scripts/build-charts.sh
args:
chdir: "{{ zuul_osh_relative_path | default(zuul.project.src_dir) }}"
chdir: "{{ zuul_osh_addons_relative_path | default(zuul.project.src_dir) }}"

View File

@ -18,13 +18,41 @@
logs_dir: "/tmp/logs"
roles:
- gather-host-logs
- helm-release-status
- describe-kubernetes-objects
- gather-pod-logs
- gather-prom-metrics
tags:
- gather-host-logs
- hosts: primary
vars:
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
logs_dir: "/tmp/logs"
roles:
- helm-release-status
tags:
- helm-release-status
- hosts: primary
vars:
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
logs_dir: "/tmp/logs"
roles:
- describe-kubernetes-objects
tags:
- describe-kubernetes-objects
- hosts: primary
vars:
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
logs_dir: "/tmp/logs"
roles:
- gather-pod-logs
- gather-prom-metrics
tags:
- gather-pod-logs
- hosts: primary
vars:
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
logs_dir: "/tmp/logs"
roles:
- gather-prom-metrics
tags:
- gather-prom-metrics

View File

@ -35,9 +35,9 @@
- setup-firewall
- deploy-python-pip
- deploy-docker
- deploy-yq
- deploy-jq
tags:
- setup-firewall
- deploy-python-pip
- deploy-docker
- deploy-yq
- deploy-jq