@@ -64,7 +64,7 @@ func TestPush(t *testing.T) {
64
64
{
65
65
Description : "plain http" ,
66
66
Setup : func (data test.Data , helpers test.Helpers ) {
67
- helpers .Ensure ("pull" , testutil .CommonImage )
67
+ helpers .Ensure ("pull" , "--quiet" , testutil .CommonImage )
68
68
testImageRef := fmt .Sprintf ("%s:%d/%s:%s" ,
69
69
registryNoAuthHTTPRandom .IP .String (), registryNoAuthHTTPRandom .Port , data .Identifier (), strings .Split (testutil .CommonImage , ":" )[1 ])
70
70
data .Set ("testImageRef" , testImageRef )
@@ -84,7 +84,7 @@ func TestPush(t *testing.T) {
84
84
Description : "plain http with insecure" ,
85
85
Require : test .Not (nerdtest .Docker ),
86
86
Setup : func (data test.Data , helpers test.Helpers ) {
87
- helpers .Ensure ("pull" , testutil .CommonImage )
87
+ helpers .Ensure ("pull" , "--quiet" , testutil .CommonImage )
88
88
testImageRef := fmt .Sprintf ("%s:%d/%s:%s" ,
89
89
registryNoAuthHTTPRandom .IP .String (), registryNoAuthHTTPRandom .Port , data .Identifier (), strings .Split (testutil .CommonImage , ":" )[1 ])
90
90
data .Set ("testImageRef" , testImageRef )
@@ -103,7 +103,7 @@ func TestPush(t *testing.T) {
103
103
{
104
104
Description : "plain http with localhost" ,
105
105
Setup : func (data test.Data , helpers test.Helpers ) {
106
- helpers .Ensure ("pull" , testutil .CommonImage )
106
+ helpers .Ensure ("pull" , "--quiet" , testutil .CommonImage )
107
107
testImageRef := fmt .Sprintf ("%s:%d/%s:%s" ,
108
108
"127.0.0.1" , registryNoAuthHTTPRandom .Port , data .Identifier (), strings .Split (testutil .CommonImage , ":" )[1 ])
109
109
data .Set ("testImageRef" , testImageRef )
@@ -118,7 +118,7 @@ func TestPush(t *testing.T) {
118
118
Description : "plain http with insecure, default port" ,
119
119
Require : test .Not (nerdtest .Docker ),
120
120
Setup : func (data test.Data , helpers test.Helpers ) {
121
- helpers .Ensure ("pull" , testutil .CommonImage )
121
+ helpers .Ensure ("pull" , "--quiet" , testutil .CommonImage )
122
122
testImageRef := fmt .Sprintf ("%s/%s:%s" ,
123
123
registryNoAuthHTTPDefault .IP .String (), data .Identifier (), strings .Split (testutil .CommonImage , ":" )[1 ])
124
124
data .Set ("testImageRef" , testImageRef )
@@ -138,7 +138,7 @@ func TestPush(t *testing.T) {
138
138
Description : "with insecure, with login" ,
139
139
Require : test .Not (nerdtest .Docker ),
140
140
Setup : func (data test.Data , helpers test.Helpers ) {
141
- helpers .Ensure ("pull" , testutil .CommonImage )
141
+ helpers .Ensure ("pull" , "--quiet" , testutil .CommonImage )
142
142
testImageRef := fmt .Sprintf ("%s:%d/%s:%s" ,
143
143
registryTokenAuthHTTPSRandom .IP .String (), registryTokenAuthHTTPSRandom .Port , data .Identifier (), strings .Split (testutil .CommonImage , ":" )[1 ])
144
144
data .Set ("testImageRef" , testImageRef )
@@ -161,7 +161,7 @@ func TestPush(t *testing.T) {
161
161
Description : "with hosts dir, with login" ,
162
162
Require : test .Not (nerdtest .Docker ),
163
163
Setup : func (data test.Data , helpers test.Helpers ) {
164
- helpers .Ensure ("pull" , testutil .CommonImage )
164
+ helpers .Ensure ("pull" , "--quiet" , testutil .CommonImage )
165
165
testImageRef := fmt .Sprintf ("%s:%d/%s:%s" ,
166
166
registryTokenAuthHTTPSRandom .IP .String (), registryTokenAuthHTTPSRandom .Port , data .Identifier (), strings .Split (testutil .CommonImage , ":" )[1 ])
167
167
data .Set ("testImageRef" , testImageRef )
@@ -184,7 +184,7 @@ func TestPush(t *testing.T) {
184
184
Description : "non distributable artifacts" ,
185
185
Require : test .Not (nerdtest .Docker ),
186
186
Setup : func (data test.Data , helpers test.Helpers ) {
187
- helpers .Ensure ("pull" , testutil .NonDistBlobImage )
187
+ helpers .Ensure ("pull" , "--quiet" , testutil .NonDistBlobImage )
188
188
testImageRef := fmt .Sprintf ("%s:%d/%s:%s" ,
189
189
registryNoAuthHTTPRandom .IP .String (), registryNoAuthHTTPRandom .Port , data .Identifier (), strings .Split (testutil .NonDistBlobImage , ":" )[1 ])
190
190
data .Set ("testImageRef" , testImageRef )
@@ -216,7 +216,7 @@ func TestPush(t *testing.T) {
216
216
Description : "non distributable artifacts (with)" ,
217
217
Require : test .Not (nerdtest .Docker ),
218
218
Setup : func (data test.Data , helpers test.Helpers ) {
219
- helpers .Ensure ("pull" , testutil .NonDistBlobImage )
219
+ helpers .Ensure ("pull" , "--quiet" , testutil .NonDistBlobImage )
220
220
testImageRef := fmt .Sprintf ("%s:%d/%s:%s" ,
221
221
registryNoAuthHTTPRandom .IP .String (), registryNoAuthHTTPRandom .Port , data .Identifier (), strings .Split (testutil .NonDistBlobImage , ":" )[1 ])
222
222
data .Set ("testImageRef" , testImageRef )
@@ -251,7 +251,7 @@ func TestPush(t *testing.T) {
251
251
test .Not (nerdtest .Docker ),
252
252
),
253
253
Setup : func (data test.Data , helpers test.Helpers ) {
254
- helpers .Ensure ("pull" , testutil .UbuntuImage )
254
+ helpers .Ensure ("pull" , "--quiet" , testutil .UbuntuImage )
255
255
testImageRef := fmt .Sprintf ("%s:%d/%s:%s" ,
256
256
registryNoAuthHTTPRandom .IP .String (), registryNoAuthHTTPRandom .Port , data .Identifier (), strings .Split (testutil .UbuntuImage , ":" )[1 ])
257
257
data .Set ("testImageRef" , testImageRef )
0 commit comments