* 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
* 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
* 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
* 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
* 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>
* 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
* 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
* 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
* 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
* 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
* 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.
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`
* 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.
* 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
* 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