Commit Graph

45 Commits

Author SHA1 Message Date
Jeff a43ebe205a
Removes `_index.md` (#4205)
* Removes `_index.md`

* Reverts `hack/build.sh` changes and removes `index_test.go`
2021-10-18 03:08:27 -07:00
Evan Anderson 3b06dc9a8c
Disable failing integration tests (#4300)
* Disable integration tests because they break a lot, per julz

* Actually run go and notice extra unused imports

* Revert "Disable integration tests because they break a lot, per julz"

I took out too much.

This reverts commit eca3a2d8ce.

* Re-add simplifed sampleapp used by the consistency checker

* Forgot to autoformat after beating things with emacs and grep

* Add empty e2e tests

* Fix formatting again. `vi` this time
2021-09-28 01:03:14 -07:00
Omer B 5e56c88e45
Issue 3642 finishing up eventing sanity check (#3743)
* Update mkdocs.yml

* Update mkdocs.yml

* Update mkdocs.yml

* bringing back the purple

* Revert "bringing back the purple"

This reverts commit a6af055288.

* Removing reference to GKE-specific docs

* bash, resolving redirect warning for help

* replace all shells with bash across the entire project

* style guide conformance

* index -> readme

* serving link fixes while I'm at it

* fix serving links and redirects

* lint
2021-06-08 05:53:41 -07:00
Julian Friedman 61b8c3f91e
Move mkdocs work over from julz/mkdocs branch (#3551)
* initial move over

* Fix up index page names

* Add version variables

* Escape macro syntax

* Automatic fixups with mkhugo

* Drop no-longer-needed excludes

* Rename more _index files

* Move broker-configmaps.md a README.md

avoids a directory with no index/readme

* Autogenerate Eventing nav

* Fix markdown

* Update Serving nav

* Add h1 headers

Makes things look nicer in github, and makes search work more accurately
in mkdocs

* Unexclude all samples

* Correct client link

* Fix gitignore, skip hugo tests
2021-05-11 05:58:46 -07:00
Evan Anderson b09ccae46f
Add frontmatter to avoid rendering infrastructure description files (#3472) 2021-04-20 11:48:35 -07:00
Kenjiro Nakayama 2021308442
Drop net-istio dependencies (#3465)
* Use istioctl install instead of net-istio's script

* Run hack/update-deps.sh
2021-04-19 10:44:00 -07:00
Evan Anderson 778b1fb3ae
Update OWNERS_ALIASES to match autogen in community (#3406)
* Update OWNERS_ALIASES to match autogen in community

* Fix spelling of TOC

* Fix whitespace lint. I couldn't see it.

* Add additional productivity-reviewers from later grouping
2021-04-06 16:58:49 -07:00
Roland Huß c14f768971
Reworked shell hello world example (#2832)
* Change event type in Sequence with Broker example (#2897) (#2916)

If the type of the event isn't changed by the last step in the
sequence the event will be resent to the Trigger that targets
the sequence creating an unwanted loop.

Fixes #2851

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>

* Reworked shell hello world example

* Reworked example to be a "true" shell example that is considerable different than the helloworld-go example
* Added examples for kn usage

(Fixed according to review comments)

Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
2020-11-06 07:53:07 -08:00
Scott Nichols 0ff9a4b968
Use knative.dev/hack repo (#2977)
* use the new hack repo for scripts

* use the new hack repo for scripts

* also skip third_party
2020-10-28 13:14:34 -07:00
Kenjiro Nakayama 58c473597c
Fix Istio installation for CI (#2889)
* Import net-istio

* Run hack/update-deps.sh

* Update test/e2e-test.sh

* Fix mistake

* Update go.mod and re-run hack/update-deps.sh
2020-10-06 12:10:01 -05:00
Dave Protasowski 4f1c203ff5
fix istio install (#2826) 2020-09-17 11:43:42 -07:00
Markus Thömmes b1d394b4f8
Remove unnecessary occurrences of whitelist and master. (#2799) 2020-09-10 02:09:51 -07:00
Kenjiro Nakayama e39d247be5
Fix URL to net-istio for istio manifest (#2748) 2020-08-13 06:41:06 -07:00
Zhimin Xiang 54508a76d7
Fix the broken E2E tests (#2716)
* DO NOT REVIEW: debug integration test

* Retain the cluster for debugging

* Skip installing Istio addon

* check if the CRD exists

* Fix the test script

* Switch to use Istio 1.5

* fix the format

* revert the golang change
2020-07-30 16:43:00 -07:00
richterdavid 1720b4941b
Fixes yaml typo (#2618) 2020-06-24 10:00:28 -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
Adriano Cunha 4abb2f9d5a Remove outdated TODOs (#2080)
Issues #66 and #67 are now closed.
2020-01-02 14:32:42 -08:00
Adriano Cunha 065ab744e7 Run markdown_build_tests directly to: (#1963)
* fix readonly var warning
* skip unnecessary tests
2019-11-05 13:55:26 -08:00
Adriano Cunha 8cc363e29b Add a script to check for dead links in markdown files (#1954)
Also update test-infra for the latest goodness.
2019-11-04 12:35:19 -08:00
Adam Ross 81bc837df5 helloworld: go clarity tweaks and go modules for shell (#1908)
* helloworld: go clarity tweaks and go modules for shell

* helloworld: go and shell README and comment alignment
2019-10-21 15:15:25 -07:00
chaodaiG 497c78d760 Update Helloworld unit test error message to make it actionable (#1812)
* Update Helloworld unit test error message to make it actionable

Update error message with detailed explanation so that developers know how to debug if unit test ever failed.
Fix a bug in unit test.
Update all READMEs so that they are valid

* Feedback updates
2019-09-24 14:28:42 -07:00
Adam Ross 61d24a1196 serving/samples: update helloworld-go to go:1.13 and go modules (#1774)
* serving/samples: update helloworld-go to go:1.13 and go modules

* seving/samples: sync helloworld-go Dockerfile to README

* alpine:3.10 => alpine:3

* serving/samples: helloworld-go name binary helloworld-server

* serving/samples: simpler comment for go build in helloworld-go

* serving/samples: helloworld-go README sync

* serving/samples: fix up README

* serving/samples: add go.mod to test config

* serving/samples: Add instruction to create a go.mod
2019-09-17 11:32:46 -07:00
chaodaiG 003aca0f76 Use knative.dev/test-infra (#1627) 2019-07-31 09:59:44 -07:00
mattmoor-sockpuppet a5aef292d2 golang format tools (#1455)
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
2019-06-12 07:53:43 -07:00
chaodaiG ae7836c70b Fix e2e tests by using url instead of domain (#1437) 2019-06-08 11:58:41 -07:00
Adriano Cunha 5dd03a1cb4 Use local sources for TestSampleApp/java-spring (#1390) 2019-05-30 07:21:36 -07:00
Adriano Cunha 55fdb5bd7f Use OWNERS_ALIASES for productivity approvers/reviewers (#1366) 2019-05-23 01:01:29 -07:00
Ray Tsang c60d695a02 rename hellworld-java to helloworld-java-spring (#1185)
* rename hellworld-java to helloworld-java-spring

* updated sampleapp test

* Updated sample test app tmp directory

* Renamed service name and instructions to reflect helloworld-java-spring
2019-04-23 09:18:29 -07:00
chaodaiG 1bbdda768c Add unit test to make sure helloworld samples README consistent with source (#1102)
* unclean working version of unit testing

* fix after merging

* rename test file

* remove debugging message

* based on PR comments
2019-03-27 19:23:51 -07:00
chaodaiG 40b64f27f8 refactor e2e test (#1093) 2019-03-27 10:41:52 -07:00
chaodaiG 6eb034e158 Consolidate helloworld sample apps output and make sure instruction consistent with source code (#1092)
* consolidate helloworld sample outputs

* make sure sources are identical with README

* more correction

* more correction

* syntax fix
2019-03-27 09:55:51 -07:00
chaodaiG 52837ad26a Add e2e tests for kotlin, nodejs, php, python, ruby, and shell sample apps (#1083)
* resolve merge conflict

* add shell

* use comma instead of space as languages separator
2019-03-26 11:44:51 -07:00
mattmoor-sockpuppet 6eacdac7d7 golang format tools (#1081)
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -type f -name '*.go' -print))`
  `goimports -w $(find -name '*.go' | grep -v vendor)`
2019-03-26 07:33:51 -07:00
chaodaiG 0ca7b238c4 allow emit-metrics flag (#1076) 2019-03-25 22:32:50 -07:00
chaodaiG 789ca781fd Add generic e2e test base for sample apps (#1057)
* table driven test

* fix build error

* add e2e build tag to these files to make them not fail unit test

* update based on PR comment

* switch to yaml based config

* make configFile a const

* Temporarily start knative serving for testing purpose

* This reverts commit 75b8fc434b.
2019-03-25 13:50:50 -07:00
Adriano Cunha 166b4d6cfd Disable markdown link checks (#773)
Addresses #772.
2019-01-15 16:55:30 -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
Adriano Cunha 49126fcc43 Add real build/unit presubmit tests (#734)
Addresses #66.
Addresses #67.

* Update test-infra to use the default build/unit test runners, which includes building go code and linting markdown files.
* Remove the integration tests, as they only start Knative Serving, which is irrelevant for this repo.

Bonuses:
* fix unbuildable `grpc-ping-go` sample
* remove test-infra import hack from `Gopack.lock` and `update-deps.sh`
2019-01-10 14:23:42 -08:00
mattmoor-sockpuppet c64c63a160 Format markdown (#626)
Produced via: `prettier --write --prose-wrap=always $(find -name '*.md' | grep -v vendor | grep -v .github)`
2018-12-04 14:34:25 -08:00
mattmoor-sockpuppet 41462c69e1 Format markdown (#620)
Produced via: `prettier --write --proseWrap=always $(find -name '*.md' | grep -v vendor)`
2018-12-03 13:54:25 -08:00
Adriano Cunha 9f5fed536d Vendor the test-infra scripts (#353)
* shared scripts from test-infra live in //vendor/github.com/knative/test-infra/scripts;
* created `//hack/update-deps.sh` to properly update deps, including test-infra;
* all bash scripts were updated to use the vendored scripts;

Part of knative/test-infra#30.
2018-08-23 21:27:59 -07:00
Adriano Cunha 72cb87519a Use helpers from prow-tests image for tests (#232)
* Use helpers from prow-tests image for tests

We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

`presubmit-tests.sh` helper is implemented by knative/test-infra#12
`e2e-tests.sh` helper is implemented by knative/test-infra#17

* Explicitly fail test if setup fails
2018-07-21 10:17:34 -07:00
Ryan Gregg c81e11176e Add license footer and text (#204) 2018-07-19 12:05:32 -07:00
Adriano Cunha 7e51ecbcbb Remove bobcatfish from OWNERS (#84)
bobcatfish is transitioning off of this project.
2018-07-10 09:48:39 -07:00
Adriano Cunha 5c7ec25226 Create presubmit and end-to-end test infrastructure (#68)
* Create presubmit and end-to-end test infrastructure

Partially addresses #65.

Note that build, unit and integration tests are currently placeholders for the real stuff (see #67, #66 and #30).

* Fixes:
* Correctly wait for knative/serving to be up
* Add proper E2E header, stating that no tests are run
2018-07-03 13:07:28 -07:00