blob: 54c429747997c11ed3fc2e67461b5a6ca1ee4c92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
# remove ip6 entries for docker
egrep -v "ip6" /etc/hosts > /etc/hosts.new
cp /etc/hosts.new /etc/hosts
export PATH=/opt/chef/embedded/bin:$PATH
cd /opt/chef/embedded/apps/chef
/opt/chef/embedded/bin/bundle install
/opt/chef/embedded/bin/bundle exec /opt/chef/embedded/bin/rspec --format progress
|