Commit Graph

856 Commits

Author SHA1 Message Date
Ahmet Alp Balkan c4d9e58d78 eventing/samples/pubsub: fix copy paste issue (#828)
* eventing/samples/pubsub: fix copy paste issue

See the line I changed, when I paste it to my zsh terminal, it thinks the
closing double-quote is missing. Turns out the !" is a special sequence in zsh
so it's better not to end a sample command like this.

Source: https://unix.stackexchange.com/questions/497328/zsh-thinks-unterminated-quote-if-preceded-by-exclamation-mark/497335#497335

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* Remove comma, match up quotation marks
2019-01-30 10:21:37 -08:00
Steren 996a43d378 Simplify Node.js package.json (#825)
* Simplify Node.js package.json 

Since this is a Hello World, I do not think we need the `homepage`, `bugs` and `repository` attributes of package.json, but instead I suggest to keep it short in order to show the actual simplicity of the sample

* README missed the dependencies
2019-01-30 10:11:21 -08:00
Ahmet Alp Balkan 85159ad8a8 samples/gcp-pubsub: remove checked in secret (#826)
I accidentally checked this one in and it was missed during code review.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-01-28 19:59:37 -08:00
Ahmet Alp Balkan 9689f68901 eventing/samples/gcp-pubsub-source: fix filename (#824)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-01-28 16:56:36 -08:00
Ahmet Alp Balkan 715aebc2d0 eventing/samples/cronjob-source: fix broken cmd (#823)
Fixes #822.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-01-28 16:45:37 -08:00
RichieEscarez 66188886e1 add v0.1 release branch (#821)
* add v0.1 release branch 

and provide some indication that the website is coming

* Update doc-releases.md

Co-Authored-By: RichieEscarez <rescarez@google.com>

* temporarily move the TBD link to the bottom
2019-01-28 16:08:37 -08:00
RichieEscarez 88a6f7fea6 Cut v0.2 branch + add v0.2.x tag (#820)
* Cut v0.2 branch + releases page

* Update doc-releases.md

Co-Authored-By: RichieEscarez <rescarez@google.com>

* Update doc-releases.md

Co-Authored-By: RichieEscarez <rescarez@google.com>
2019-01-28 15:17:37 -08:00
Averi Kitsch 0d4c5c2dac Add Community Sample Directory (#805)
* Move extra helloworld samples

* Add documentation for community samples

* Update readmes
2019-01-28 14:08:37 -08:00
Johannes Scheuermann d206063868 Correct spec documentation for GitHubSource (#811)
* Correct spec documentation for GitHubSource

* Use wording suggestion

* Revert "Use wording suggestion"

This reverts commit 8179816d21.
2019-01-28 14:02:37 -08:00
Derek Wang 9bafcc933c Fix cronjob sample bug (#815)
Use real message_dumper image instead of ko image path.
2019-01-28 09:09:36 -08:00
Derek Wang 5584da3656 Added cronjob sample (#647)
* Added cronjob sample

Give a sample about how to configure CronJobSource event.

* default namespace

* Refine the sample
2019-01-24 17:09:35 -08:00
Adam Ross 921aa488a9 serving/samples: remove EXPOSE directive from helloworld (#644)
* serving/samples: remove EXPOSE directive from helloworld

* serving/samples: update ENV PORT comment for clarified purpose

* serving/samples: update README for Dockerfile changes
2019-01-24 10:10:34 -08:00
Sam O'Dell 8b2eba433d v0.3 updates for Gardener, ICP, Minikube, Minishift installs (#775)
* v0.3 updates for Gardener, ICP, Minikube, Minishift installs

* Update Knative-with-Gardener.md
2019-01-23 16:41:33 -08:00
Steren 5b5341f6f5 Use template literals in node sample (#801)
* Use template literals in node sample

* update README
2019-01-23 16:18:34 -08:00
Dr Nic Williams 4a61b75ce6 describe ClusterBuildTemplate and its use within a Build (#604) 2019-01-23 15:25:33 -08:00
Yanwei Guo 43bea1b3d5 update setting-up-a-logging-plugin.md (#688) 2019-01-23 10:16:35 -08:00
Zou Nengren 49494addfa add default port for dart app (#792) 2019-01-23 10:12:34 -08:00
mattmoor-sockpuppet 1f82af8489 golang format tools (#798)
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
2019-01-22 16:23:33 -08:00
Theo Pack 7581b06da0 Add missing image tag for v0.3 (#790) 2019-01-22 12:44:33 -08:00
Steren 4448fd631a Shell Hello World (#753)
* Shell Hello World

* Add README

* Create service.yaml

* Update README.md

* make linter happy

* Address feedback

* sample

* handle stder

* newline

* Update serving/samples/helloworld-shell/invoke.go

Co-Authored-By: steren <steren.giannini@gmail.com>

* indetation

* go sample

* Update serving/samples/helloworld-shell/README.md

Co-Authored-By: steren <steren.giannini@gmail.com>

* Update serving/samples/helloworld-shell/README.md

Co-Authored-By: steren <steren.giannini@gmail.com>
2019-01-22 11:50:22 -08:00
Sam O'Dell 1a99a80a3f Tweaks to custom install for v0.3 (#779)
* Tweaks to custom install for v0.3

* More tweaks from comments
2019-01-18 17:30:32 -08:00
Adam Harwayne b850378d5c Debugging tutorial for Knative Eventing (#785)
* Initial work on a debugging tutorial for Knative Eventing.

* Address comments and small improvements.
2019-01-18 07:57:33 -08:00
Sam O'Dell 75195f43cb Updates monitoring in installs; rewrite of ICP install (#786)
* Updates monitoring; rewrite of ICP install

* Update install/Knative-with-ICP.md

Co-Authored-By: samodell <31352624+samodell@users.noreply.github.com>

* Update install/Knative-with-ICP.md

Co-Authored-By: samodell <31352624+samodell@users.noreply.github.com>

* Update install/Knative-with-ICP.md

Co-Authored-By: samodell <31352624+samodell@users.noreply.github.com>
2019-01-17 15:53:31 -08:00
Steren 73e1ce86cd Refactor Node.js sample to use arrow functions (#749) 2019-01-17 15:50:31 -08:00
Sam O'Dell 560d2e778a Typo fix (#787) 2019-01-17 15:45:31 -08:00
Grant Rodgers 032563dd02 Document default channels for users and operators (#723)
* Document default channels for users and operators

Features described were added in
https://github.com/knative/eventing/pull/580.

* Link to default-channels.md in eventing README

Adds a Configuration heading for topics unrelated to Getting Started.

* Briefly describe default channels in heading

Co-Authored-By: grantr <grantr@gmail.com>

* Update in response to feedback

Better README flow.
Explain why default channels can't have arguments.
2019-01-17 15:40:31 -08:00
Steren 530b5ee51d fix Dockerfile comment (#783)
* fix Dockerfile comment

* fix readme
2019-01-17 11:25:31 -08:00
Sam O'Dell 380269c43c Update subscriber.yaml from gcp-pubsub sample to v0.3 (#778)
* Update subscriber.yaml from gcp-pubsub sample to v3.0

* Update subscriber.yaml
2019-01-17 11:08:31 -08:00
Sam O'Dell 39e9c199ea Update builder-contract.md (#782)
* Update builder-contract.md

* Update build/builder-contract.md

Co-Authored-By: samodell <31352624+samodell@users.noreply.github.com>
2019-01-17 10:52:31 -08:00
Sam O'Dell 1c15c8e5f4 Improvements to spacing and install wording (#784)
* Improvements to spacing

* Updates wording for what's included in the installs
2019-01-17 10:45:31 -08:00
Ville Aikas 228fe6135d update version to v0.3.0 (#777)
* update version to v0.3.0

* remove outdated pubsub instructions and point to sources
2019-01-16 16:03:31 -08:00
Matthias Wessendorf 461ea79462 Using latest minishift, which does default to OKD 3.11.0 (#485) 2019-01-16 15:25:31 -08:00
aslom a9838d68c6 Update kube-version to 1.10.7 (#397)
* Update kube-version to 1.10.7


```
knative1 $ ibmcloud cs cluster-create --name=$CLUSTER_NAME \
>   --zone=$CLUSTER_ZONE \
>   --kube-version=1.10.3 \
>   --machine-type=b2c.4x16 \
>   --workers=3
Creating cluster...
FAILED

A previous patch was specified. Only the most recent patch for a particular minor version can be specified during cluster-create.  To list supported Kubernetes versions, run 'ibmcloud ks kube-versions'. (E0156)
Incident ID: 5533234a-df08-478b-b298-ab0ddbe67dfe
knative1 $ ibmcloud ks kube-versions
OK
Version
1.8.15 (deprecated, unsupported in 9 days)
1.9.10
1.10.7 (default)
1.11.2
To assess the differences across versions, see https://console.bluemix.net/docs/containers/cs_versions.html#cs_versions.
```

After change:

```
knative1 $  ibmcloud cs cluster-create --name=$CLUSTER_NAME \
>       --zone=$CLUSTER_ZONE \
>       --kube-version=1.10.7 \
>       --machine-type=b2c.4x16 \
>       --workers=3
Creating cluster...
OK
```

* No longer use --kube-version to avoid need to change instructions

* Update Knative-with-IKS.md
2019-01-16 15:22:31 -08:00
Russ Taylor 86f4134171 Fixes #385 (#470)
Explains parameters like `build.knative.dev/git-0` under the examples.
This could be explained _somewhat_ more in the comments in the examples
themselves. If we think that approach would be preferable, I'm happy to
update this.
2019-01-16 15:18:31 -08:00
Nghia Tran 6a52303145 Update SSL and IP address docs to work with istio-ingressgateway. (#776)
* Update SSL and IP address docs to work with istio-ingressgateway.

* Change quoting per PR feedback.
2019-01-16 14:11:31 -08:00
Guang Ya Liu 5adffc4a8e Adding IBM Cloud Private install to index. (#774) 2019-01-16 14:07:31 -08:00
Nghia Tran 9048eebd45 Instruction to make a Route/KService visible only inside cluster. (#694)
* Instruction to make a Route/KService visible only inside cluster.

* Address PR feedbacks.

* Remove redundant punctuations.
2019-01-16 10:34:31 -08:00
Sam O'Dell 6710dfa703 Update custom install for v.0.3 (#771) 2019-01-16 09:03:31 -08:00
Grant Rodgers 78ed03f84b Add a tutorial for writing an event source (#715)
* Add a tutorial for writing an event source

Also published at https://github.com/grantr/event-source-the-hard-way.
Reference code at https://github.com/grantr/sample-source.

Currently only goes through writing the controller. Writing a dispatcher
is TODO.

* Add SampleSource as a MetaSource

Not sure if this counts as a meta source, but it's not a real source
either. Maybe there should be a category for example sources?

* Update for review feedback

Labs now called Steps
Move tools section to readme
Move create repo to bootstrap
Move alternatives section to end of readme
Delete empty step

* Fix typo

* Update for feedback

Reword target audience sentence.
Move TODO to a comment so it's invisible.
Mention more clearly the existing sink resolution helpers.

* Link to knative code when it's referenced
2019-01-16 08:57:31 -08:00
Vadim Raskin 7ff023dc3a Bump required kube version to 1.11 to align with v0.3.0 release (#767)
* Bump required version of kube to align with v0.3.0 release

* Leave kubectl version on 1.10
2019-01-16 08:47:31 -08:00
Nghia Tran 01b818c33f Update docs to use correct ingress gateway service. (#700)
* Update docs to use correct ingress gateway service.

* Update wording of knative-ingressgateway deprecation.

* Update wording of knative-ingressgateway deprecation per feeeback.
2019-01-16 08:42:31 -08:00
Adriano Cunha 166b4d6cfd Disable markdown link checks (#773)
Addresses #772.
2019-01-15 16:55:30 -08:00
Grant Rodgers d46c836ae5 GCPPubSubSource moved to contrib (#770) 2019-01-15 15:30:30 -08:00
Mustafa Demirhan 7766388b8f Update installation instructions for logs, metrics and traces (#763)
* Update instructions to install logging and monitoring components.

* Update serving/installing-logging-metrics-traces.md

Co-Authored-By: mdemirhan <4033879+mdemirhan@users.noreply.github.com>
2019-01-15 11:16:30 -08:00
Grant Rodgers fb4bb9254e Use release.yaml instead of eventing.yaml (#762)
eventing.yaml doesn't install the in-memory provisioner, release.yaml
does. Since the provisioner is required to run the samples, we should be
telling users to install release.yaml.
2019-01-15 10:21:31 -08:00
Steren 2078ae3723 Add link to image in Dockerhub (#747)
* Add link to image in Dockerhub

Mainly for consistency with other samples.

* also README

* Fixes indentation issue causing build test failure

* fix bullet list indentation

* attempt #2 -- fixing build failure
2019-01-15 10:18:31 -08:00
Adriano Cunha b6732c9216 Update presubmit tests (#769)
Fixes #750.

* disable markdown linting
* ignore localhost links when checking for dead links in markdown files

Bonus: fix link in README.md
2019-01-15 10:09:30 -08:00
Ville Aikas 97c14659d1 Note about outbound access (#764)
* Add a note about enabling outbound access

* fix bold tags

* more rejiggering

* deal with existing lint issues, change to header as per linter

* remove subheader
2019-01-14 15:23:31 -08:00
Ville Aikas caed7ee6d0 use consistent env variables from install section (#759)
* use consistent env variables from install section

* fix existing lint problems causing test failures
2019-01-14 11:54:31 -08:00
Steren 5de45fb22d Remove license header for Node.js sample (#745)
This is a 15 line trivial hello world, a 15 line license header adds unnecessary complexity.
Many other samples do not include a license header.
The license is already captured at the root of the repository.
2019-01-10 15:16:29 -08:00