summaryrefslogtreecommitdiffstats
path: root/integration
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2023-03-02 16:18:05 +0000
committersaul.gill <saul.gill@est.tech>2023-03-02 16:24:34 +0000
commitb5dc1cd93261995015a8c0fab3e7572d84588d36 (patch)
treedf982e5c3726c34b0cc184c73461f6993117bf6d /integration
parentc96ef8e045095847acf34914fe505f2a3e934146 (diff)
Fixed db migrator image update
Fix for release script not updating db migrator image in oom charts Issue-ID: POLICY-4576 Change-Id: Idc21ad2ef33bc93267f9edaab9885396dda80c18 Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'integration')
-rwxr-xr-xintegration/src/main/scripts/release/updateOomImages.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration/src/main/scripts/release/updateOomImages.sh b/integration/src/main/scripts/release/updateOomImages.sh
index 7d8d9826..38fe5c3b 100755
--- a/integration/src/main/scripts/release/updateOomImages.sh
+++ b/integration/src/main/scripts/release/updateOomImages.sh
@@ -161,11 +161,11 @@ do
new_image="$docker_image:$latest_released_tag"
echo "updating OOM image $new_image . . ."
- find "$repo_location/oom/kubernetes/policy/components" \
+ find "$repo_location/oom/kubernetes/policy" \
-name values.yaml \
-exec \
$SED -i \
- "s/^image:[ |\t]*onap\/$docker_image:[0-9]*\.[0-9]*\.[0-9]*$/image: onap\/$new_image/" {} \;
+ "s/image:[ |\t]*onap\/$docker_image:[0-9]*\.[0-9]*\.[0-9]*$/image: onap\/$new_image/" {} \;
echo "OOM image $docker_image:$latest_released_tag updated"
done
done