Skip to content

Commit 98b65f7

Browse files
Rename repository.
1 parent f47f385 commit 98b65f7

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To use the S2I builder image directly with the ``s2i`` command line tool, instal
1313
and run:
1414

1515
```
16-
s2i build <source-files> openshift-katacoda/s2i-http-server <image-name>
16+
s2i build <source-files> openshift-katacoda/simple-http-server <image-name>
1717
```
1818

1919
Replace ``<source-files>`` with a local file system path, or a URL for a hosted
@@ -34,13 +34,13 @@ Using the Builder Image with OpenShift
3434
If using OpenShift, to directly import the S2I builder image run:
3535

3636
```
37-
oc import-image openshiftkatacoda/s2i-http-server --confirm
37+
oc import-image openshiftkatacoda/simple-http-server --confirm
3838
```
3939

4040
To create an application and deploy it from the command line, then run:
4141

4242
```
43-
oc new-app s2i-http-server~<source-files> --name <application-name>
43+
oc new-app simple-http-server~<source-files> --name <application-name>
4444
oc expose svc/<application-name>
4545
```
4646

@@ -49,9 +49,9 @@ Replace ``<source-files>`` with a URL for a hosted Git repository which contains
4949
In order to be able to use the S2I builder from the catalog available in the web console, instead run:
5050

5151
```
52-
oc create -f https://raw.githubusercontent.com/openshift-katacoda/s2i-http-server/master/imagestream.json
52+
oc create -f https://raw.githubusercontent.com/openshift-katacoda/simple-http-server/master/imagestream.json
5353
```
5454

5555
Alternatively visit the URL for the raw imagestream JSON file and cut and paste the contents in to the "Import YAML/JSON" page of the web console under "Add to project".
5656

57-
The S2I builder should then be able to be found by searching for "s2i-http-server" in the catalog. In addition to being able to select it from the catalog, an application can still be created using ``oc new-app`` as shown above.
57+
The S2I builder should then be able to be found by searching for "simple-http-server" in the catalog. In addition to being able to select it from the catalog, an application can still be created using ``oc new-app`` as shown above.

imagestream.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"kind": "ImageStream",
33
"apiVersion": "v1",
44
"metadata": {
5-
"name": "s2i-http-server"
5+
"name": "simple-http-server"
66
},
77
"spec": {
88
"tags": [
@@ -13,7 +13,7 @@
1313
},
1414
"from": {
1515
"kind": "DockerImage",
16-
"name": "openshiftkatacoda/s2i-http-server:latest"
16+
"name": "openshiftkatacoda/simple-http-server:latest"
1717
}
1818
}
1919
]

usage

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ cat <<EOF
44
This is a S2I builder image for running a simple HTTP server. For
55
instructions on using the S2I builder image see:
66
7-
* https://github.com/openshift-katacoda/s2i-http-server
7+
* https://github.com/openshift-katacoda/simple-http-server
88
EOF

0 commit comments

Comments
 (0)