cleanup: remove gate-openstack-chef-repo builders
gate-openstack-chef-repo job was removed in:
With the removal of this job, the following builders are not
needed anymore:
ruby-191-prep
chef-bundler-prep
chef-berkshelf-prep
#!/bin/bash -xe
ansible-lint **/*.yml
-- builder:
- name: ruby-191-prep
- builders:
- - shell: |
- #!/bin/bash -x
- # Set 1.9.1 ruby and gem as default
- sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 20
- sudo update-alternatives --set ruby /usr/bin/ruby1.9.1
- sudo update-alternatives --install /usr/bin/gem gem /usr/bin/gem1.9.1 10
- sudo update-alternatives --set gem /usr/bin/gem1.9.1
- sudo gem install bundler --no-rdoc --no-ri --verbose
- sudo gem install rake --no-rdoc --no-ri --verbose
-
-- builder:
- name: chef-bundler-prep
- builders:
- - shell: |
- #!/bin/bash -x
- mkdir -p .bundle
- grep -E .*berkshelf.*3\.\d*\.\d*.* Gemfile
- if [ $? -eq 0 ]; then
- # For Berkshelf 3.x use the system gecode 3.x libraries
- sudo apt-get update
- sudo apt-get install -y libgecode-dev libxml2-dev libxml2 libxslt-dev build-essential
- USE_SYSTEM_GECODE=1 bundle install --path=.bundle --jobs 1 --retry 3 --verbose
- else
- bundle install --path=.bundle --jobs 1 --retry 3 --verbose
- fi
-
- builder:
name: chef-bootstrap
builders:
#!/bin/bash -x
chef exec rake integration
-- builder:
- name: chef-berkshelf-prep
- builders:
- - shell: |
- #!/bin/bash -x
- grep -E .*berkshelf.*3\.\d*\.\d*.* Gemfile
- if [ $? -eq 0 ]; then
- bundle exec berks vendor .cookbooks
- else
- mkdir -p .cookbooks
- bundle exec berks install --path=.cookbooks
- fi
-
- builder:
name: run-tests
builders:
