[jboss-jira] [JBoss JIRA] (SWSQE-184) Validate that Service-Meshes were succesfully deployed
Guilherme Baufaker Rêgo (JIRA)
issues at jboss.org
Mon Apr 30 10:03:00 EDT 2018
[ https://issues.jboss.org/browse/SWSQE-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13568835#comment-13568835 ]
Guilherme Baufaker Rêgo edited comment on SWSQE-184 at 4/30/18 10:02 AM:
-------------------------------------------------------------------------
Added the following lines to verify it if test mesh is deployed:
{code:yaml}
- name: Wait until all pods are running
openshift_raw:
definition:
apiVersion: v1
kind: ReplicaSet
metadata:
name: "kiali-test-service-{{item[1]}}"
namespace: "{{item[0]}}"
spec:
selector:
matchLabels:
kiali-test: "test-service-{{item[1]}}"
with_nested:
- ['kiali-test-depth', 'kiali-test-breath', 'kiali-test-circle', 'kiali-test-circle-callback', 'kiali-test-hourglass', 'kiali-test-box', 'kiali-test-depth-sink', 'kiali-test-breath-sink']
- ['a', 'b', 'c', 'd', 'e', 'f']
register: replicaResult
until: "replicaResult.result.status.ready_replicas != 'null'"
retries: 20
delay: 10
{code}
was (Author: gbaufake):
Added the following lines to verify it if test mesh is deployed:
- name: Wait until all pods are running
openshift_raw:
definition:
apiVersion: v1
kind: ReplicaSet
metadata:
name: "kiali-test-service-{{item[1]}}"
namespace: "{{item[0]}}"
spec:
selector:
matchLabels:
kiali-test: "test-service-{{item[1]}}"
with_nested:
- ['kiali-test-depth', 'kiali-test-breath', 'kiali-test-circle', 'kiali-test-circle-callback', 'kiali-test-hourglass', 'kiali-test-box', 'kiali-test-depth-sink', 'kiali-test-breath-sink']
- ['a', 'b', 'c', 'd', 'e', 'f']
register: replicaResult
until: "replicaResult.result.status.ready_replicas != 'null'"
retries: 20
delay: 10
> Validate that Service-Meshes were succesfully deployed
> ------------------------------------------------------
>
> Key: SWSQE-184
> URL: https://issues.jboss.org/browse/SWSQE-184
> Project: Kiali QE
> Issue Type: Sub-task
> Reporter: Matt Mahoney
> Assignee: Guilherme Baufaker Rêgo
>
> Some automation scripts will fail if test-meshes are not up and running prior to tests being run. Thus this task is to create a script that will validate that all service-mesh pods being successfully started.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list