Skip to content

Conversation

@surajkota
Copy link
Contributor

Description

Scripts and build spec to run tests on existing EKS cluster using oidc and helm charts on codebuild

Testing

Using codebuild

Related PRs

aws-controllers-k8s/test-infra#18

@surajkota surajkota requested review from akartsky and mbaijal May 7, 2021 08:40
@surajkota surajkota self-assigned this May 7, 2021
@surajkota surajkota requested a review from RedbackThomson as a code owner May 7, 2021 08:40
@surajkota surajkota removed the request for review from RedbackThomson May 7, 2021 08:41
function cleanup {
echo "Cleaning up resources"
set +e
kubectl delete endpoints.sagemaker --all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this means we won't be able to run codebuild tests in parallel as one test might delete resources being used in another test.

Right now we don't need this as we don't have a problem of leaking resources.
By doing this we will not come to know if there are some leaking resources in future.

I think we should just handle these kinds of cleanup better in the the tests itself.
(this will help while running tests locally too as they might leave resources behind)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there will some more work to make them run in parallel like not installing helm charts

lets keep this until then

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also there is the problem of finalizer where delete might get stuck forever

@ack-bot
Copy link
Collaborator

ack-bot commented May 7, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: akartsky, surajkota

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@surajkota surajkota merged commit d46feed into aws-controllers-k8s:main May 7, 2021
ryansteakley pushed a commit to ryansteakley/sagemaker-controller that referenced this pull request May 17, 2021
* helper scripts for canary

* update acktest

* buildspec and path changs

* bug fix after rebase
ryansteakley pushed a commit to ryansteakley/sagemaker-controller that referenced this pull request May 18, 2021
* helper scripts for canary

* update acktest

* buildspec and path changs

* bug fix after rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants