siso / chef-takeaway Goto Github PK
View Code? Open in Web Editor NEWTakeaway box to get cracking on Chef, Vagrant, Ansible, Test Kitchen and Docker
License: GNU General Public License v3.0
Takeaway box to get cracking on Chef, Vagrant, Ansible, Test Kitchen and Docker
License: GNU General Public License v3.0
Run tests as last step of build pipeline
Commented out in openstack.yml, as it break pip, which always returns:
Traceback (most recent call last):
File "/usr/bin/pip", line 9, in <module>
load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['__name__'])
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module>
from pip.download import path_to_url
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in <module>
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead
Create ./share/chef/proxy-sample
coobook to show how to make knife, kitchen and vagrant leverage proxy listening on tcp/8123.
config.vm.provision "file", source: "#{Dir.home}/.ssh/config", destination: ".ssh/config"
copies ~/.ssh/config to the guest VM.
Should copy across id_rsa and id_rsa.pub as well.
Need to include knife-rackspace gem.
Will also need the build-essential Debian package.
vagrant up
fails when $HOME/.ssh/config or $HOME/.gitconfig don't exist.
If user is running the VM for the first time, they might not have those files ready.
The lines in question are
# copy files to guest box
config.vm.provision "file", source: "~/.gitconfig", destination: ".gitconfig"
config.vm.provision "file", source: "#{Dir.home}/.ssh/config", destination: ".ssh/config"
Needed for the utilities such as jq.
When:
Windows will be see the links as a normal file.
Kitchen tests will fail as the uploaded file is not registered as a symlink.
Need a script to clean up stale Chef clients and nodes
Add vars to customise SSH key and SSH configuration file
.kitchen.yml
to test in Docker container.kitchen.local.yml
to test in the CloudA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.