Skip to content

Commit

Permalink
Compare values.yaml between travis branch and master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
yuting-liu committed Aug 19, 2019
1 parent 64d7c5b commit f256377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if [ "$TRAVIS_BRANCH" != "master" ] && [ "$TRAVIS_EVENT_TYPE" == "push" ] && [ -
fi

# Generate override yaml file for chart dependencies if changes are made to values.yaml file
if [[ $(git diff deploy/helm/sumologic/values.yaml) ]]; then
if [[ $(git diff $TRAVIS_BRANCH..master -- deploy/helm/sumologic/values.yaml) ]]; then
echo "Detected changes in 'values.yaml', generating file fluent-bit-overrides.yaml..."
fluent_bit_start_linenum=`grep -n "fluent-bit:" deploy/helm/sumologic/values.yaml | head -n 1 | cut -d: -f1`
fluent_bit_start_linenum=$(($fluent_bit_start_linenum + 2))
Expand Down

0 comments on commit f256377

Please sign in to comment.