Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelespazzoli committed Jun 14, 2018
1 parent ec8fde3 commit 5295a33
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions cucumber-selenium-grid/README1.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
oc new-project selenium
oc new-app registry.access.redhat.com/rhoar-nodejs/nodejs-8~https://github.com/raffaelespazzoli/todomvc --context-dir examples/angularjs --name todomvc

oc new-build --strategy=docker --name=jenkins-slave-nodejs8
oc start-build -F jenkins-slave-protractor --from-dir=.


setup
```
oc process -f applier/projects/projects.yml | oc apply -f -
oc process openshift//jenkins-ephemeral | oc apply -f- -n todomvc-build
oc new-build --strategy docker --name jenkins-slave-nodejs8 --context-dir cucumber-selenium-grid/nodejs-slave https://github.com/raffaelespazzoli/container-pipelines#selenium -n todomvc-build
Expand All @@ -16,9 +10,11 @@ oc process -f applier/templates/build.yml --param-file applier/params/build-dev
oc adm policy add-scc-to-user anyuid -z zalenium -n todomvc-stage
oc adm policy add-cluster-role-to-user zalenium-role -z zalenium -n todomvc-stage
oc process -f applier/templates/selenium-grid.yaml NAMESPACE=todomvc-stage | oc apply -f -


```
delete
```
oc delete project todomvc-build
oc delete project todomvc-dev
oc delete project todomvc-stage
oc delete project todomvc-prod
oc delete project todomvc-prod
```

0 comments on commit 5295a33

Please sign in to comment.