aboutsummaryrefslogtreecommitdiff
path: root/update-kafka-image.sh
blob: 602ccdd48d2c1b47ce1268802b8a7a7d1b55929c (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/bash

IMAGE=$1
[ -z "$IMAGE" ] && echo "First argument should be the image to set" && exit 1

for F in ./ test/ zookeeper/; do
  sed -i '' "s|image: solsson/kafka:.*|image: $IMAGE|" $F*.yml
done