-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Make the ACME developments testing easier #1769
Make the ACME developments testing easier #1769
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @nmengin ! Thanks for these useful scripts :)
I made few comments on typos.
examples/acme/Docker_Acme.md
Outdated
|
||
## Objectives | ||
|
||
In the way to test the integration to ACME, it exist containers to get a Let's encrypt simulated environment (named *boulder* below) . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion:
In our integration ACME tests, we use a simulated Let's Encrypt container based stack named boulder.
examples/acme/Docker_Acme.md
Outdated
In the way to test the integration to ACME, it exist containers to get a Let's encrypt simulated environment (named *boulder* below) . | ||
|
||
The goal of this directory is to provide to developer a Traefik-boulder full stack environment. | ||
This environment may be used in the way to test quickly developments on the ACME certificates management. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion:
This environment may be used in order to quickly test developments on ACME certificates management.
examples/acme/Docker_Acme.md
Outdated
The goal of this directory is to provide to developer a Traefik-boulder full stack environment. | ||
This environment may be used in the way to test quickly developments on the ACME certificates management. | ||
|
||
Boulder stack provided is based on the environment used during integration tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The provided Boulder stack
examples/acme/Docker_Acme.md
Outdated
The script **manage_acme_docker_environment.sh** requires one argument. This argument can have 3 values : | ||
|
||
* **--start** : Check environment and launch Docker environment. | ||
* **--stop** : Stop and delete current docker environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the current Docker
echo "[ERROR] Impossible to stop the Docker environment" && exit 11 | ||
} | ||
|
||
# Create dans start (up) environment of subpart of its services |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/dans/and
environment of subpart of its services
not sure to understand this part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
examples/acme/compose-acme.yml
Outdated
RABBITMQ_NODE_IP_ADDRESS: "0.0.0.0" | ||
|
||
traefik: | ||
image: traefik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Friends don't let friends use :latest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed @dtomcej 😉
In fact, I used containous/traefik:latest
for my tests because it's the image generated with the make image
command.
I will change the image to use containous/traefik:latest
, either the user will use it's own generated image or he will use the last master branch image.
@dtomcej what is your mind about this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't you want to use the compose build directive? build a docker container with the locally built binary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dtomcej : done 😉
@nmengin you need to rebase dur to SemaphoreCI |
d4ac53d
to
e64f417
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry small typos again :)
examples/acme/Docker_Acme.md
Outdated
|
||
In our integration ACME tests, we use a simulated Let's Encrypt container based stack named boulder. | ||
|
||
The goal of this directory is to provide to developer a Traefik-boulder full stack environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*developers
examples/acme/Docker_Acme.md
Outdated
|
||
### Description | ||
|
||
To work fine, boulder needs domain name, with related IP and storage file. The shell script allows to check the environment before to launch the Docker environment with the rights parameters and to manage this environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs a domain...with a related IP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before launching the...and managing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @nmengin
LGTM
@nmengin Very nice work. However, even if I add the "Happy Hacker Fake CA" in my trusted root certificates, the Here is the "Happy Hacker Fake CA" :
It fail with the message :
Thanks for your help ;) |
Description
The goal of this PR is to allow users to test easier the ACME develoments by providing :