Gate: simplify playbooks

This PS simplifies the gate playbooks

Change-Id: I4dd7c892090f8eec10edf083b68dc3e3cc99ece9
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2018-05-17 01:59:48 -05:00 committed by Chris Wedgwood
parent e7d169f62a
commit a8b3787a1b
2 changed files with 7 additions and 42 deletions

View File

@ -31,38 +31,11 @@
logs_dir: "/tmp/logs"
roles:
- helm-release-status
- describe-kubernetes-objects
- gather-pod-logs
- gather-prom-metrics
tags:
- helm-release-status
- hosts: primary
vars_files:
- vars.yaml
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_files:
- vars.yaml
vars:
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
logs_dir: "/tmp/logs"
roles:
- gather-pod-logs
tags:
- gather-pod-logs
- hosts: primary
vars_files:
- vars.yaml
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
- gather-prom-metrics

View File

@ -20,18 +20,10 @@
gather_facts: True
roles:
- build-helm-packages
tags:
- build-helm-packages
- hosts: primary
vars_files:
- vars.yaml
vars:
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
roles:
- deploy-kubeadm-aio-master
tags:
- deploy-kube-master
- build-helm-packages
- deploy-kubeadm-aio-master
- hosts: nodes
vars_files:
@ -41,4 +33,4 @@
roles:
- deploy-kubeadm-aio-node
tags:
- deploy-kube-nodes
- deploy-kubeadm-aio-node