Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
89037a65
Commit
89037a65
authored
May 01, 2015
by
Eric Paris
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7632 from eparis/copyright-boilerplate-k8petstore
Include shell license boilerplate in examples/k8petstore
parents
01fdd74a
8bd9d4b6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
2 deletions
+66
-2
build-push-containers.sh
examples/k8petstore/build-push-containers.sh
+16
-0
test.sh
examples/k8petstore/dev/test.sh
+16
-0
k8petstore.sh
examples/k8petstore/k8petstore.sh
+16
-0
run.sh
examples/k8petstore/redis-slave/run.sh
+2
-2
test.sh
examples/k8petstore/web-server/test.sh
+16
-0
No files found.
examples/k8petstore/build-push-containers.sh
View file @
89037a65
#!/bin/bash
# Copyright 2015 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#K8PetStore version is tied to the redis version. We will add more info to version tag later.
#K8PetStore version is tied to the redis version. We will add more info to version tag later.
#Change the 'jayunit100' string below to you're own dockerhub name and run this script.
#Change the 'jayunit100' string below to you're own dockerhub name and run this script.
#It will build all the containers for this application and publish them to your dockerhub account
#It will build all the containers for this application and publish them to your dockerhub account
...
...
examples/k8petstore/dev/test.sh
View file @
89037a65
#!/bin/bash
# Copyright 2015 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## First set up the host VM. That ensures
## First set up the host VM. That ensures
## we avoid vagrant race conditions.
## we avoid vagrant race conditions.
set
-x
set
-x
...
...
examples/k8petstore/k8petstore.sh
View file @
89037a65
#!/bin/bash
# Copyright 2015 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
echo
"WRITING KUBE FILES , will overwrite the jsons, then testing pods. is kube clean ready to go?"
echo
"WRITING KUBE FILES , will overwrite the jsons, then testing pods. is kube clean ready to go?"
#for dev/test you can use:
#for dev/test you can use:
...
...
examples/k8petstore/redis-slave/run.sh
View file @
89037a65
#!/bin/bash
#!/bin/bash
# Copyright 2014
Google Inc.
All rights reserved.
# Copyright 2014
The Kubernetes Authors
All rights reserved.
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
i
echo
"Note, if you get errors below indicate kubernetes env injection could be faliing..."
echo
"Note, if you get errors below indicate kubernetes env injection could be faliing..."
echo
"env vars ="
echo
"env vars ="
env
env
...
...
examples/k8petstore/web-server/test.sh
View file @
89037a65
#!/bin/bash
# Copyright 2015 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
echo
"start test of frontend"
echo
"start test of frontend"
curl localhost:3000/llen
curl localhost:3000/llen
curl localhost:3000/llen
curl localhost:3000/llen
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment