Selenium grid template completed.
This commit is contained in:
		@ -89,23 +89,16 @@ Once OpenShift Pipelines is installed we can create an example pipeline to demon
 | 
				
			|||||||
# Create namespace for application test environment
 | 
					# Create namespace for application test environment
 | 
				
			||||||
oc new-project parksmap-tst
 | 
					oc new-project parksmap-tst
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					oc --namespace "parksmap-tst" create -f selenium-grid/template.yaml
 | 
				
			||||||
 | 
					oc --namespace "parksmap-tst" process selenium-hub-parksmap | oc --namespace "parksmap-tst" create -f -
 | 
				
			||||||
# Create pipeline
 | 
					# Create pipeline
 | 
				
			||||||
cat << EOF | oc apply --filename -
 | 
					#cat << EOF | oc apply --filename -
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
EOF
 | 
					#EOF
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#+RESULTS:
 | 
					#+RESULTS:
 | 
				
			||||||
#+begin_example
 | 
					: service/selenium-hub-parksmap created
 | 
				
			||||||
Now using project "parksmap-tst" on server "https://api.cluster-272j9.dynamic.redhatworkshops.io:6443".
 | 
					: deploymentconfig.apps.openshift.io/selenium-hub-parksmap created
 | 
				
			||||||
 | 
					: route.route.openshift.io/selenium-hub-parksmap created
 | 
				
			||||||
You can add applications to this project with the 'new-app' command. For example, try:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    oc new-app rails-postgresql-example
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    kubectl create deployment hello-node --image=k8s.gcr.io/e2e-test-images/agnhost:2.33 -- /agnhost serve-hostname
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#+end_example
 | 
					 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
apiVersion: v1
 | 
					apiVersion: template.openshift.io/v1
 | 
				
			||||||
kind: Template
 | 
					kind: Template
 | 
				
			||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
  name: selenium-hub-parksmap
 | 
					  name: selenium-hub-parksmap
 | 
				
			||||||
@ -88,5 +88,5 @@ objects:
 | 
				
			|||||||
        kind: Service
 | 
					        kind: Service
 | 
				
			||||||
        name: selenium-hub-parksmap
 | 
					        name: selenium-hub-parksmap
 | 
				
			||||||
        weight: 100
 | 
					        weight: 100
 | 
				
			||||||
  labels:
 | 
					labels:
 | 
				
			||||||
    selenium-hub: master
 | 
					  selenium-hub: master
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user