Created
November 10, 2015 15:03
-
-
Save ripienaar/68f8cf2d49e83411e7c2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| % sudo docker exec -ti exim container --inspect | |
| Container first started at 2015-11-10 05:18:52 +0000 (1447132732) in environment production | |
| Container management methods: | |
| Container supports START method using command /srv/support/bin/start.sh | |
| Container does not support the UPDATE method | |
| Container supports VALIDATE method using command /srv/support/bin/validate.sh | |
| Metadata for image centos_base | |
| Names: | |
| Project Name: centos_base | |
| Image Name: devco/centos_base | |
| Image Tag Names: xx/devco/centos_base:latest, xx/devco/centos_base:67 | |
| Build Info: | |
| CI Run: true | |
| Git Hash: cdae4dc99912d335359a039650d085e5ab8ebc2c | |
| Build Cause: TIMERTRIGGER | |
| Build Time: 2015-11-10 03:25:03 (1447125903) | |
| Build Tag: jenkins-docker centos_base-67 | |
| Actions: | |
| START: not set | |
| UPDATE: not set | |
| VALIDATE: not set | |
| Metadata for image exim | |
| Names: | |
| Project Name: exim | |
| Image Name: devco/exim | |
| Image Tag Names: xx/devco/exim:latest, xx/devco/exim:146 | |
| Build Info: | |
| CI Run: true | |
| Git Hash: 7afb412391f043e1ff94d286e7a475e381693ff6 | |
| Build Cause: TIMERTRIGGER | |
| Build Time: 2015-11-10 05:15:52 (1447132552) | |
| Build Tag: jenkins-docker_exim-146 | |
| Actions: | |
| START: /srv/support/bin/start.sh | |
| UPDATE: not set | |
| VALIDATE: /srv/support/bin/validate.sh | |
This file contains hidden or 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
| % sudo docker exec -ti exim container --validate | |
| 2015-11-10 14:59:28 +0000: Performing VALIDATE action via /srv/support/bin/validate.sh | |
| container | |
| Package "exim" | |
| should be installed | |
| Process "exim" | |
| should be running | |
| User "exim" | |
| should belong to group "pkiaccess" | |
| Group "pkiaccess" | |
| should have gid 350 | |
| Port "25" | |
| should be listening | |
| File "/etc/exim/exim.conf" | |
| should be symlink | |
| introspection settings | |
| File "/srv/support/bin/start.sh" | |
| should be executable | |
| File "/srv/support/bin/validate.sh" | |
| should be executable | |
| server 'production_server' | |
| dns '4.3.2.1.senderip.gl.rbl' | |
| should have the correct dns entries with {:type=>"A", :address=>"127.0.0.2"} | |
| dns '4.3.2.1.senderip.bl.rbl' | |
| should have the correct dns entries with {:type=>"A", :address=>"127.0.0.2"} | |
| dns 'nagiostest.net.senderhost.gl.rbl' | |
| should have the correct dns entries with {:type=>"A", :address=>"127.0.0.2"} | |
| dns 'nagiostest.net.senderhost.bl.rbl' | |
| should have the correct dns entries with {:type=>"A", :address=>"127.0.0.2"} | |
| dns 'nagiostest.net.senderhost.wl.rbl' | |
| should have the correct dns entries with {:type=>"A", :address=>"127.0.0.2"} | |
| Finished in 0.48275 seconds (files took 0.9396 seconds to load) | |
| 13 examples, 0 failures |
This file contains hidden or 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
| % sudo docker exec -ti bind container --update | |
| 2015-11-10 14:59:58 +0000: Performing UPDATE action via /srv/named/bin/update.sh | |
| >> Fetching latest git checkout | |
| From https://git.devco.net/ripienaar/docker_bind | |
| * branch master -> FETCH_HEAD | |
| Already up-to-date. | |
| >> Validating configuration | |
| container | |
| rndc | |
| Command "rndc status" | |
| exit_status | |
| should equal 0 | |
| stdout | |
| should match /version: 9.9.4.+(devco)/ | |
| master config | |
| Command "named-checkconf /srv/named/conf/named-master.conf" | |
| exit_status | |
| should equal 0 | |
| slave config | |
| Command "named-checkconf /srv/named/conf/named-slave.conf" | |
| exit_status | |
| should equal 0 | |
| zone files | |
| Command "named-checkzone devco.net zones/master/devco.net" | |
| exit_status | |
| should equal 0 | |
| . | |
| . | |
| . | |
| . | |
| dns lookups | |
| devco.net | |
| Command "dig +short a devco.net @localhost" | |
| stdout | |
| should match /^80.85.84.108$/ | |
| Command "dig +short aaaa devco.net @localhost" | |
| stdout | |
| should match /^2a01:7e00::f03c:91ff:fe50:b67f$/ | |
| container | |
| Package "bind" | |
| should be installed | |
| File "/srv/named/zones/slave" | |
| should be directory | |
| should be owned by "named" | |
| should be grouped into "named" | |
| File "/etc/rndc.key" | |
| should be symlink | |
| should contain "rndc-key" | |
| Process "named" | |
| should be running | |
| user | |
| should eq "named" | |
| introspection settings | |
| File "/srv/named/bin/start.sh" | |
| should be executable | |
| File "/srv/named/bin/validate.sh" | |
| should be executable | |
| Finished in 3.28 seconds (files took 0.4571 seconds to load) | |
| 105 examples, 0 failures | |
| >> Reloading name server | |
| server reload successful |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment