Merge "Gate: simplify playbooks"

This commit is contained in:
Zuul 2019-01-14 17:55:19 +00:00 committed by Gerrit Code Review
commit 6bd70a9fc6
2 changed files with 7 additions and 42 deletions

View File

@ -31,38 +31,11 @@
logs_dir: "/tmp/logs" logs_dir: "/tmp/logs"
roles: roles:
- helm-release-status - helm-release-status
- describe-kubernetes-objects
- gather-pod-logs
- gather-prom-metrics
tags: tags:
- helm-release-status - 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 - 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 - 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 gather_facts: True
roles: roles:
- build-helm-packages - 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 - deploy-kubeadm-aio-master
tags: tags:
- deploy-kube-master - build-helm-packages
- deploy-kubeadm-aio-master
- hosts: nodes - hosts: nodes
vars_files: vars_files:
@ -41,4 +33,4 @@
roles: roles:
- deploy-kubeadm-aio-node - deploy-kubeadm-aio-node
tags: tags:
- deploy-kube-nodes - deploy-kubeadm-aio-node