-
Notifications
You must be signed in to change notification settings - Fork 237
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
Refactor puppetserver container tests #2062
Refactor puppetserver container tests #2062
Conversation
Depends on puppetlabs/pupperware#65 |
f8466f8
to
f8813c5
Compare
This updates the puppetserver tests to use `docker-compose` instead of `docker-run`. This also updates the tests to use the shared testing gem from github.com/puppetlabs/pupperware. This also includes a move from the puppet-agent-alpine to puppet-agent-ubuntu for testing. We were seeing a lot of intermittent network failures with the alpine container on windows (LCOW). See moby/libnetwork#2371 and microsoft/opengcs#303 have more information on this issue. This should hopefully clear up the intermittent name resolution failures we were seeing.
This adds `PUPPET_STORECONFIGS_BACKEND`, `PUPPET_STORECONFIGS`, and `PUPPET_REPORTS` environment variables for configuring `storeconfigs_backend`, `storeconfigs`, and `reports` settings in puppet.conf.
f8813c5
to
aad85a0
Compare
This is ready for review now :) |
- PUPPETSERVER_HOSTNAME=puppet.test | ||
- PUPPERWARE_ANALYTICS_ENABLED=${PUPPERWARE_ANALYTICS_ENABLED:-false} | ||
- DNS_ALT_NAMES=puppet,puppet.test,${DNS_ALT_NAMES:-} | ||
dns_search: '.test' |
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.
It's interesting that this works, because I thought what I discovered in my experiments was that this is actually supposed to be:
dns_search: test
- compiler.test | ||
|
||
networks: | ||
puppetserver_test: |
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.
👍
Even though this adds more to the file, we should probably make this explicit it in other compose files so we have better control of the name.
No description provided.