Skip to content

Commit

Permalink
Merge pull request #56 from openshift-evangelists/oc-cluster-engineers
Browse files Browse the repository at this point in the history
oc-cluster engineer branch
  • Loading branch information
jorgemoralespou authored Feb 28, 2017
2 parents 1644f72 + a3e79a3 commit cafbf00
Show file tree
Hide file tree
Showing 10 changed files with 717 additions and 42 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
oc-cluster-completion
mounts.json
mounts-template.json
1 change: 1 addition & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
= OpenShift "oc cluster up" Wrapper script

*oc cluster up* is a great tool for doing local development in openshift, but it lacks some really interesting features to
be productive from a developer's perspective. This script helps developers with their casual/daily worksflows while using
*oc cluster* as the internal tool.
Expand Down
94 changes: 94 additions & 0 deletions mounts-template.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"bindMounts": [
{
"imagePattern": "openshift/wildfly.*",
"mounts": [
{
"source": "$M2_HOME",
"destination": "/opt/app-root/src/.m2/repository"
}
]
},
{
"imagePattern": "jorgemoralespou/s2i-java.*",
"mounts": [
{
"source": "$M2_HOME",
"destination": "/opt/app-root/src/.m2/repository"
}
]
},
{
"imagePattern": "openshift/origin-sti-builder.*",
"env": [
{
"name": "DOCKER_HOST",
"value": "tcp://$IP:2375"
}
]
},
{
"imagePattern": "(openshift/origin$)|(openshift/origin:.*)",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-deployer.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-recycler.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-docker-builder.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-sti-builder.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-f5-router.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/node.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
}
]
}
Loading

0 comments on commit cafbf00

Please sign in to comment.