Skip to content

Commit f429bd9

Browse files
authoredFeb 17, 2024
updating release script logic for olm flow to use cache director (#507)
Updating the logic in the OLM flow to use a the default cache directory. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent fd54e0f commit f429bd9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎scripts/build-controller-release.sh

+3
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ if [[ $ACK_GENERATE_OLM == "true" ]]; then
290290
if [ -n "$ACK_DOCUMENTATION_CONFIG_PATH" ]; then
291291
ag_olm_args=("${ag_olm_args[@]}" --documentation-config-path "$ACK_DOCUMENTATION_CONFIG_PATH")
292292
fi
293+
if [ -n "$ACK_GENERATE_CACHE_DIR" ]; then
294+
ag_olm_args=("${ag_olm_args[@]}" --cache-dir "$ACK_GENERATE_CACHE_DIR")
295+
fi
293296

294297
$ACK_GENERATE_BIN_PATH olm "${ag_olm_args[@]}"
295298
"$SCRIPTS_DIR"/olm-create-bundle.sh "$SERVICE" "$RELEASE_VERSION"

0 commit comments

Comments
 (0)
Please sign in to comment.