You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add kubernetes deployment deployer
* Run update-codegen.sh
* Remove unneeded function
* Address build issues
* Run make schema-generate
* Get logs by selector in integration_test
This allows to get the logs of the deployment too
* Add implementations for Lister, Describer and Remover for raw deployments
* Use correct deploytype in integration test
* tmp: Use http scheme for url in describer
* Fix receiving pod logs correctly in test
* Fix deployer integration test
* Wait for pods of deployment to be ready too
* Move Deployer, Describer, Lister and Remover int tests to correct package
* Log receiver also check existing pods
* Revert "Log receiver also check existing pods"
This reverts commit a9bf274.
* tmp: disable cleanup to get pod logs / status and add more logs
* Revert "tmp: disable cleanup to get pod logs / status and add more logs"
This reverts commit b498724.
* Give a bit more time to collect logs
* Add multi deployer, -lister, -remover
* Move deployer, lister, describer and removers in separate packages
* Use integration tests in k8s packages too
* Fix import cycle issue
* Fix integration tests
* Remove unneeded test
* Run all deployer integration tests on both deployer implementations
* Add small delay in test
* Revert "Add small delay in test"
This reverts commit 2aec3f4.
* Wait for deployments to be up
* wait for ready pods instead of checking only if containers are running
* tmp: collect pod status and logs
* Revert "tmp: collect pod status and logs"
This reverts commit 8bc2a0b.
* Add deploy-type information in description
* Poll for pod logs instead of time.sleep
* Switch to PollUntilContextTimeout in wait functions
* Make sure no pods of old replicas of the deployment are running anymore in WaitForDeploymentsAvailable functions
* Change clients WithLister|Describer|Remover methods to variadic arguments
* Move Deployers, Listers, Describers and Removers back into knative/k8s package
* [WIP] Resolve some cyclic dependencies
* Remove subscribe functionality from raw deployer to remove dependencies
* Some more cleanup and import alias fixes
* Rename deploy-type arg to deployer to align with other arg names
* Fix build issues in cmd unit tests
* Adjust integration tests to not test func subscribe by default and skip test for kubernetes deployer
* Add shell completion for deployer selection
* Undo unneeded changes in imports ordering
* Move SynchronizedBuffer to k8s package
* Readd Test_processValue unit test
* Use constants for waiting timeout
* Use onClusterFix for raw deployer too
* Remove unneeded build tags
* Use TestInt_ pattern for integration tests (and helper functions)
* Use dot import for pkg/testing
* Use dot import for pkg/testing/k8s
* Use fn alias for pkg/functions import for consistency
* Update outdated comment
* Some more TestInt_xyz replaces
* Mark test helper functions with t.Helper()
* Removed build tags in other int_test_helpers.go
* Use dot imports for some testing packages
* Move testing/k8s to testing package
* Revert "Move testing/k8s to testing package"
This reverts commit 9782f41.
* Update describe to return a ErrNotHandled error
* Update remover to return a ErrNotHandled error
* Update lister to only return resultlist and error (remove handled/bool return value)
* Move IsCRDNotFoundError() to knative package and make specific to Knative
* Add +build integration tag on integration test files
* Remove misleading comment
* Fix build issues
* Add a few more comments to the Describe, Remove and List usage about responsibility
* Remove outdated package comment
* Remove need to specify deployer in function programmatic declaration
* create Trigger in test only for Knative Service as we don't support it yet for the raw deployer anyhow
* Use correct API version for triggers subscriber ref
* Ignore golang-lint dot import errors in testing helpers
"Service account to be used in the deployed function ($FUNC_SERVICE_ACCOUNT)")
196
+
cmd.Flags().String("deployer", f.Deploy.Deployer,
197
+
fmt.Sprintf("Type of deployment to use: '%s' for Knative Service (default) or '%s' for Kubernetes Deployment ($FUNC_DEPLOY_TYPE)", knative.KnativeDeployerName, k8s.KubernetesDeployerName))
196
198
// Static Flags:
197
199
// Options which have static defaults only (not globally configurable nor
198
200
// persisted with the function)
@@ -234,6 +236,10 @@ EXAMPLES
234
236
fmt.Println("internal: error while calling RegisterFlagCompletionFunc: ", err)
0 commit comments