Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix readonly variable for bundles url override #2570

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/lib/eksa_releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function build::eksa_releases::load_bundle_manifest() {
if [ $dev_release = true ] && [ -n "$EKSA_RELEASE_VERSION" ]; then
eksa_release_version="$eksa_release_version+build.*"
fi
local -r bundle_manifest_url=$(echo "$release_manifest" | yq e ".spec.releases[] | select(.version == \"$eksa_release_version\") .bundleManifestUrl" -)
local bundle_manifest_url=$(echo "$release_manifest" | yq e ".spec.releases[] | select(.version == \"$eksa_release_version\") .bundleManifestUrl" -)
# EKSA_BUNDLE_MANIFEST_URL is set only when image-builder CLI is running in airgapped mode.
# This will be set to a filepath that has the downloaded or pre-baked bundles file
EKSA_BUNDLE_MANIFEST_URL="${EKSA_BUNDLE_MANIFEST_URL:-}"
Expand Down