aboutsummaryrefslogblamecommitdiff
path: root/update-kafka-image.sh
blob: 1c322930cd3cb6bf9f5bfdadce45fc72673fb8df (plain) (tree)
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