Browse Source

add benchmark.cfg.example back (#2542)

Nate 8 years ago
parent
commit
62bb16b65c
3 changed files with 2 additions and 0 deletions
  1. 0 0
      benchmark.cfg.example
  2. 1 0
      deployment/vagrant-common/bootstrap.sh
  3. 1 0
      toolset/travis/travis_setup.sh

+ 0 - 0
benchmark.cfg → benchmark.cfg.example


+ 1 - 0
deployment/vagrant-common/bootstrap.sh

@@ -96,6 +96,7 @@ if [ ! -e "~/.firstboot" ]; then
     git clone -b ${GH_BRANCH} https://github.com/${GH_REPO}.git $FWROOT
     cd ~/FrameworkBenchmarks
     # Update the benchmark.cfg for vagrant
+    cp ~/FrameworkBenchmarks/benchmark.cfg.example ~/FrameworkBenchmarks/benchmark.cfg
     sed -i s/techempower/vagrant/g ~/FrameworkBenchmarks/benchmark.cfg
     source ~/FrameworkBenchmarks/toolset/setup/linux/prerequisites.sh
   #fi

+ 1 - 0
toolset/travis/travis_setup.sh

@@ -13,6 +13,7 @@ echo "NoHostAuthenticationForLocalhost yes" | tee -a /home/travis/.ssh/config
 chmod 600 ~/.ssh/config
 
 # Set up the benchmark.cfg for travis user
+cp ./benchmark.cfg.example ./benchmark.cfg
 sed -i s/techempower/travis/g ./benchmark.cfg
 
 echo "travis ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers