-
Notifications
You must be signed in to change notification settings - Fork 177
Add raw deployment deployer #3075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
c75dd14
Add kubernetes deployment deployer
creydr fbe9a08
Run update-codegen.sh
creydr aefa402
Remove unneeded function
creydr b2cb5ec
Address build issues
creydr 07e763b
Run make schema-generate
creydr c45a57b
Get logs by selector in integration_test
creydr 7b5e8de
Add implementations for Lister, Describer and Remover for raw deploymβ¦
creydr d665b09
Use correct deploytype in integration test
creydr 00aae0c
tmp: Use http scheme for url in describer
creydr 96f7742
Fix receiving pod logs correctly in test
creydr c0e19d4
Fix deployer integration test
creydr d42c01a
Wait for pods of deployment to be ready too
creydr c106b21
Move Deployer, Describer, Lister and Remover int tests to correct pacβ¦
creydr 31f51c5
Log receiver also check existing pods
creydr 0065567
Revert "Log receiver also check existing pods"
creydr 71e275b
tmp: disable cleanup to get pod logs / status and add more logs
creydr 62ee5e0
Revert "tmp: disable cleanup to get pod logs / status and add more logs"
creydr c97cef4
Give a bit more time to collect logs
creydr 8c6b301
Add multi deployer, -lister, -remover
creydr 60057a3
Move deployer, lister, describer and removers in separate packages
creydr 72e5b64
Use integration tests in k8s packages too
creydr b7585ac
Fix import cycle issue
creydr 5becb00
Fix integration tests
creydr 2a005d7
Remove unneeded test
creydr bae127e
Run all deployer integration tests on both deployer implementations
creydr 3c31e03
Add small delay in test
creydr 0abe428
Revert "Add small delay in test"
creydr 148030e
Wait for deployments to be up
creydr a116687
wait for ready pods instead of checking only if containers are running
creydr a35d7a1
tmp: collect pod status and logs
creydr fc98822
Revert "tmp: collect pod status and logs"
creydr 4e8c50a
Add deploy-type information in description
creydr 2dba689
Poll for pod logs instead of time.sleep
creydr d3c7585
Switch to PollUntilContextTimeout in wait functions
creydr 163b15e
Make sure no pods of old replicas of the deployment are running anymoβ¦
creydr 89fd2bc
Change clients WithLister|Describer|Remover methods to variadic argumβ¦
creydr 8e38fc9
Move Deployers, Listers, Describers and Removers back into knative/k8β¦
creydr 830a9d5
[WIP] Resolve some cyclic dependencies
creydr d7f9493
Remove subscribe functionality from raw deployer to remove dependencies
creydr 20551ca
Some more cleanup and import alias fixes
creydr 2978dde
Rename deploy-type arg to deployer to align with other arg names
creydr eb00082
Fix build issues in cmd unit tests
creydr e47509d
Adjust integration tests to not test func subscribe by default and skβ¦
creydr 1bb826c
Add shell completion for deployer selection
creydr a30bc73
Undo unneeded changes in imports ordering
creydr 165f7bb
Move SynchronizedBuffer to k8s package
creydr c28bc3d
Readd Test_processValue unit test
creydr 3afe835
Use constants for waiting timeout
creydr e5698c9
Use onClusterFix for raw deployer too
creydr 68f73e5
Remove unneeded build tags
creydr f8325f8
Use TestInt_ pattern for integration tests (and helper functions)
creydr 4dfc903
Use dot import for pkg/testing
creydr b952d8d
Use dot import for pkg/testing/k8s
creydr fa5960b
Use fn alias for pkg/functions import for consistency
creydr 4087199
Update outdated comment
creydr 2b0f2a5
Some more TestInt_xyz replaces
creydr aad506c
Mark test helper functions with t.Helper()
creydr 6f3d6cb
Removed build tags in other int_test_helpers.go
creydr 0fa60ea
Merge remote-tracking branch 'knative/main' into kubernetes-deployer
creydr c3738c7
Use dot imports for some testing packages
creydr 9782f41
Move testing/k8s to testing package
creydr 0a8ddec
Revert "Move testing/k8s to testing package"
creydr 2e8d385
Update describe to return a ErrNotHandled error
creydr eb1ae74
Update remover to return a ErrNotHandled error
creydr 6620502
Update lister to only return resultlist and error (remove handled/booβ¦
creydr ac5b588
Move IsCRDNotFoundError() to knative package and make specific to Knaβ¦
creydr 99d0d3e
Add +build integration tag on integration test files
creydr 43ce431
Remove misleading comment
creydr 8103987
Fix build issues
creydr b92dae7
Add a few more comments to the Describe, Remove and List usage about β¦
creydr 164de65
Remove outdated package comment
creydr fa0256a
Remove need to specify deployer in function programmatic declaration
creydr b4db989
create Trigger in test only for Knative Service as we don't support iβ¦
creydr a598cd8
Use correct API version for triggers subscriber ref
creydr 46604b0
Merge remote-tracking branch 'knative/main' into kubernetes-deployer
creydr 70c7019
Ignore golang-lint dot import errors in testing helpers
creydr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.