-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add automated testing of AWS templates, rework existing e2e testing to use kubeclient #220
Conversation
Any thoughts on what the timeout should be when validating resources coming online from a provider? I've seen AWS take up to 20 min sometimes to deploy resources, I currently have it set to 30 min with 10 second polling. |
19dc014
to
b5e8cd5
Compare
👋 this can be reviewed, but do note the |
fcbad81
to
9732d36
Compare
I don't know what's going on with the AWS key/secret that IT added, for whatever reason Edit: womp womp
Local run of
|
fc0c166
to
4cff550
Compare
Signed-off-by: Kyle Squizzato <[email protected]>
* Simplify GitHub actions workflow to try to get secrets working. * Update permissions in workflow. Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
The workflow will require we label the PR with "test-e2e". Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
Signed-off-by: Kyle Squizzato <[email protected]>
08f9450
to
916301a
Compare
Signed-off-by: Kyle Squizzato <[email protected]>
916301a
to
1ae09c4
Compare
Can you take another look? Outside of controller-runtime
being used as the client I think I've addressed all your concerns. We can always change the client up later but it would be a non-trivial rework of this PR to modify it now and this is blocking a few people at this point.
I need to update the |
@squizzi Yes the choose of client is not that important. The rest looks good. |
Signed-off-by: Kyle Squizzato <[email protected]>
7557577
This PR:
exec.Command
and instead use a newKubeClient
type that implementskubernetes.Interface
make dev-aws-nuke
andmake cloudnuke
to purge AWS resources affiliated with a desired deployment name, whether that's the test created one or the one created byconfig/dev/deployment.yaml
Closes: #211
See: #201