forked from puppetlabs/puppetserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor puppetserver container tests
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.
- Loading branch information
Morgan Rhodes
committed
May 3, 2019
1 parent
8ab5f04
commit 6abbd06
Showing
8 changed files
with
87 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: '3.5' | ||
|
||
services: | ||
puppet: | ||
hostname: puppet.test | ||
image: ${PUPPET_TEST_DOCKER_IMAGE:-puppet/puppetserver-standalone} | ||
environment: | ||
- PUPPETSERVER_HOSTNAME=puppet.test | ||
- PUPPERWARE_ANALYTICS_ENABLED=${PUPPERWARE_ANALYTICS_ENABLED:-false} | ||
- DNS_ALT_NAMES=puppet,puppet.test,${DNS_ALT_NAMES:-} | ||
dns_search: '.test' | ||
networks: | ||
puppetserver_test: | ||
aliases: | ||
- puppet.test | ||
|
||
compiler: | ||
hostname: compiler.test | ||
image: ${PUPPET_TEST_DOCKER_IMAGE:-puppet/puppetserver-standalone} | ||
environment: | ||
- PUPPERWARE_ANALYTICS_ENABLED=${PUPPERWARE_ANALYTICS_ENABLED:-false} | ||
- CA_ENABLED=false | ||
- CA_HOSTNAME=puppet.test | ||
dns_search: '.test' | ||
networks: | ||
puppetserver_test: | ||
aliases: | ||
- compiler.test | ||
|
||
networks: | ||
puppetserver_test: | ||
name: puppetserver_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
--require spec_helper | ||
--format RspecJunitFormatter | ||
--out puppetserver-standalone/TEST-rspec.xml | ||
--format documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
--require spec_helper | ||
--format RspecJunitFormatter | ||
--out puppetserver/TEST-rspec.xml | ||
--format documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.