Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DNS01 provider conformance test suite #1562

Merged
merged 3 commits into from
Apr 18, 2019

Conversation

munnerz
Copy link
Member

@munnerz munnerz commented Apr 18, 2019

What this PR does / why we need it:

Requires #1561
Part of #1443

Add a DNS01 provider testing suite. This can be used to validate each provider performs according to cert-manager's requirements.

It requires credentials to be made available via the testdata/ directory in order for the tests to run properly.

I've adapted the cloudflare and rfc2136 providers to pass the basic suite.

We can then require that all new DNS implementations pass this suite before they can be used.

Which issue this PR fixes: fixes #774

Special notes for your reviewer:

This is still obviously WIP and experimental, but I want to get it in so we can publish the webhook example repo 馃槃

Release note:

Add DNS01 provider conformance test suite

/area acme/dns01

@jetstack-bot jetstack-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. area/acme/dns01 Indicates a PR modifies ACME DNS01 provider code dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. area/acme Indicates a PR directly modifies the ACME Issuer code area/testing Issues relating to testing labels Apr 18, 2019
@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 18, 2019
Copy link
Contributor

@kragniz kragniz left a comment

Choose a reason for hiding this comment

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

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Apr 18, 2019
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kragniz, munnerz

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

The pull request process is described 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

Signed-off-by: James Munnelly <james@munnelly.eu>
Signed-off-by: James Munnelly <james@munnelly.eu>
Signed-off-by: James Munnelly <james@munnelly.eu>
@jetstack-bot jetstack-bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 18, 2019
@jetstack-bot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@munnerz munnerz added the lgtm Indicates that a PR is ready to be merged. label Apr 18, 2019
@jetstack-bot jetstack-bot merged commit 49f91f9 into cert-manager:master Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/acme/dns01 Indicates a PR modifies ACME DNS01 provider code area/acme Indicates a PR directly modifies the ACME Issuer code area/testing Issues relating to testing dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add conformance testing tool for DNS-01 provders
3 participants