Boot Ellis once homestead-depl is ready 21/70521/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Thu, 9 Jul 2020 15:10:28 +0000 (17:10 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 9 Jul 2020 15:12:39 +0000 (17:12 +0200)
Change-Id: If61a36020f3dfa5ba0a9858df769138257f9ec94
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 5bc18405d75e9d765cd707ff9a98c3553de4b0dd)

functest_kubernetes/ims/ellis-depl.yaml
functest_kubernetes/ims/homer-depl.yaml
functest_kubernetes/ims/homestead-depl.yaml
functest_kubernetes/ims/ralf-depl.yaml
functest_kubernetes/ims/sprout-depl.yaml

index 166774b..4d7953f 100644 (file)
@@ -13,9 +13,12 @@ spec:
         service: ellis
     spec:
       initContainers:
-        - name: wait-on-cassandra
+        - name: wait-on-homestead-prov
           image: busybox:1.28
-          command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
+          command: ['sh', '-c', 'until nslookup homestead-prov; do echo waiting for homestead-prov to start ...; sleep 2; done']
+        - name: wait-on-sprout
+          image: busybox:1.28
+          command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done']
       containers:
       - image: "ollivier/clearwater-ellis:latest"
         imagePullPolicy: Always
index 6f0434d..d4c90c9 100644 (file)
@@ -13,9 +13,9 @@ spec:
         service: homer
     spec:
       initContainers:
-        - name: wait-on-sprout
+        - name: wait-on-cassandra
           image: busybox:1.28
-          command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done']
+          command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
       containers:
       - image: "ollivier/clearwater-homer:latest"
         imagePullPolicy: Always
index 142a47e..f6c554d 100644 (file)
@@ -14,9 +14,12 @@ spec:
         snmp: enabled
     spec:
       initContainers:
-        - name: wait-on-sprout
+        - name: wait-on-cassandra
           image: busybox:1.28
-          command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done']
+          command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
+        - name: wait-on-astaire
+          image: busybox:1.28
+          command: ['sh', '-c', 'until nslookup astaire; do echo waiting for astaire to start ...; sleep 2; done']
       containers:
       - image: "ollivier/clearwater-homestead:latest"
         imagePullPolicy: Always
index 829e635..82bf525 100644 (file)
@@ -14,9 +14,9 @@ spec:
         snmp: enabled
     spec:
       initContainers:
-        - name: wait-on-sprout
+        - name: wait-on-cassandra
           image: busybox:1.28
-          command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done']
+          command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
       containers:
       - image: "ollivier/clearwater-ralf:latest"
         imagePullPolicy: Always
index af6bc66..93e16f5 100644 (file)
@@ -14,9 +14,15 @@ spec:
         snmp: enabled
     spec:
       initContainers:
-        - name: wait-on-cassandra
+        - name: wait-on-ralf
           image: busybox:1.28
-          command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done']
+          command: ['sh', '-c', 'until nslookup ralf; do echo waiting for ralf to start ...; sleep 2; done']
+        - name: wait-on-chronos
+          image: busybox:1.28
+          command: ['sh', '-c', 'until nslookup chronos; do echo waiting for chronos to start ...; sleep 2; done']
+        - name: wait-on-homestead
+          image: busybox:1.28
+          command: ['sh', '-c', 'until nslookup homestead; do echo waiting for homestead to start ...; sleep 2; done']
       containers:
       - image: "ollivier/clearwater-sprout:latest"
         imagePullPolicy: Always