mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 13:36:58 +02:00
ci-automation/image-changes: Second parameter is not optional
This commit is contained in:
parent
cda692ad3c
commit
170e17a673
@ -19,7 +19,7 @@
|
|||||||
# INPUT:
|
# INPUT:
|
||||||
#
|
#
|
||||||
# 1. Architecture (ARCH) of the TARGET OS image ("arm64", "amd64").
|
# 1. Architecture (ARCH) of the TARGET OS image ("arm64", "amd64").
|
||||||
# 2. What to compare against, can be "last-release" or "last-nightly".
|
# 2. What to compare against, must be either "last-release" or "last-nightly".
|
||||||
#
|
#
|
||||||
# OPTIONAL INPUT:
|
# OPTIONAL INPUT:
|
||||||
#
|
#
|
||||||
@ -33,9 +33,10 @@
|
|||||||
# variables are not spilled into the caller.
|
# variables are not spilled into the caller.
|
||||||
function image_changes() (
|
function image_changes() (
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
local arch what
|
||||||
|
|
||||||
local arch=${1}; shift
|
arch=${1}; shift
|
||||||
local what=${1-last-release}; shift
|
what=${1}; shift
|
||||||
|
|
||||||
local -a package_diff_env package_diff_params
|
local -a package_diff_env package_diff_params
|
||||||
local -a size_changes_env size_changes_params
|
local -a size_changes_env size_changes_params
|
||||||
|
Loading…
Reference in New Issue
Block a user