Commit Graph

35 Commits

Author SHA1 Message Date
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