diff --git a/community/README.md b/community/README.md index 5d7b5ce6fb7..7743fbcd7cd 100644 --- a/community/README.md +++ b/community/README.md @@ -15,6 +15,7 @@ improving docs, giving talks, etc. - [Introduction](#introduction) - [Knative authors](#knative-authors) + - [Authoring samples](#authoring-samples) - [Meetings and work groups](#meetings-and-work-groups) - [How can I help?](#how-can-i-help) - [Questions and issues](#questions-and-issues) @@ -49,6 +50,24 @@ project was started by Google but has contributions from a growing number of industry-leading companies. For a current list of the authors, see [Authors](https://github.com/knative/serving/blob/master/AUTHORS). +### Authoring samples + +Beyond the official documentation there are endless possibilities for combining +tools, platforms, languages, and products. By submitting a tutorial you can +share your experience and help others who are solving similar problems. + +Community tutorials are stored in Markdown files on +[GitHub](./samples/README.md) where they can be reviewed and edited by the +community. + +Please submit a Pull Request to the community sample directory under the +Knative component that your tutorial highlights - +[Serving](./samples/serving/), [Eventing](./samples/eventing/), +or [Build](./samples/build/). A reviewer will be assigned to review your +submission. They'll work with you to ensure your submission meets the +[style guide](DOCS-CONTRIBUTING.md), but it helps if you follow it as you +write your tutorial. + ## Meetings and work groups Knative has public and recorded bi-weekly community meetings. diff --git a/community/samples/README.md b/community/samples/README.md new file mode 100644 index 00000000000..0d9959b6c74 --- /dev/null +++ b/community/samples/README.md @@ -0,0 +1,7 @@ +# Knative Community Samples + +This directory contains Knative sample applications submitted from the community. + +| Sample Name | Description | Language(s) | +| -------------------------- | -------------------------- | -------------------------- | +| Hello World | A quick introduction that highlights how to deploy an app using Knative Serving. | [Clojure](./serving/helloworld-clojure/README.md), [Dart](./serving/helloworld-dart/README.md), [Elixir](./serving/helloworld-elixir/README.md), [Haskell](./serving/helloworld-haskell/README.md), [Rust](./serving/helloworld-rust/README.md), [Shell](./serving/helloworld-shell/README.md), [Swift](./serving/helloworld-swift/README.md), [Vertx](./serving/helloworld-vertx/README.md) | diff --git a/serving/samples/helloworld-clojure/.gitignore b/community/samples/serving/helloworld-clojure/.gitignore similarity index 100% rename from serving/samples/helloworld-clojure/.gitignore rename to community/samples/serving/helloworld-clojure/.gitignore diff --git a/serving/samples/helloworld-clojure/Dockerfile b/community/samples/serving/helloworld-clojure/Dockerfile similarity index 100% rename from serving/samples/helloworld-clojure/Dockerfile rename to community/samples/serving/helloworld-clojure/Dockerfile diff --git a/serving/samples/helloworld-clojure/README.md b/community/samples/serving/helloworld-clojure/README.md similarity index 100% rename from serving/samples/helloworld-clojure/README.md rename to community/samples/serving/helloworld-clojure/README.md diff --git a/serving/samples/helloworld-clojure/project.clj b/community/samples/serving/helloworld-clojure/project.clj similarity index 100% rename from serving/samples/helloworld-clojure/project.clj rename to community/samples/serving/helloworld-clojure/project.clj diff --git a/serving/samples/helloworld-clojure/service.yaml b/community/samples/serving/helloworld-clojure/service.yaml similarity index 100% rename from serving/samples/helloworld-clojure/service.yaml rename to community/samples/serving/helloworld-clojure/service.yaml diff --git a/serving/samples/helloworld-clojure/src/helloworld/core.clj b/community/samples/serving/helloworld-clojure/src/helloworld/core.clj similarity index 100% rename from serving/samples/helloworld-clojure/src/helloworld/core.clj rename to community/samples/serving/helloworld-clojure/src/helloworld/core.clj diff --git a/serving/samples/helloworld-dart/Dockerfile b/community/samples/serving/helloworld-dart/Dockerfile similarity index 100% rename from serving/samples/helloworld-dart/Dockerfile rename to community/samples/serving/helloworld-dart/Dockerfile diff --git a/serving/samples/helloworld-dart/README.md b/community/samples/serving/helloworld-dart/README.md similarity index 100% rename from serving/samples/helloworld-dart/README.md rename to community/samples/serving/helloworld-dart/README.md diff --git a/serving/samples/helloworld-dart/bin/server.dart b/community/samples/serving/helloworld-dart/bin/server.dart similarity index 100% rename from serving/samples/helloworld-dart/bin/server.dart rename to community/samples/serving/helloworld-dart/bin/server.dart diff --git a/serving/samples/helloworld-dart/pubspec.lock b/community/samples/serving/helloworld-dart/pubspec.lock similarity index 100% rename from serving/samples/helloworld-dart/pubspec.lock rename to community/samples/serving/helloworld-dart/pubspec.lock diff --git a/serving/samples/helloworld-dart/pubspec.yaml b/community/samples/serving/helloworld-dart/pubspec.yaml similarity index 100% rename from serving/samples/helloworld-dart/pubspec.yaml rename to community/samples/serving/helloworld-dart/pubspec.yaml diff --git a/serving/samples/helloworld-dart/service.yaml b/community/samples/serving/helloworld-dart/service.yaml similarity index 100% rename from serving/samples/helloworld-dart/service.yaml rename to community/samples/serving/helloworld-dart/service.yaml diff --git a/serving/samples/helloworld-elixir/.gcloudignore b/community/samples/serving/helloworld-elixir/.gcloudignore similarity index 100% rename from serving/samples/helloworld-elixir/.gcloudignore rename to community/samples/serving/helloworld-elixir/.gcloudignore diff --git a/serving/samples/helloworld-elixir/.gitignore b/community/samples/serving/helloworld-elixir/.gitignore similarity index 100% rename from serving/samples/helloworld-elixir/.gitignore rename to community/samples/serving/helloworld-elixir/.gitignore diff --git a/serving/samples/helloworld-elixir/Dockerfile b/community/samples/serving/helloworld-elixir/Dockerfile similarity index 100% rename from serving/samples/helloworld-elixir/Dockerfile rename to community/samples/serving/helloworld-elixir/Dockerfile diff --git a/serving/samples/helloworld-elixir/README.md b/community/samples/serving/helloworld-elixir/README.md similarity index 100% rename from serving/samples/helloworld-elixir/README.md rename to community/samples/serving/helloworld-elixir/README.md diff --git a/serving/samples/helloworld-elixir/assets/brunch-config.js b/community/samples/serving/helloworld-elixir/assets/brunch-config.js similarity index 100% rename from serving/samples/helloworld-elixir/assets/brunch-config.js rename to community/samples/serving/helloworld-elixir/assets/brunch-config.js diff --git a/serving/samples/helloworld-elixir/assets/css/app.css b/community/samples/serving/helloworld-elixir/assets/css/app.css similarity index 100% rename from serving/samples/helloworld-elixir/assets/css/app.css rename to community/samples/serving/helloworld-elixir/assets/css/app.css diff --git a/serving/samples/helloworld-elixir/assets/css/phoenix.css b/community/samples/serving/helloworld-elixir/assets/css/phoenix.css similarity index 100% rename from serving/samples/helloworld-elixir/assets/css/phoenix.css rename to community/samples/serving/helloworld-elixir/assets/css/phoenix.css diff --git a/serving/samples/helloworld-elixir/assets/js/app.js b/community/samples/serving/helloworld-elixir/assets/js/app.js similarity index 100% rename from serving/samples/helloworld-elixir/assets/js/app.js rename to community/samples/serving/helloworld-elixir/assets/js/app.js diff --git a/serving/samples/helloworld-elixir/assets/js/socket.js b/community/samples/serving/helloworld-elixir/assets/js/socket.js similarity index 100% rename from serving/samples/helloworld-elixir/assets/js/socket.js rename to community/samples/serving/helloworld-elixir/assets/js/socket.js diff --git a/serving/samples/helloworld-elixir/assets/package.json b/community/samples/serving/helloworld-elixir/assets/package.json similarity index 100% rename from serving/samples/helloworld-elixir/assets/package.json rename to community/samples/serving/helloworld-elixir/assets/package.json diff --git a/serving/samples/helloworld-elixir/assets/static/favicon.ico b/community/samples/serving/helloworld-elixir/assets/static/favicon.ico similarity index 100% rename from serving/samples/helloworld-elixir/assets/static/favicon.ico rename to community/samples/serving/helloworld-elixir/assets/static/favicon.ico diff --git a/serving/samples/helloworld-elixir/assets/static/images/phoenix.png b/community/samples/serving/helloworld-elixir/assets/static/images/phoenix.png similarity index 100% rename from serving/samples/helloworld-elixir/assets/static/images/phoenix.png rename to community/samples/serving/helloworld-elixir/assets/static/images/phoenix.png diff --git a/serving/samples/helloworld-elixir/assets/static/robots.txt b/community/samples/serving/helloworld-elixir/assets/static/robots.txt similarity index 100% rename from serving/samples/helloworld-elixir/assets/static/robots.txt rename to community/samples/serving/helloworld-elixir/assets/static/robots.txt diff --git a/serving/samples/helloworld-elixir/config/config.exs b/community/samples/serving/helloworld-elixir/config/config.exs similarity index 100% rename from serving/samples/helloworld-elixir/config/config.exs rename to community/samples/serving/helloworld-elixir/config/config.exs diff --git a/serving/samples/helloworld-elixir/config/dev.exs b/community/samples/serving/helloworld-elixir/config/dev.exs similarity index 100% rename from serving/samples/helloworld-elixir/config/dev.exs rename to community/samples/serving/helloworld-elixir/config/dev.exs diff --git a/serving/samples/helloworld-elixir/config/prod.exs b/community/samples/serving/helloworld-elixir/config/prod.exs similarity index 100% rename from serving/samples/helloworld-elixir/config/prod.exs rename to community/samples/serving/helloworld-elixir/config/prod.exs diff --git a/serving/samples/helloworld-elixir/config/prod.secret.exs.sample b/community/samples/serving/helloworld-elixir/config/prod.secret.exs.sample similarity index 100% rename from serving/samples/helloworld-elixir/config/prod.secret.exs.sample rename to community/samples/serving/helloworld-elixir/config/prod.secret.exs.sample diff --git a/serving/samples/helloworld-elixir/config/test.exs b/community/samples/serving/helloworld-elixir/config/test.exs similarity index 100% rename from serving/samples/helloworld-elixir/config/test.exs rename to community/samples/serving/helloworld-elixir/config/test.exs diff --git a/serving/samples/helloworld-elixir/lib/hello.ex b/community/samples/serving/helloworld-elixir/lib/hello.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello.ex rename to community/samples/serving/helloworld-elixir/lib/hello.ex diff --git a/serving/samples/helloworld-elixir/lib/hello/application.ex b/community/samples/serving/helloworld-elixir/lib/hello/application.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello/application.ex rename to community/samples/serving/helloworld-elixir/lib/hello/application.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web.ex b/community/samples/serving/helloworld-elixir/lib/hello_web.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/channels/user_socket.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/channels/user_socket.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/channels/user_socket.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/channels/user_socket.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/controllers/page_controller.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/controllers/page_controller.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/controllers/page_controller.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/controllers/page_controller.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/endpoint.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/endpoint.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/endpoint.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/endpoint.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/gettext.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/gettext.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/gettext.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/gettext.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/router.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/router.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/router.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/router.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/templates/layout/app.html.eex b/community/samples/serving/helloworld-elixir/lib/hello_web/templates/layout/app.html.eex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/templates/layout/app.html.eex rename to community/samples/serving/helloworld-elixir/lib/hello_web/templates/layout/app.html.eex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/templates/page/index.html.eex b/community/samples/serving/helloworld-elixir/lib/hello_web/templates/page/index.html.eex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/templates/page/index.html.eex rename to community/samples/serving/helloworld-elixir/lib/hello_web/templates/page/index.html.eex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/views/error_helpers.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/views/error_helpers.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/views/error_helpers.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/views/error_helpers.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/views/error_view.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/views/error_view.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/views/error_view.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/views/error_view.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/views/hello_view.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/views/hello_view.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/views/hello_view.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/views/hello_view.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/views/layout_view.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/views/layout_view.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/views/layout_view.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/views/layout_view.ex diff --git a/serving/samples/helloworld-elixir/lib/hello_web/views/page_view.ex b/community/samples/serving/helloworld-elixir/lib/hello_web/views/page_view.ex similarity index 100% rename from serving/samples/helloworld-elixir/lib/hello_web/views/page_view.ex rename to community/samples/serving/helloworld-elixir/lib/hello_web/views/page_view.ex diff --git a/serving/samples/helloworld-elixir/mix.exs b/community/samples/serving/helloworld-elixir/mix.exs similarity index 100% rename from serving/samples/helloworld-elixir/mix.exs rename to community/samples/serving/helloworld-elixir/mix.exs diff --git a/serving/samples/helloworld-elixir/mix.lock b/community/samples/serving/helloworld-elixir/mix.lock similarity index 100% rename from serving/samples/helloworld-elixir/mix.lock rename to community/samples/serving/helloworld-elixir/mix.lock diff --git a/serving/samples/helloworld-elixir/priv/gettext/en/LC_MESSAGES/errors.po b/community/samples/serving/helloworld-elixir/priv/gettext/en/LC_MESSAGES/errors.po similarity index 100% rename from serving/samples/helloworld-elixir/priv/gettext/en/LC_MESSAGES/errors.po rename to community/samples/serving/helloworld-elixir/priv/gettext/en/LC_MESSAGES/errors.po diff --git a/serving/samples/helloworld-elixir/priv/gettext/errors.pot b/community/samples/serving/helloworld-elixir/priv/gettext/errors.pot similarity index 100% rename from serving/samples/helloworld-elixir/priv/gettext/errors.pot rename to community/samples/serving/helloworld-elixir/priv/gettext/errors.pot diff --git a/serving/samples/helloworld-elixir/rel/config.exs b/community/samples/serving/helloworld-elixir/rel/config.exs similarity index 100% rename from serving/samples/helloworld-elixir/rel/config.exs rename to community/samples/serving/helloworld-elixir/rel/config.exs diff --git a/serving/samples/helloworld-elixir/service.yaml b/community/samples/serving/helloworld-elixir/service.yaml similarity index 100% rename from serving/samples/helloworld-elixir/service.yaml rename to community/samples/serving/helloworld-elixir/service.yaml diff --git a/serving/samples/helloworld-elixir/test/hello_web/controllers/page_controller_test.exs b/community/samples/serving/helloworld-elixir/test/hello_web/controllers/page_controller_test.exs similarity index 100% rename from serving/samples/helloworld-elixir/test/hello_web/controllers/page_controller_test.exs rename to community/samples/serving/helloworld-elixir/test/hello_web/controllers/page_controller_test.exs diff --git a/serving/samples/helloworld-elixir/test/hello_web/views/error_view_test.exs b/community/samples/serving/helloworld-elixir/test/hello_web/views/error_view_test.exs similarity index 100% rename from serving/samples/helloworld-elixir/test/hello_web/views/error_view_test.exs rename to community/samples/serving/helloworld-elixir/test/hello_web/views/error_view_test.exs diff --git a/serving/samples/helloworld-elixir/test/hello_web/views/layout_view_test.exs b/community/samples/serving/helloworld-elixir/test/hello_web/views/layout_view_test.exs similarity index 100% rename from serving/samples/helloworld-elixir/test/hello_web/views/layout_view_test.exs rename to community/samples/serving/helloworld-elixir/test/hello_web/views/layout_view_test.exs diff --git a/serving/samples/helloworld-elixir/test/hello_web/views/page_view_test.exs b/community/samples/serving/helloworld-elixir/test/hello_web/views/page_view_test.exs similarity index 100% rename from serving/samples/helloworld-elixir/test/hello_web/views/page_view_test.exs rename to community/samples/serving/helloworld-elixir/test/hello_web/views/page_view_test.exs diff --git a/serving/samples/helloworld-elixir/test/support/channel_case.ex b/community/samples/serving/helloworld-elixir/test/support/channel_case.ex similarity index 100% rename from serving/samples/helloworld-elixir/test/support/channel_case.ex rename to community/samples/serving/helloworld-elixir/test/support/channel_case.ex diff --git a/serving/samples/helloworld-elixir/test/support/conn_case.ex b/community/samples/serving/helloworld-elixir/test/support/conn_case.ex similarity index 100% rename from serving/samples/helloworld-elixir/test/support/conn_case.ex rename to community/samples/serving/helloworld-elixir/test/support/conn_case.ex diff --git a/serving/samples/helloworld-elixir/test/test_helper.exs b/community/samples/serving/helloworld-elixir/test/test_helper.exs similarity index 100% rename from serving/samples/helloworld-elixir/test/test_helper.exs rename to community/samples/serving/helloworld-elixir/test/test_helper.exs diff --git a/serving/samples/helloworld-haskell/.gitignore b/community/samples/serving/helloworld-haskell/.gitignore similarity index 100% rename from serving/samples/helloworld-haskell/.gitignore rename to community/samples/serving/helloworld-haskell/.gitignore diff --git a/serving/samples/helloworld-haskell/Dockerfile b/community/samples/serving/helloworld-haskell/Dockerfile similarity index 100% rename from serving/samples/helloworld-haskell/Dockerfile rename to community/samples/serving/helloworld-haskell/Dockerfile diff --git a/serving/samples/helloworld-haskell/README.md b/community/samples/serving/helloworld-haskell/README.md similarity index 100% rename from serving/samples/helloworld-haskell/README.md rename to community/samples/serving/helloworld-haskell/README.md diff --git a/serving/samples/helloworld-haskell/app/Main.hs b/community/samples/serving/helloworld-haskell/app/Main.hs similarity index 100% rename from serving/samples/helloworld-haskell/app/Main.hs rename to community/samples/serving/helloworld-haskell/app/Main.hs diff --git a/serving/samples/helloworld-haskell/package.yaml b/community/samples/serving/helloworld-haskell/package.yaml similarity index 100% rename from serving/samples/helloworld-haskell/package.yaml rename to community/samples/serving/helloworld-haskell/package.yaml diff --git a/serving/samples/helloworld-haskell/service.yaml b/community/samples/serving/helloworld-haskell/service.yaml similarity index 100% rename from serving/samples/helloworld-haskell/service.yaml rename to community/samples/serving/helloworld-haskell/service.yaml diff --git a/serving/samples/helloworld-haskell/stack.yaml b/community/samples/serving/helloworld-haskell/stack.yaml similarity index 100% rename from serving/samples/helloworld-haskell/stack.yaml rename to community/samples/serving/helloworld-haskell/stack.yaml diff --git a/serving/samples/helloworld-rust/Cargo.toml b/community/samples/serving/helloworld-rust/Cargo.toml similarity index 100% rename from serving/samples/helloworld-rust/Cargo.toml rename to community/samples/serving/helloworld-rust/Cargo.toml diff --git a/serving/samples/helloworld-rust/Dockerfile b/community/samples/serving/helloworld-rust/Dockerfile similarity index 100% rename from serving/samples/helloworld-rust/Dockerfile rename to community/samples/serving/helloworld-rust/Dockerfile diff --git a/serving/samples/helloworld-rust/README.md b/community/samples/serving/helloworld-rust/README.md similarity index 100% rename from serving/samples/helloworld-rust/README.md rename to community/samples/serving/helloworld-rust/README.md diff --git a/serving/samples/helloworld-rust/service.yaml b/community/samples/serving/helloworld-rust/service.yaml similarity index 100% rename from serving/samples/helloworld-rust/service.yaml rename to community/samples/serving/helloworld-rust/service.yaml diff --git a/serving/samples/helloworld-rust/src/main.rs b/community/samples/serving/helloworld-rust/src/main.rs similarity index 100% rename from serving/samples/helloworld-rust/src/main.rs rename to community/samples/serving/helloworld-rust/src/main.rs diff --git a/serving/samples/helloworld-shell/Dockerfile b/community/samples/serving/helloworld-shell/Dockerfile similarity index 100% rename from serving/samples/helloworld-shell/Dockerfile rename to community/samples/serving/helloworld-shell/Dockerfile diff --git a/serving/samples/helloworld-shell/README.md b/community/samples/serving/helloworld-shell/README.md similarity index 100% rename from serving/samples/helloworld-shell/README.md rename to community/samples/serving/helloworld-shell/README.md diff --git a/serving/samples/helloworld-shell/invoke.go b/community/samples/serving/helloworld-shell/invoke.go similarity index 100% rename from serving/samples/helloworld-shell/invoke.go rename to community/samples/serving/helloworld-shell/invoke.go diff --git a/serving/samples/helloworld-shell/script.sh b/community/samples/serving/helloworld-shell/script.sh similarity index 100% rename from serving/samples/helloworld-shell/script.sh rename to community/samples/serving/helloworld-shell/script.sh diff --git a/serving/samples/helloworld-shell/service.yaml b/community/samples/serving/helloworld-shell/service.yaml similarity index 100% rename from serving/samples/helloworld-shell/service.yaml rename to community/samples/serving/helloworld-shell/service.yaml diff --git a/serving/samples/helloworld-swift/.swift-version b/community/samples/serving/helloworld-swift/.swift-version similarity index 100% rename from serving/samples/helloworld-swift/.swift-version rename to community/samples/serving/helloworld-swift/.swift-version diff --git a/serving/samples/helloworld-swift/Dockerfile b/community/samples/serving/helloworld-swift/Dockerfile similarity index 100% rename from serving/samples/helloworld-swift/Dockerfile rename to community/samples/serving/helloworld-swift/Dockerfile diff --git a/serving/samples/helloworld-swift/Package.swift b/community/samples/serving/helloworld-swift/Package.swift similarity index 100% rename from serving/samples/helloworld-swift/Package.swift rename to community/samples/serving/helloworld-swift/Package.swift diff --git a/serving/samples/helloworld-swift/README.md b/community/samples/serving/helloworld-swift/README.md similarity index 100% rename from serving/samples/helloworld-swift/README.md rename to community/samples/serving/helloworld-swift/README.md diff --git a/serving/samples/helloworld-swift/Sources/HelloSwift/main.swift b/community/samples/serving/helloworld-swift/Sources/HelloSwift/main.swift similarity index 100% rename from serving/samples/helloworld-swift/Sources/HelloSwift/main.swift rename to community/samples/serving/helloworld-swift/Sources/HelloSwift/main.swift diff --git a/serving/samples/helloworld-swift/service.yaml b/community/samples/serving/helloworld-swift/service.yaml similarity index 100% rename from serving/samples/helloworld-swift/service.yaml rename to community/samples/serving/helloworld-swift/service.yaml diff --git a/serving/samples/helloworld-vertx/Dockerfile b/community/samples/serving/helloworld-vertx/Dockerfile similarity index 100% rename from serving/samples/helloworld-vertx/Dockerfile rename to community/samples/serving/helloworld-vertx/Dockerfile diff --git a/serving/samples/helloworld-vertx/README.md b/community/samples/serving/helloworld-vertx/README.md similarity index 100% rename from serving/samples/helloworld-vertx/README.md rename to community/samples/serving/helloworld-vertx/README.md diff --git a/serving/samples/helloworld-vertx/pom.xml b/community/samples/serving/helloworld-vertx/pom.xml similarity index 100% rename from serving/samples/helloworld-vertx/pom.xml rename to community/samples/serving/helloworld-vertx/pom.xml diff --git a/serving/samples/helloworld-vertx/service.yaml b/community/samples/serving/helloworld-vertx/service.yaml similarity index 100% rename from serving/samples/helloworld-vertx/service.yaml rename to community/samples/serving/helloworld-vertx/service.yaml diff --git a/serving/samples/helloworld-vertx/src/main/java/com/example/helloworld/HelloWorld.java b/community/samples/serving/helloworld-vertx/src/main/java/com/example/helloworld/HelloWorld.java similarity index 100% rename from serving/samples/helloworld-vertx/src/main/java/com/example/helloworld/HelloWorld.java rename to community/samples/serving/helloworld-vertx/src/main/java/com/example/helloworld/HelloWorld.java diff --git a/serving/samples/README.md b/serving/samples/README.md index aa352d51019..8c62112405f 100644 --- a/serving/samples/README.md +++ b/serving/samples/README.md @@ -7,7 +7,7 @@ more about Knative Serving resources. | Name | Description | Languages | | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | -| Hello World | A quick introduction that highlights how to deploy an app using Knative Serving. | [C#](helloworld-csharp/README.md), [Clojure](helloworld-clojure/README.md), [Eclipse Vert.x](helloworld-vertx/README.md), [Haskell](helloworld-haskell/README.md), [Go](helloworld-go/README.md), [Java](helloworld-java/README.md), [Kotlin](helloworld-kotlin/README.md), [Node.js](helloworld-nodejs/README.md), [PHP](helloworld-php/README.md), [Python](helloworld-python/README.md), [Ruby](helloworld-ruby/README.md), [Rust](helloworld-rust/README.md) | +| Hello World | A quick introduction that highlights how to deploy an app using Knative Serving. | [C#](helloworld-csharp/README.md), [Go](helloworld-go/README.md), [Java](helloworld-java/README.md), [Kotlin](helloworld-kotlin/README.md), [Node.js](helloworld-nodejs/README.md), [PHP](helloworld-php/README.md), [Python](helloworld-python/README.md), [Ruby](helloworld-ruby/README.md) | | Advanced Deployment | Simple blue/green-like application deployment pattern illustrating the process of updating a live application without dropping any traffic. | [YAML](blue-green-deployment.md) | | Autoscale | A demonstration of the autoscaling capabilities of Knative. | [Go](autoscale-go/README.md) | | Private Repo Build | An example of deploying a Knative Serving Service using a Github deploy-key and a DockerHub image pull secret. | [Go](build-private-repo-go/README.md) |