build_inf.sh: change the protocal for github repo
[pti/rtp.git] / meta-stx / recipes-core / stx-ansible-playbooks / files / 0006-bringup_helm-wait-after-initialize-helm-to-avoid-tim.patch
1 From 7841401dd8064e4fc9c6ba3e0b2e19ba51fc29b2 Mon Sep 17 00:00:00 2001
2 From: Jackie Huang <jackie.huang@windriver.com>
3 Date: Wed, 15 Apr 2020 11:05:30 +0800
4 Subject: [PATCH] bringup_helm: wait after initialize helm to avoid timeout
5
6 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
7 ---
8  .../roles/bootstrap/bringup-essential-services/tasks/bringup_helm.yml  | 3 +++
9  1 file changed, 3 insertions(+)
10
11 diff --git a/playbookconfig/src/playbooks/roles/bootstrap/bringup-essential-services/tasks/bringup_helm.yml b/playbookconfig/src/playbooks/roles/bootstrap/bringup-essential-services/tasks/bringup_helm.yml
12 index 32df992..de09070 100644
13 --- a/playbookconfig/src/playbooks/roles/bootstrap/bringup-essential-services/tasks/bringup_helm.yml
14 +++ b/playbookconfig/src/playbooks/roles/bootstrap/bringup-essential-services/tasks/bringup_helm.yml
15 @@ -193,6 +193,9 @@
16        recurse: yes
17    when: inventory_hostname != 'localhost'
18  
19 +- name: Wait 10s after Initialize Helm
20 +  wait_for: timeout=10
21 +
22  - name: Generate Helm repo indicies
23    command: helm repo index "{{ source_helm_bind_dir }}/{{ item }}"
24    become_user: www
25 -- 
26 2.7.4
27