* fix project in e2e cluster manager
* delete async for boskos
* use the right quota in the GKE requests
* update google cloud api
* update
* fix unit tests
* fix unit tests
* fix unit tests
* acquire always creates new
* support resolving GKE version
* go fmt
* delete version.go
* add more unit tests
* genreconciler:nonNamespaced
* Adding a force-kinds flag to the reconciler generator to allow us to generate reconcilers for non-owned types.
* force-kinds --> force-genreconciler-kinds
* some minor nits with the generators for non-knative types needed to be removed.
* remove whitespace
Co-authored-by: Nacho Cano <nachoacano@gmail.com>
* add a function to parse all env config set by Prow
* fix unit tests
* address comments
* address comments again
* address comments2
* address comments
* 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
* 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
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.
* Added release channel support in cluster creation in cluster manager lib
* updated k8s beta dependency to pick up release channel API
* added unit test for the missing coverage in request_test.go
Working to introduce structured logging to our tests. See #907
This work allows these test functions to be called by objects other
than *testing.T. The t.Error() calls are made compatible with
structured logging (wrapping Zap sugared logger calls) or code using
testing.T.
* Added WaitForPodState to wait a state of a single pod
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Added WaitForServiceEndpoints
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Changes from review
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Change from review
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* mako-stub now writes columns before the message output
mako-stub now REQUIRES the dev.config in the config-mako ConfigMap
mako-stub waits a configurable time for the stdout flush
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* mako-stub serves results with http AFTER the results are received
Added an handy script to read the results with http
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Trailing new line
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Applied suggested changes + fixed read_results.sh script
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Changes from review
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
* Allow glog to coexist with klog
glog isn't used in our repos with good reason, but performance tests
use it, for now. This commit removes the ability to set klog flags
that aren't shared with glog, in return for the ability of glog to be imported.
* update-codegen