@@ -234,120 +234,10 @@ jobs:
234
234
)
235
235
236
236
- name : Generate reports against last release
237
- shell : bash
238
- run : |
239
- set -euo pipefail
240
- set -x
241
-
242
- source ci-automation/image_changes.sh
243
-
244
- git_tag=''
245
- git_tag_for_release . git_tag
246
- declare -a var_names=(
247
- package_diff_env package_diff_params
248
- size_changes_env size_changes_params
249
- show_changes_env show_changes_params
250
- )
251
- declare -a "${var_names[@]}"
252
- version_description=''
253
- var_names+=( version_description )
254
-
255
- prepare_env_vars_and_params_for_release "${arch}" "${git_tag}" "${var_names[@]}"
256
-
257
- package_diff_env+=(
258
- "FROM_B=file://${PWD}/artifacts/images"
259
- # BOARD_B and CHANNEL_B are unused.
260
- )
261
- package_diff_params+=(
262
- # The package-diff script appends version to the file
263
- # URL, but the directory with the image has no version
264
- # component at its end, so we use . as a version.
265
- '.'
266
- )
267
- # Nothing to add to size changes env.
268
- size_changes_params+=(
269
- "local:${PWD}/artifacts/images"
270
- )
271
- show_changes_env+=(
272
- # Override the default locations of repositories.
273
- "SCRIPTS_REPO=."
274
- "COREOS_OVERLAY_REPO=../coreos-overlay"
275
- "PORTAGE_STABLE_REPO=../portage-stable"
276
- )
277
- show_changes_params+=(
278
- # We may not have a tag handy, so we tell show-changes
279
- # to use git HEAD as a reference to new changelog
280
- # entries.
281
- 'NEW_VERSION=HEAD'
282
- )
283
-
284
- declare -a oemids base_sysexts
285
- get_oem_id_list . "${arch}" oemids
286
- get_base_sysext_list . "${arch}" base_sysexts
287
- generate_image_changes_report \
288
- "${version_description}" 'image-changes-reports-release.txt' "../flatcar-build-scripts" \
289
- "${package_diff_env[@]}" --- "${package_diff_params[@]}" -- \
290
- "${size_changes_env[@]}" --- "${size_changes_params[@]}" -- \
291
- "${show_changes_env[@]}" --- "${show_changes_params[@]}" -- \
292
- "${oemids[@]}" -- "${base_sysexts[@]}"
237
+ run : .github/workflows/image_changes.sh release
293
238
294
239
- name : Generate reports against last nightly
295
- shell : bash
296
- run : |
297
- set -euo pipefail
298
- set -x
299
-
300
- source ci-automation/image_changes.sh
301
-
302
- git_tag=''
303
- git_tag_for_nightly . git_tag
304
- declare -a var_names=(
305
- package_diff_env package_diff_params
306
- size_changes_env size_changes_params
307
- show_changes_env show_changes_params
308
- )
309
- declare -a "${var_names[@]}"
310
- version_description=''
311
- var_names+=( version_description )
312
-
313
- prepare_env_vars_and_params_for_bincache "${arch}" "${git_tag}" "${var_names[@]}"
314
-
315
- package_diff_env+=(
316
- "FROM_B=file://${PWD}/artifacts/images"
317
- # BOARD_B and CHANNEL_B are unused.
318
- )
319
- package_diff_params+=(
320
- # The package-diff script appends version to the file
321
- # URL, but the directory with the image has no version
322
- # component at its end, so we use . as a version.
323
- '.'
324
- )
325
- # Nothing to add to size changes env.
326
- size_changes_params+=(
327
- "local:${PWD}/artifacts/images"
328
- )
329
- show_changes_env+=(
330
- # Override the default locations of repositories.
331
- "SCRIPTS_REPO=."
332
- "COREOS_OVERLAY_REPO=../coreos-overlay"
333
- "PORTAGE_STABLE_REPO=../portage-stable"
334
- )
335
- show_changes_params+=(
336
- # We may not have a tag handy, so we tell show-changes
337
- # to use git HEAD as a reference to new changelog
338
- # entries.
339
- 'NEW_VERSION=HEAD'
340
- )
341
-
342
- declare -a oemids base_sysexts
343
- get_oem_id_list . "${arch}" oemids
344
- get_base_sysext_list . "${arch}" base_sysexts
345
- generate_image_changes_report \
346
- "${version_description}" 'image-changes-reports-release.txt' "../flatcar-build-scripts" \
347
- "${package_diff_env[@]}" --- "${package_diff_params[@]}" -- \
348
- "${size_changes_env[@]}" --- "${size_changes_params[@]}" -- \
349
- "${show_changes_env[@]}" --- "${show_changes_params[@]}" -- \
350
- "${oemids[@]}" -- "${base_sysexts[@]}"
240
+ run : .github/workflows/image_changes.sh nightly
351
241
352
242
- name : Upload binpkgs
353
243
uses : actions/upload-artifact@v3
0 commit comments