1
1
export RUST_BACKTRACE := " 1"
2
2
export BB_CACHE_LAYERS := " true"
3
+ export TEST_SECRET := " test123"
4
+ # export BB_SKIP_VALIDATION := "true"
3
5
4
6
set dotenv-load := true
5
7
set positional-arguments := true
@@ -133,11 +135,15 @@ cargo_bin := if env('CARGO_HOME', '') != '' {
133
135
x " $HOME/.cargo/bin"
134
136
}
135
137
138
+ generate-test-secret :
139
+ mkdir -p integration-tests/ test-repo/ secrets
140
+ echo " 321tset" > integration-tests/ test-repo/ secrets/ test-secret
141
+
136
142
# Run all integration tests
137
- integration-tests : test-docker-build test-empty-files-build test-arm64-build test-podman-build test-buildah-build test-generate-iso-image test-generate-iso-recipe
143
+ integration-tests : generate-test-secret test-docker-build test-empty-files-build test-arm64-build test-podman-build test-buildah-build test-generate-iso-image test-generate-iso-recipe
138
144
139
145
# Run docker driver integration test
140
- test-docker-build : install-debug-all-features
146
+ test-docker-build : generate-test-secret install-debug-all-features
141
147
cd integration-tests/ test-repo \
142
148
&& bluebuild build \
143
149
- -retry-push \
@@ -148,7 +154,7 @@ test-docker-build: install-debug-all-features
148
154
- vv \
149
155
recipes/ recipe.yml recipes/ recipe-gts.yml
150
156
151
- test-empty-files-build : install-debug-all-features
157
+ test-empty-files-build : generate-test-secret install-debug-all-features
152
158
cd integration-tests/ empty-files-repo \
153
159
&& bluebuild build \
154
160
- -retry-push \
@@ -158,15 +164,15 @@ test-empty-files-build: install-debug-all-features
158
164
{{ should_push }} \
159
165
- vv
160
166
161
- test-rechunk-build : install-debug-all-features
167
+ test-rechunk-build : generate-test-secret install-debug-all-features
162
168
cd integration-tests/ test-repo \
163
169
&& bluebuild build \
164
170
{{ should_push }} \
165
171
- vv \
166
172
- -rechunk \
167
173
recipes/ recipe-rechunk.yml
168
174
169
- test-fresh-rechunk-build : install-debug-all-features
175
+ test-fresh-rechunk-build : generate-test-secret install-debug-all-features
170
176
cd integration-tests/ test-repo \
171
177
&& bluebuild build \
172
178
{{ should_push }} \
@@ -176,7 +182,7 @@ test-fresh-rechunk-build: install-debug-all-features
176
182
recipes/ recipe-rechunk.yml
177
183
178
184
# Run arm integration test
179
- test-arm64-build : install-debug-all-features
185
+ test-arm64-build : generate-test-secret install-debug-all-features
180
186
cd integration-tests/ test-repo \
181
187
&& bluebuild build \
182
188
- -retry-push \
@@ -186,7 +192,7 @@ test-arm64-build: install-debug-all-features
186
192
recipes/ recipe-arm64. yml
187
193
188
194
# Run docker driver external login integration test
189
- test-docker-build-external-login : install-debug-all-features
195
+ test-docker-build-external-login : generate-test-secret install-debug-all-features
190
196
cd integration-tests/ test-repo \
191
197
&& bluebuild build \
192
198
- -retry-push \
@@ -196,7 +202,7 @@ test-docker-build-external-login: install-debug-all-features
196
202
recipes/ recipe-docker-external.yml
197
203
198
204
# Run podman driver integration test
199
- test-podman-build : install-debug-all-features
205
+ test-podman-build : generate-test-secret install-debug-all-features
200
206
cd integration-tests/ test-repo \
201
207
&& bluebuild build \
202
208
- -retry-push \
@@ -208,7 +214,7 @@ test-podman-build: install-debug-all-features
208
214
recipes/ recipe-podman.yml
209
215
210
216
# Run buildah driver integration test
211
- test-buildah-build : install-debug-all-features
217
+ test-buildah-build : generate-test-secret install-debug-all-features
212
218
cd integration-tests/ test-repo \
213
219
&& bluebuild build \
214
220
- -retry-push \
@@ -220,14 +226,14 @@ test-buildah-build: install-debug-all-features
220
226
recipes/ recipe-buildah.yml
221
227
222
228
# Run ISO generator for images
223
- test-generate-iso-image : install-debug-all-features
229
+ test-generate-iso-image : generate-test-secret install-debug-all-features
224
230
#!/usr/bin/env bash
225
231
set -eu
226
232
ISO_OUT=$(mktemp -d)
227
233
bluebuild generate-iso -vv --output-dir " $ISO_OUT" image ghcr.io/ blue-build/ cli/ test:40
228
234
229
235
# Run ISO generator for images
230
- test-generate-iso-recipe : install-debug-all-features
236
+ test-generate-iso-recipe : generate-test-secret install-debug-all-features
231
237
#!/usr/bin/env bash
232
238
set -eu
233
239
ISO_OUT=$(mktemp -d)
0 commit comments