* An oversight left the gen test client around and it is causing issues with other automation that did not gen the test client because of deps changes.
* new better way to test codegen
* Renews a webhook cert before it expires
* Moved checks out of webhook and into certificate
* Updated error messages and others from review
* Updated error messages and changed time comparison
* Added two tests cases for checking expiration
* Fixed issue with missing "." in webhook.go
* Realized a corner case on ordering and False > Unknown states.
* add test with unknown fall through.
* I guess some integartions allow nil happy
* add unit tests for GetMessage and GetReason
* all conditons can be nil.
* Search for unhappy dependents.
* update codegen
* Remove KResource from v1alpha1 ducks.
* Create TLogger, bringing leveled logging to tests
Inspired heavily by go-logr, brings leveled logging to tests while
using the highly reliable zap logger backend to fulfill writing to
multiple log files.
Now that metrics logger has been removed, SetupLoggingFlags() is redundant. Moved to test/logging
* Cleanup TLogger and document
Add TLogger.Collect() to support collecting outcomes (either positive
strings or error types) which will be processed in a subtest upon
completion of the currently-running (sub-)test.
StructuredError prints its output in a more-readable form now.
Call-site should now work for .Log/.Logf-using functions.
Use cancel from NewTLogger instead of t.CleanUp()
Use a zapcore SpewEncoder when writing to testing.T
Means even non-json-encodable structs will get printed to the test log
output, while preserving encodable structured output for other log files.
Removed timestamp from printing to t.Log
* Fix the automatically-detected issues
Spelling, codegen, some coverage (coverage of memory_encoder.go should
not be necessary but the coverage tool is broken and needs to be fixed).
* Increase unit test coverage slightly and fix tiny comment
* Set attribute the way the coverage program wants
* Cleanup based on notes
* Comment cleanup and privitize var
* Mistake; left purposely-failing tests enabled
* Reduce long lines
* Consolidate cleanup code; make variable expressive
* Cleanup and bugfix
Failing functions now tested by having an internal constructor
option to skip calls to t.Fail()/t.FailNow().
Fixed some bugs with internal method errorWithRuntimeCheck and added
tests for it.
Address minor typos from comments.
* Tiny name/optimization fixes
* looking at annotations for group overrides.
* checkpoint.
* checkpoint
* I think it is correct.
* ok
* trim down the files.
* simulate tekton
* working test out of checkin
* remove test client
* update docs
* and test.
* lint
* it ok
* update codegen
* Document the plan for metrics
* Update with issue links
* Update with other @mattmoor comments.
* Address feedback from @anniefu
* Update export address since `localhost` won't work for a DaemonSet.
* Add an explicit action item to migrate Prometheus
* Fix possible (ambiguous) link vs checkbox.
* Fix typo in metrics/README.md
* Add support for client TLS to pkg/metrics
* Address comments from @vagababov and @anniefu
* Finish removing Resource code
* Update name to be shorter and not require a double migration.
* Add tests for opencensus exporting with TLS
* Default occupy Boskos for long enough time so we don't need to do heartbeat
* Update testutils/clustermanager/e2e-tests/boskos/boskos.go
Co-Authored-By: Victor Agababov <vagababov@gmail.com>
Co-authored-by: Victor Agababov <vagababov@gmail.com>
* allow filtering on schema.GroupKind
In addition deprecated usage of Filter with the introduction of
FilterGroupVersionKind
* reduce nesting & simplify boolean logic
* fix rando issues
* code in the group for finalizer name.
* Use FinalizeKind
* show the Finalizer interface.
* removing isFinalizing
* sync finalizers before calling reconcilekind
* missed the events change.
* bump the minimum version to 1.15.1
Kubernetes 1.15.0 has a bug in openapi and conversion webhook does not
allow to deploy any Knative resources by kubectl.
To avoid hit the issue, this patch bumps the minimum version to
1.15.1.
Please refer to https://github.com/knative/serving/issues/6787 for
more detail.
* Fix unit test
Per runtime.Version() docs the version might be a commit tag, that is not accepted
by Mako servers.
So fix that to espace more generally.
Period, on the other hand, is now an accepted symbol, so stop translating it.