Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelespazzoli committed Jun 17, 2018
1 parent 5295a33 commit dbf7626
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cucumber-selenium-grid/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ openshift.withCluster() {
env.STAGE2 = "${projectBase}-stage"
env.STAGE3 = "${projectBase}-prod"
env.LABEL = "nodejs-slave-${UUID.randomUUID().toString()}"
env.APP_BASE_URL = "http://${APP_NAME}-${STAGE2}.${env.BASE_APP_DOMAIN}"
env.SELENIUM_URL = "http://zalenium.${STAGE2}.svc:4444/wd/hub"

}

pipeline {
Expand Down
1 change: 1 addition & 0 deletions cucumber-selenium-grid/applier/params/build-dev
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ NAMESPACE=todomvc-build
SOURCE_REPOSITORY_URL=https://github.com/raffaelespazzoli/container-pipelines
SOURCE_REPOSITORY_REF=selenium
APPLICATION_CONTEXT_DIR=examples/angularjs
BASE_APP_DOMAIN=apps.raffa1.casl-contrib.osp.rht-labs.com
7 changes: 6 additions & 1 deletion cucumber-selenium-grid/applier/templates/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ objects:
- name: "APPLICATION_SOURCE_REPO"
value: "${APPLICATION_SOURCE_REPO}"
- name: "CONTEXT_DIR"
value: "${APPLICATION_CONTEXT_DIR}"
value: "${APPLICATION_CONTEXT_DIR}"
- name: "BASE_APP_DOMAIN"
value: "${BASE_APP_DOMAIN}"
- apiVersion: v1
kind: BuildConfig
metadata:
Expand Down Expand Up @@ -117,3 +119,6 @@ parameters:
name: IMAGE_STREAM_TAG_NAME
required: true
value: nodejs:8
- description: the base domain that this app will have when accessed from outside OCP
name: BASE_APP_DOMAIN
required: true

0 comments on commit dbf7626

Please sign in to comment.