Skip to content

Commit

Permalink
buildbot: Use # as delimiter to avoid / issues in db_url
Browse files Browse the repository at this point in the history
  • Loading branch information
kallisti5 committed Aug 28, 2018
1 parent e6c9f34 commit fb7e39b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/buildbot-master/start_buildbot.sh
Expand Up @@ -19,7 +19,9 @@ fi
cp $B/master.cfg $B/master.cfg.secret
sed -i -e "s/@@GITHUB_CLIENT@@/$GITHUB_CLIENT/" $B/master.cfg.secret
sed -i -e "s/@@GITHUB_SECRET@@/$GITHUB_SECRET/" $B/master.cfg.secret
sed -i -e "s/@@DATABASE_URI@@/$DATABASE_URI/" $B/master.cfg.secret

# # is less likely to be used in database uri vs /
sed -i -e "s#@@DATABASE_URI@@#$DATABASE_URI#" $B/master.cfg.secret
sed -i -e "s/'master.cfg'/'master.cfg.secret'/" $B/buildbot.tac

rm -f $B/twistd.pid
Expand Down

0 comments on commit fb7e39b

Please sign in to comment.