@@ -76,29 +76,16 @@ jobs:
76
76
77
77
test-docker-images :
78
78
name : verify that the docker images work
79
- needs : publish_docker_image_to_docker_hub
79
+ needs : publish_docker_image_to_acr
80
80
runs-on : ubuntu-24.04
81
81
env :
82
82
SA_PASSWORD : " P@ssw0rd"
83
83
84
84
strategy :
85
85
matrix :
86
86
include :
87
- # empty image, no test dumps are imported
88
- - dockerImage : empty
89
- volumeMapping : " "
90
- expectedOutput : |
91
- name
92
- --------------------------------------------------------------------------------------------------------------------------------
93
- master
94
- model
95
- msdb
96
- tempdb
97
-
98
- (4 rows affected)
99
- # schema-only image, no test dumps are imported
100
- - dockerImage : schema-only
101
- volumeMapping : " "
87
+ # no test dumps are imported
88
+ - volumeMapping : " "
102
89
expectedOutput : |
103
90
name
104
91
--------------------------------------------------------------------------------------------------------------------------------
@@ -109,23 +96,8 @@ jobs:
109
96
tempdb
110
97
111
98
(5 rows affected)
112
- # empty image, but test dumps are imported
113
- - dockerImage : empty
114
- volumeMapping : ' -v "$(pwd)/docker-image-test-data:/data:ro"'
115
- expectedOutput : |
116
- name
117
- --------------------------------------------------------------------------------------------------------------------------------
118
- bardb
119
- foodb
120
- master
121
- model
122
- msdb
123
- tempdb
124
-
125
- (6 rows affected)
126
- # schema-only image, also test dumps are imported
127
- - dockerImage : schema-only
128
- volumeMapping : ' -v "$(pwd)/docker-image-test-data:/data:ro"'
99
+ # test dumps are imported
100
+ - volumeMapping : ' -v "$(pwd)/docker-image-test-data:/data:ro"'
129
101
expectedOutput : |
130
102
name
131
103
--------------------------------------------------------------------------------------------------------------------------------
@@ -168,7 +140,7 @@ jobs:
168
140
--network hsl \
169
141
-e SA_PASSWORD="$SA_PASSWORD" \
170
142
${{ matrix.volumeMapping }} \
171
- $IMAGE_NAME:$ {{ matrix.dockerImage }}-$COMMIT_ID
143
+ "$ {{ needs.publish_docker_image_to_acr.outputs.docker_image }}"
172
144
173
145
- name :
174
146
Verify that dockerized MSSQL database is up and can be connected to
0 commit comments