Skip to content

Commit 6a9eb36

Browse files
committed
Print internal configuration hash in serverspec
1 parent a976afb commit 6a9eb36

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/serverspec/spec/spec_init.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
print "------------------------\n"
1111
print " DOCKERIMAGE_ID: " + ENV['DOCKERIMAGE_ID'] + "\n"
1212
print " DOCKER_IMAGE: " + ENV['DOCKER_IMAGE'] + "\n"
13+
print " DOCKER_TAG: " + ENV['DOCKER_TAG'] + "\n"
1314
print " OS_FAMILY: " + ENV['OS_FAMILY'] + "\n"
1415
print " OS_VERSION: " + ENV['OS_VERSION'] + "\n"
1516
print "\n"
17+
print "--- internal config -----\n"
18+
$testConfiguration.each {|key, value| puts " #{key}: #{value}" }
19+
print "\n"
20+
21+

0 commit comments

Comments
 (0)