Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Feat: e2e tests #207

Merged
merged 1 commit into from
Nov 14, 2019
Merged

Feat: e2e tests #207

merged 1 commit into from
Nov 14, 2019

Conversation

moolen
Copy link
Member

@moolen moolen commented Nov 8, 2019

Hey!
I'd like to add e2e tests to the repository in order to test the full path including helm chart configuration, AWS/Localstack integration and the good path (create ES, read data from SSM, wait for secret to appear). This is a first iteration, we can add more tests later on.

I also added validation to the custom-resource-manifest.json (using the new .spec field).

Unfortunately, we can't test the STS/assume-role integration - local stack does not seem to support it.

@Flydiverny
Copy link
Member

Flydiverny commented Nov 8, 2019

Doh just added some crd validation things as well, just hadn't gotten to creating the pr 😅 (#208)
Nice with e2e test tho!

@moolen moolen changed the title Feat: e2e tests, CRD validation Feat: e2e tests Nov 8, 2019
@moolen
Copy link
Member Author

moolen commented Nov 8, 2019

Thanks, i'll remove my crd changes then.

Copy link
Member

@Flydiverny Flydiverny left a comment

Choose a reason for hiding this comment

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

need to look more on this but ill post this one comment for now :)

Copy link
Contributor

@silasbw silasbw left a comment

Choose a reason for hiding this comment

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

nice. one nit.

thank you for contributing this!

@moolen
Copy link
Member Author

moolen commented Nov 11, 2019

Thanks for your comments! I changed the deployment name for more clarity and squashed my changes into a single commit.

@@ -39,6 +39,7 @@ const systemManagerBackend = new SystemManagerBackend({
logger
})
const backends = {
// when adding a new backend, make sure to change the CRD property too
Copy link
Contributor

Choose a reason for hiding this comment

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

is this comment still valid, or is it an artifact from a previous revision?

Copy link
Member

Choose a reason for hiding this comment

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

its valid :) he had CRD validation in this PR first, but since I had a pr for it as well it was removed from here, but it still applies!

@Flydiverny Flydiverny merged commit dfa210b into external-secrets:master Nov 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants