Skip to content

Commit

Permalink
Merge pull request sclorg#10 from rhcarvalho/git-ref
Browse files Browse the repository at this point in the history
Add SOURCE_REPOSITORY_REF parameter
  • Loading branch information
Michal Fojtik committed Jun 16, 2015
2 parents 05fd380 + b1ea0a9 commit b0b566c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion openshift/templates/nodejs.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
"source": {
"type": "Git",
"git": {
"uri": "${SOURCE_REPOSITORY_URL}"
"uri": "${SOURCE_REPOSITORY_URL}",
"ref": "${SOURCE_REPOSITORY_REF}"
},
"contextDir": "${CONTEXT_DIR}"
},
Expand Down Expand Up @@ -170,6 +171,10 @@
"description": "The URL of the repository with your application source code",
"value": "https://github.com/openshift/nodejs-ex.git"
},
{
"name": "SOURCE_REPOSITORY_REF",
"description": "Set this to a branch name, tag or other ref of your repository if you are not using the default branch"
},
{
"name": "CONTEXT_DIR",
"description": "Set this to the relative path to your project if it is not in the root of your repository"
Expand Down

0 comments on commit b0b566c

Please sign in to comment.