Skip to content

Commit cb4c26e

Browse files
committed
fix: Remove unused variable ENV in add-bundle and build-fbc tasks
1 parent 59815c4 commit cb4c26e

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

ansible/roles/operator-pipeline/templates/openshift/tasks/add-bundle-to-index.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ spec:
8181
# DO NOT USE set -x to avoid revealing credentials in logs!
8282
set -e
8383
84-
ENV=$(params.environment)
8584
INDEX_IMAGES="$(params.index_images)"
8685
if [[ $ENV != "prod" ]]; then
8786
# Replace registry urls with stage urls when in preprod

ansible/roles/operator-pipeline/templates/openshift/tasks/build-fbc-index-images.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ spec:
8585
exit 0
8686
fi
8787
88-
ENV=$(params.environment)
8988
INDEX_IMAGES="$(params.index_images)"
9089
if [[ $ENV != "prod" ]]; then
9190
# Replace registry urls with stage urls when in preprod
@@ -144,7 +143,6 @@ spec:
144143
exit 0
145144
fi
146145
147-
ENV=$(params.environment)
148146
INDEX_IMAGES="$(params.index_images)"
149147
if [[ $ENV != "prod" ]]; then
150148
# Replace registry urls with stage urls when in preprod

0 commit comments

Comments
 (0)