Skip to content

Commit 9b0e5f1

Browse files
committed
Rename github org references to sclorg
Addresses openshift/origin##19998
1 parent 24e7e68 commit 9b0e5f1

File tree

10 files changed

+28
-28
lines changed

10 files changed

+28
-28
lines changed

Diff for: README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ You can create a new OpenShift application using the web console or by running t
8787

8888
Pointing `oc new-app` at source code kicks off a chain of events, for our example run:
8989

90-
$ oc new-app https://github.com/openshift/nodejs-ex -l name=myapp
90+
$ oc new-app https://github.com/sclorg/nodejs-ex -l name=myapp
9191

9292
The tool will inspect the source code, locate an appropriate image on DockerHub, create an ImageStream for that image, and then create the right build configuration, deployment configuration and service definition.
9393

9494
(The -l flag will apply a label of "name=myapp" to all the resources created by new-app, for easy management later.)
9595

9696
#### Create a new app from a template (method 2)
9797

98-
We can also [create new apps using OpenShift template files](https://docs.openshift.com/enterprise/3.0/dev_guide/new_app.html#specifying-a-template). Clone the demo app source code from [GitHub repo](https://github.com/openshift/nodejs-ex) (fork if you like).
98+
We can also [create new apps using OpenShift template files](https://docs.openshift.com/enterprise/3.0/dev_guide/new_app.html#specifying-a-template). Clone the demo app source code from [GitHub repo](https://github.com/sclorg/nodejs-ex) (fork if you like).
9999

100-
$ git clone https://github.com/openshift/nodejs-ex
100+
$ git clone https://github.com/sclorg/nodejs-ex
101101

102102
Looking at the repo, you'll notice three files in the openshift/template directory:
103103

@@ -133,7 +133,7 @@ Which should return something like:
133133

134134
svc/nodejs-ex - 172.30.108.183:8080
135135
dc/nodejs-ex deploys istag/nodejs-ex:latest <-
136-
bc/nodejs-ex builds https://github.com/openshift/nodejs-ex with openshift/nodejs:0.10
136+
bc/nodejs-ex builds https://github.com/sclorg/nodejs-ex with openshift/nodejs:0.10
137137
build #1 running for 7 seconds
138138
deployment #1 waiting on image or update
139139

@@ -193,7 +193,7 @@ Running `oc status` or checking the web console will reveal the address of the n
193193

194194
http://10.2.2.2 to pod port 8080-tcp (svc/nodejs-ex)
195195
dc/nodejs-ex deploys istag/nodejs-ex:latest <-
196-
bc/nodejs-ex builds https://github.com/openshift/nodejs-ex with openshift/nodejs:0.10
196+
bc/nodejs-ex builds https://github.com/sclorg/nodejs-ex with openshift/nodejs:0.10
197197
deployment #1 deployed 14 minutes ago - 1 pod
198198

199199
Note that the url for our new Mongo instance, for our example, is `172.30.0.112:27017`, yours will likely differ.
@@ -216,7 +216,7 @@ Then check `oc status` to see that an updated deployment has been kicked off:
216216

217217
http://10.2.2.2 to pod port 8080-tcp (svc/nodejs-ex)
218218
dc/nodejs-ex deploys istag/nodejs-ex:latest <-
219-
bc/nodejs-ex builds https://github.com/openshift/nodejs-ex with openshift/nodejs:0.10
219+
bc/nodejs-ex builds https://github.com/sclorg/nodejs-ex with openshift/nodejs:0.10
220220
deployment #2 deployed about a minute ago - 1 pod
221221
deployment #1 deployed 2 hours ago
222222

Diff for: helm/nodejs/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: nodejs
22
version: 0.1
3-
description: An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.
3+
description: An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.
44
keywords:
55
- quickstart
66
- nodejs
77
home: https://access.redhat.com
88
sources:
9-
- https://github.com/openshift/nodejs-ex
9+
- https://github.com/sclorg/nodejs-ex

Diff for: helm/nodejs/templates/NOTES.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
The following service(s) have been created in your project: {{ .Values.name }}.
22

3-
For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.
3+
For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.

Diff for: helm/nodejs/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace: openshift
55
# Memory Limit: Maximum amount of memory the container can use.
66
memory_limit: 512Mi
77
# Git Repository URL: The URL of the repository with your application source code.
8-
source_repository_url: https://github.com/openshift/nodejs-ex.git
8+
source_repository_url: https://github.com/sclorg/nodejs-ex.git
99
# Git Reference: Set this to a branch name, tag or other ref of your repository if you are not using the default branch.
1010
source_repository_ref:
1111
# Context Directory: Set this to the relative path to your project if it is not in the root of your repository.

Diff for: openshift/pipeline/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ To do this, run:
55

66
```bash
77
# create the nodejs example as usual
8-
oc new-app https://github.com/openshift/nodejs-ex
8+
oc new-app https://github.com/sclorg/nodejs-ex
99

1010
# now create the pipeline build controller from the openshift/pipeline
1111
# subdirectory
12-
oc new-app https://github.com/openshift/nodejs-ex \
12+
oc new-app https://github.com/sclorg/nodejs-ex \
1313
--context-dir=openshift/pipeline --name nodejs-ex-pipeline
1414
```

Diff for: openshift/templates/nodejs-mongodb-persistent.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"name": "nodejs-mongo-persistent",
66
"annotations": {
77
"openshift.io/display-name": "Node.js + MongoDB",
8-
"description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
8+
"description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
99
"tags": "quickstart,nodejs",
1010
"iconClass": "icon-nodejs",
1111
"openshift.io/long-description": "This template defines resources needed to develop a NodeJS application, including a build configuration, application deployment configuration, and database deployment configuration.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
13-
"openshift.io/documentation-url": "https://github.com/openshift/nodejs-ex",
13+
"openshift.io/documentation-url": "https://github.com/sclorg/nodejs-ex",
1414
"openshift.io/support-url": "https://access.redhat.com",
1515
"template.openshift.io/bindable": "false"
1616
}
1717
},
18-
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
18+
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
1919
"labels": {
2020
"template": "nodejs-mongo-persistent"
2121
},
@@ -488,7 +488,7 @@
488488
"displayName": "Git Repository URL",
489489
"description": "The URL of the repository with your application source code.",
490490
"required": true,
491-
"value": "https://github.com/openshift/nodejs-ex.git"
491+
"value": "https://github.com/sclorg/nodejs-ex.git"
492492
},
493493
{
494494
"name": "SOURCE_REPOSITORY_REF",

Diff for: openshift/templates/nodejs-mongodb.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"name": "nodejs-mongodb-example",
66
"annotations": {
77
"openshift.io/display-name": "Node.js + MongoDB (Ephemeral)",
8-
"description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.",
8+
"description": "An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.\n\nWARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.",
99
"tags": "quickstart,nodejs",
1010
"iconClass": "icon-nodejs",
1111
"openshift.io/long-description": "This template defines resources needed to develop a NodeJS application, including a build configuration, application deployment configuration, and database deployment configuration. The database is stored in non-persistent storage, so this configuration should be used for experimental purposes only.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
13-
"openshift.io/documentation-url": "https://github.com/openshift/nodejs-ex",
13+
"openshift.io/documentation-url": "https://github.com/sclorg/nodejs-ex",
1414
"openshift.io/support-url": "https://access.redhat.com",
1515
"template.openshift.io/bindable": "false"
1616
}
1717
},
18-
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
18+
"message": "The following service(s) have been created in your project: ${NAME}, ${DATABASE_SERVICE_NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
1919
"labels": {
2020
"template": "nodejs-mongodb-example",
2121
"app": "nodejs-mongodb-example"
@@ -465,7 +465,7 @@
465465
"displayName": "Git Repository URL",
466466
"description": "The URL of the repository with your application source code.",
467467
"required": true,
468-
"value": "https://github.com/openshift/nodejs-ex.git"
468+
"value": "https://github.com/sclorg/nodejs-ex.git"
469469
},
470470
{
471471
"name": "SOURCE_REPOSITORY_REF",

Diff for: openshift/templates/nodejs.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"name": "nodejs-example",
66
"annotations": {
77
"openshift.io/display-name": "Node.js",
8-
"description": "An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
8+
"description": "An example Node.js application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
99
"tags": "quickstart,nodejs",
1010
"iconClass": "icon-nodejs",
1111
"openshift.io/long-description": "This template defines resources needed to develop a NodeJS application, including a build configuration and application deployment configuration. It does not include a database.",
1212
"openshift.io/provider-display-name": "Red Hat, Inc.",
13-
"openshift.io/documentation-url": "https://github.com/openshift/nodejs-ex",
13+
"openshift.io/documentation-url": "https://github.com/sclorg/nodejs-ex",
1414
"openshift.io/support-url": "https://access.redhat.com",
1515
"template.openshift.io/bindable": "false"
1616
}
1717
},
18-
"message": "The following service(s) have been created in your project: ${NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.",
18+
"message": "The following service(s) have been created in your project: ${NAME}.\n\nFor more information about using this template, including OpenShift considerations, see https://github.com/sclorg/nodejs-ex/blob/master/README.md.",
1919
"labels": {
2020
"template": "nodejs-example",
2121
"app": "nodejs-example"
@@ -250,7 +250,7 @@
250250
"displayName": "Git Repository URL",
251251
"description": "The URL of the repository with your application source code.",
252252
"required": true,
253-
"value": "https://github.com/openshift/nodejs-ex.git"
253+
"value": "https://github.com/sclorg/nodejs-ex.git"
254254
},
255255
{
256256
"name": "SOURCE_REPOSITORY_REF",

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
},
2424
"repository": {
2525
"type": "git",
26-
"url": "http://github.com/openshift/nodejs-ex.git"
26+
"url": "http://github.com/sclorg/nodejs-ex.git"
2727
},
2828
"author": "Steve Speicher <[email protected]>",
2929
"license": "CC-BY-1.0",
3030
"bugs": {
31-
"url": "http://github.com/openshift/nodejs-ex/issues"
31+
"url": "http://github.com/sclorg/nodejs-ex/issues"
3232
},
33-
"homepage": "http://github.com/openshift/nodejs-ex"
33+
"homepage": "http://github.com/sclorg/nodejs-ex"
3434
}

Diff for: views/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ <h2>How to use this example application</h2>
228228

229229
<h2>Deploying code changes</h2>
230230
<p>
231-
The source code for this application is available to be forked from the <a href="https://www.github.com/openshift/nodejs-ex">OpenShift GitHub repository</a>.
231+
The source code for this application is available to be forked from the <a href="https://www.github.com/sclorg/nodejs-ex">OpenShift GitHub repository</a>.
232232
You can configure a webhook in your repository to make OpenShift automatically start a build whenever you push your code:
233233
</p>
234234

0 commit comments

Comments
 (0)