Commit Graph

44 Commits

Author SHA1 Message Date
Murphylu1993 c80d4ab08f
fix typo (#2611)
* fix typo

* fix typo
2020-06-24 10:58:27 -07:00
Murphylu1993 491e87a211
fix typo (#2606) 2020-06-22 08:48:26 -07:00
Evan Anderson efa607f93e
Add a test for "index.md" frontmatter and fix the repo to match (#2377)
* Add a test for "index.md" frontmatter and fix the repo to match

* Fix trailing whitespace

* Merge and add new required index.md files.

* Clarify error message action needed

* Fix up another new sample

* Fix spacing on error message
2020-05-15 08:41:02 -07:00
Grant Timmerman 39531287d1
fix: revert hello-deno std lib to pre 1.0, see denoland/deno#5267 (#2467)
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
2020-05-13 12:55:57 -07:00
Grant Timmerman 65bbf870f7
Update Deno Syntax to New 1.0 Syntax, (#2457)
* feat: bump deno to 1.0

* fix: update to new deno syntax. Update Dockerfile from steren comments

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* style: fix whitespace

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
2020-05-13 10:21:58 -07:00
Grant Timmerman d67da61de8
feat: bump deno to 1.0 (#2456) 2020-05-12 17:56:57 -07:00
Grant Timmerman a3b4085f1e
feat: add helloworld-deno (#2444)
* feat: add helloworld-deno

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* Update community/samples/serving/helloworld-deno/Dockerfile

Co-authored-by: Matt Moore <mattmoor@vmware.com>

* fix: fix deno sample whitespace

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* fix: use env var for PORT if not specified

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* fix: deno prefer copy

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

Co-authored-by: Matt Moore <mattmoor@vmware.com>
2020-05-12 16:40:57 -07:00
Bozhao a6960299d4
Add machine learning serving example using python (#2376)
* Add machine learning serving example using python

* Update readme

* update base on comments

* add python bentoml to the sample's list

* Add trailing newline
2020-04-13 09:42:11 -07:00
RichieEscarez a446321306 404 Fixes and Cherry-picks from 0.10 (#2048)
* Secrets use GOOGLE_APPLICATION_CREDENTIALS as key (#1769)

* [DOC] Add alternative shell command to delete knative service  (#1727)

* Update getting-started-knative-app.md

It is very useful when `kservice` are created via API and not with files.

* Delete the word "record" per review.

* Fix typo in microk8s doc (#1912)

* Fix the Subscription's apiVersion in debugging. (#1914)

Fix the Subscription's apiVersion in eventing debugging example.yaml file.

According to the api register in `https://github.com/knative/eventing/tree/master/pkg/apis/messaging`. 
The Subscription Kind should be in messaging.knative.dev/v1alpha1, while the original file is "eventing.knative.dev/v1alpha1".
If apply the original file, the error happened "error: unable to recognize "example.yaml": no matches for kind "Subscription" in version "eventing.knative.dev/v1alpha1""

This update fix this bug.

* minor typo fix (#1932)

* fix small typo in sample READMEs (#1967)

* fix more broken links

* fix broken links

* update old readfile syntax

* revert dynamic var

* link to folder not readfile source

* fix bad markdown

* fix broken titles and links
2019-12-13 15:29:54 -08:00
RichieEscarez a8a1032de0 fix broken links (from link checking report tool testing) (#1975)
* remove missed file

* fix more broken links

* fix markdown only link errors
2019-11-11 19:33:22 -08:00
Matt Moore 1359104439 Drop the manual gateway resolution from samples. (#1846)
This builds on these changes to allow us to drop the manual gateway resolution from our samples:
https://github.com/knative/docs/pull/1839
https://github.com/knative/docs/pull/1840
https://github.com/knative/docs/pull/1841

The expectation is that samples are run in an environment with DNS suitably configured, even if
that is simply `xip.io` for development.
2019-10-02 11:44:07 -07:00
Matt Moore bf0eefc64d Fix a minor typo (#1847) 2019-10-01 09:18:04 -07:00
Nils Schmidt 49ebc27142 Improve gke static ip assign doc (#1821)
* Remove error-prone if branch for ingress gateway name detection<

* Add gke example image of desired external IP address state

* Remove knative-ingressgateway due to versioned docs

* Remove knative-ingressgateway due to versioned docs in whole repo

* Fix indention
2019-09-24 09:57:44 -07:00
Matt Moore 8adb5cbe47 Use v1 everywhere for 0.10 (#1802)
/hold

Need to wait for the docs 0.9 release cut.
2019-09-23 16:02:16 -07:00
Averi Kitsch 89c6b549b4 [samples] R sample with R server (#1777)
* draft

* R plumber sample

* update Readme
2019-09-10 13:27:29 -07:00
Averi Kitsch 2c2d37d58f [docs] Update R sample to use Go (#1676)
* Update R sample to use Go

* Dockerfile updates

* Update ReadMe
2019-08-29 14:25:46 -07:00
RichieEscarez 22f717fd63 make branchnames dynamic (#1667) 2019-08-08 14:32:58 -07:00
Averi Kitsch 1be53a692f Hello World Sample for R (#1664)
* Helloworld R sample

* readme

* actually save the readme

* Update Docker and app

* Update readme release

* Update readme to match code
2019-08-08 12:01:57 -07:00
RichieEscarez 9a92f43ca2 Fix rendering issues due to nested shortcodes (#1596)
* Community - move frontmatter into README

* Serving - move frontmatter into README

* swap readfile calls from README.md to index.md

* Eventing - move frontmatter into README
2019-08-01 09:38:43 -07:00
Matt Moore 595c6e86ef Revert the use of Serving v1beta1. (#1545) 2019-06-27 11:06:07 -07:00
mattmoor-sockpuppet 8e20be6848 Format markdown (#1487)
Produced via:
  `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
/assign @samodell
2019-06-19 07:27:59 -07:00
Matt Moore 7ad28abafb Move all serving stuff to v1beta1 apiVersion (#1483)
* Clean up some stragglers to the beta shape.

* Migrate all serving apiVersion to v1beta1.
2019-06-18 15:31:46 -07:00
Dan Gerdesmeier 0cdad17da4 Update community samples to use v1beta1 APIs (#1430)
Replace the use of `runLatest` with `template`.
2019-06-12 10:42:43 -07:00
Matt Moore d1733f7a2c Migrate serving samples away from features disabled in 0.7. (#1439)
Eliminate several samples using JIT Builds.

Stop using `.status.domain` everywhere.

Fixes: #1438
2019-06-10 16:12:42 -07:00
Jonas Finnemann Jensen b31a9bc6f5 Explain upstream ONBUILD instructions (#1410) 2019-06-03 16:35:34 -07:00
mattmoor-sockpuppet bedcd15489 Format markdown (#1364)
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-05-22 07:23:30 -07:00
RichieEscarez ad876253b4 Fix community samples sub menu (#1358)
* missing _index.md + shorttitles

* typo
2019-05-21 11:20:27 -07:00
Graeme Rocher 4d0a8573e3 Add Micronaut Sample (#1199)
* Add Micronaut Sample

* Updated Dockerfile to use AdoptOpenJDK.

* renamed directory

* removed .factorypath

* ignore .factorypath

* removed PORT from Dockerfile
updated `application.yml` to respect port env var, and using a reasonable default

* renamed helloworld-micronaut to helloworld-java-micronaut

* Added frontmatter _index.md, and added link in samples/README.md

* small typo and PR#1202
2019-05-20 06:04:29 -07:00
Himanshu Pandey 793f2f3e12 Removed ENV PORT from all Docker files (#1290)
* Removed ENV PORT from Docker files

* Added back the ENV key
2019-05-13 08:49:40 -07:00
mattmoor-sockpuppet 8d62a0b066 Format markdown (#1288)
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2019-05-08 14:13:38 -07:00
Kamesh Sampath 4d7064dcf9 (docs): add quarkus java example (#1047)
* (docs): add sample for Java Quarkus

- Updated build for quarkus v0.13.1
- Added extra toolset to the base image
- refactored to new folder under community samples

Resolves: #1033

Signed-off-by: Kamesh Sampath <ksampath@redhat.com>

* (fix): upgrade to Quarkus v0.13.0

- removed test classes
- removed native image build

* (refactor): remove buildah native image script

- remove buildah native image script and use the one from the base builder img
- remove expose port

* Updated configurationt to get port from env var

* removed PORT env var.
reformatted README code blocks

* (chore): Review comment updates

- (refactor) added native image builder dockerfile
- (refactor) added comments MVN_CMD_ARGS to allow building Quarkus in JVM mode
- (chore) updated the knative build to use the new community samples path
- (chore): add other common IDE files to dockerignore

Signed-off-by: Kamesh Sampath <ksampath@redhat.com>

* updated readme

* Simplified quarkus example

* remove unnecessary dockerfiles

* Respect PORT environmental variable

* remove extra ls in Dockerfile

* Edit to get the user up and running

got a window to test and run the local side of the sample:
- added maven
- clarified code options
otherwise, left the rest of the content as is
2019-05-07 19:35:37 -07:00
Kevin Moore 0d8cfba60f More cleanup for helloworld-dart sample (#1159)
Align README.md content with code content
Fix a spelling issue
Ignore files as appropriate
2019-05-07 09:09:40 -07:00
mattmoor-sockpuppet 429da39a46 Format markdown (#1245)
* Format markdown

Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`

* Revert the bad portion of the auto-format
2019-04-28 08:13:30 -07:00
SataQiu 2def64f4ae fix some spelling mistakes of doc (#1223) 2019-04-24 12:47:30 -07:00
RichieEscarez 1d778b87fc add community _index.md files (#1219) 2019-04-22 11:48:28 -07:00
lIuDuI bafe7456dd Fix typo Knatve -> Knative (#1196)
Signed-off-by: xichengliudui <1693291525@qq.com>
2019-04-18 11:10:26 -07:00
Ahmet Alp Balkan 3f8fbb2ba0 helloworld-go: install CA certs (#1143)
* helloworld-go: install CA certs

All users who are querying any HTTPS endpoints will need this and won't understand why it's failing.

* address fixes

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-04-15 11:30:00 -07:00
mockturtl de30848e62 fix README (#1180)
Replace pubspec field `private` with `publish_to`.  [ref](https://www.dartlang.org/tools/pub/pubspec#publish_to)

See @52f464f.
2019-04-15 10:51:01 -07:00
Kevin Moore 52f464f44e Update community Dart sample (#1058)
* ignore .packages – this is machine-specific

* Fix pubspec - use `publish_to` instead of `private`

Order keys to follow convention

* update dependencies

* code cleanup
2019-04-10 11:18:58 -07:00
chaodaiG 451509735f move shell sample over to docs (#1085) 2019-03-26 10:26:50 -07:00
mattmoor-sockpuppet 01d4ba31ec Format markdown (#1070)
* Format markdown

Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`

* Apply suggestions from code review

Co-Authored-By: mattmoor-sockpuppet <mattmoor+sockpuppet@google.com>

* Undo parts of auto-correction that result in diff.
2019-03-24 21:12:49 -07:00
RichieEscarez 3c04f86ad7 Merge website files into Master (#1025)
* Add front matter to Build files (#833)

* Update README.md

* Adding front matter to builds.md

* Update installing-build-component.md

* Update README.md

Revert changes so Richie can handle this with the index file

* Update builder-contract.md

* Update personas.md

* Update auth.md

* Update creating-builds.md

* Update build-templates.md

* sentence case

* sentence case

* sentence case

* Adding frontmatter to /install/ (#834)

* Adds front matter to Serving (#838)

* Update accessing-logs.md

* Update accessing-metrics.md

* Update accessing-traces.md

* Update cluster-local-route.md

* Update debugging-application-issues.md

* Update debugging-performance-issues.md

* Update gke-assigning-static-ip-address.md

* Update installing-logging-metrics-traces.md

* Update outbound-network-access.md

* Update setting-up-a-logging-plugin.md

* Update using-a-custom-domain.md

* Update using-an-ssl-cert.md

* Update using-cert-manager-on-gcp.md

* Update using-external-dns-on-gcp.md

* site index for fluentd folder (#839)

* add Hugo index files and frontmatter (#840)

* hugo build files for autogen refdocs (#841)

* move resources and readme (#843)

* site: add blog (#837)

* add blog folder

* switch to sentence case

* site: add community and contributing (#836)

* add _index.md files and front matter

* switch to sentance case caps

* fix weights

* Update community/samples/README.md

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

* site: restructure content into a "docs" directory (#842)

* move content into a 'docs' directory

* inject additional 'docs' directory

* site: add build files and front matter to serving samples (#850)

* new _index.md files and front matter

* serving samples + fix urls

* remove file

* add PR#851 - channels (#853)

* Update README.md (#854)

* Remove README.md from all links (#855)

* Remove README.md from all links

* mend

* mend

* mend

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* fix links in community (#857)

* Update _index.md (#856)

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

Adds missing pointer to README

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* revert

* fix build links (#858)

* site: fix eventing links (#859)

* fix eventing links

* Update README.md

* fix install links (#860)

* site: fix serving links (#861)

* fix serving links

* Update using-external-dns-on-gcp.md

* remove hardcoded github link (#863)

* Update README.md (#864)

Fix links by removing md file extensions.

* Fix links (#866)

* Fix links

* Update installing-build-component.md

* Update builder-contract.md

* add missing hello-world directory (#865)

* Link fixes for Build (#867)

* Fix links

* Update installing-build-component.md

* Update builder-contract.md

* Update creating-builds.md

* Update builder-contract.md

* Update builds.md

* Update creating-builds.md

* Update installing-build-component.md

* Update installing-build-component.md

* Update creating-builds.md

* Update creating-builds.md

* Update builds.md

* Update build-templates.md

* convert to Hugo rel link

* Manually run prettier.io (#880)

* Manually run prettier.io

Trying to fix the stuff that hits prettier.io bugs.

* Fix prettier.io issues.

* Revert manual link fixes (use new build script instead) (#927)

* Revert "convert to Hugo rel link"

This reverts commit f1bbc8ebbc.

* Revert "Fix links (#866)"

This reverts commit 3a57ffed62.

* Revert "remove hardcoded github link (#863)"

This reverts commit fb7fdd9383.

* Revert "site: fix serving links (#861)"

This reverts commit f61514c1b4.

* Revert "fix install links (#860)"

This reverts commit 1fcf32b509.

* Revert "site: fix eventing links (#859)"

This reverts commit 880916567e.

* Revert "fix build links (#858)"

This reverts commit 847e08bf2e.

* Revert "fix links in community (#857)"

This reverts commit 0cd5a44baf.

* Revert "Remove README.md from all links (#855)"

This reverts commit 2029c8bccb.

* Revert "Update README.md (#864)"

This reverts commit 072c731155.

* Adding frontmatter to Gloo guide (#939)

*  adding frontmatter; cherry-picking commit into 0.3 (#943)

* Deploy using private registry (#847)

* new doc for deploying with private registry

* update last few steps

* header sizes

* capitalization

* updating with correct registry annotation and small edits

* wording

* formatting

* formatting

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* update based on feedback

* missing <

* adding tic marks for filename

* udpate with helloworld-go sample

* add testing application

* update return from helloworld app

* update readme with link to doc

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* Update serving/deploying-with-private-registry.md

Co-Authored-By: beemarie <beemarie@us.ibm.com>

* adding frontmatter; cherry-picking commit into 0.3

* Update Knative-with-Minishift.md (#988)

Update to correct title (Openshift > Minishift), as mentioned by Ashleigh in the Docs WG.

* add type:docs + enable relative links (#990)

* Deleting an unnecessary file

accidentally copied in extra file

* update ref docs api build script and files (#997)

* all links must have ./ (#1004)

* all links must have ./

* Update contributing/README.md

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

* Update contributing/README.md

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

* Update for clarity

* Update README.md

Fixing my poorly formatting suggestion

* ref tool steps + script (#1008)

* Incorporate edits from #1008 (#1010)

* Incorporate edits from #1008

* Add "contributor" info link

* page-by-page link check fixes (#1024)

* update readmes - source and site versions

* rename file to fix left nav

* rename file and remove folder to fix left nav
2019-03-20 13:48:47 -07:00
Matt Moore 4037374784 Manually run prettier.io (#880)
* Manually run prettier.io

Trying to fix the stuff that hits prettier.io bugs.

* Fix prettier.io issues.
2019-02-07 16:04:41 -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