Skip to content

Commit

Permalink
Added some more doc and imagestream json file
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoralespou committed Mar 7, 2016
1 parent ff323ec commit 1f85d70
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ BUILDER_ARGS="build -x test"
* First load all the needed resources in a project.

----
oc create -f https://raw.githubusercontent.com/jorgemoralespou/osev3-examples/master/spring-boot/springboot-sti/springboot-sti-all.json
oc create -f https://raw.githubusercontent.com/jorgemoralespou/springboot-s2i/master/ose3/springboot-s2i-imagestream.json
----

* Once the builder springboot-sti has finished building, you can create an app with:
* Once the builder springboot-s2i has been registered, you can create an app with:

** Instant app already provided as template
** Using the springboot-sti builder image using a regular Git repository
** Using the springboot-s2i builder image using a regular Git repository

== Samples
There is a lot of example SpringBoot applications https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples[here]
File renamed without changes.
23 changes: 23 additions & 0 deletions ose3/springboot-s2i-imagestream.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "springboot-s2i"
},
"spec": {
"dockerImageRepository": "jorgemoralespou/springboot-s2i",
"tags": [
{
"name": "latest",
"annotations": {
"description": "Spring Boot S2I image",
"iconClass": "icon-jboss",
"tags": "builder,springboot,java,maven,gradle",
"supports": "springboot,java:8,maven:3,gradle:2.6",
"sampleRepo": "https://github.com/jorgemoralespou/springboot-sample-app.git",
"version": "1.0"
}
}
]
}
}

0 comments on commit 1f85d70

Please sign in to comment.