acceptance.sh

Our acceptance shell script is relatively small, but allows Jenkins to have a path for this build and sources in RVM prior to running Kitchen Test. We want to make sure that the build stays consistent, so we want to control the environment around the build as well:

#profile/acceptance.sh
#!/bin/bash
PATH=$PATH:/usr/local/rvm/gems/ruby-2.4.1/bin/:/usr/local/bin
source /usr/local/rvm/bin/rvm
/usr/local/rvm/gems/ruby-2.4.1/wrappers/kitchen test
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.123.120