-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
3,110 additions
and
2,092 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
build/* | ||
dist/ | ||
*.o | ||
|
||
*.so | ||
*.pyc | ||
pyreBloom/pyre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: python | ||
services: | ||
- redis-server | ||
python: | ||
- '2.7' | ||
install: | ||
- 'sudo apt-get install libhiredis-dev' | ||
- 'pip install -r requirements.txt' | ||
- 'make install' | ||
script: make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
build: pyreBloom/*.c | ||
python setup.py build_ext --inplace | ||
|
||
install: | ||
python setup.py install | ||
|
||
clean: | ||
# Remove the build | ||
sudo rm -rf build dist | ||
find . -name '*.pyc' | xargs -n 100 rm -f | ||
find . -name .coverage | xargs rm -f | ||
find . -name '*.o' | xargs rm -f | ||
find . -name '*.so' | xargs rm -f | ||
|
||
.PHONY: test | ||
test: | ||
rm -f .coverage | ||
nosetests --exe -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Encoding: utf-8 | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
# http://docs.vagrantup.com/v2/ | ||
Vagrant.configure('2') do |config| | ||
config.vm.box = 'ubuntu/trusty64' | ||
config.vm.hostname = 'pyreBloom' | ||
config.ssh.forward_agent = true | ||
|
||
# Part of provisioning is cloning a couple of private repos, so this is to | ||
# enable key forwarding during provisioning | ||
config.vm.provision :shell, inline: | ||
'echo \'Defaults env_keep += "SSH_AUTH_SOCK"\' > /etc/sudoers.d/ssh-auth-sock; ' + | ||
'chmod 0440 /etc/sudoers.d/ssh-auth-sock' | ||
|
||
config.vm.provider :virtualbox do |vb| | ||
vb.customize ["modifyvm", :id, "--memory", "2048"] | ||
vb.customize ["modifyvm", :id, "--cpus", "2"] | ||
end | ||
|
||
config.vm.provision :shell, path: 'provision/script.sh', privileged: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# redis - Single-Node Qless Admin UI | ||
# | ||
|
||
description "Redis" | ||
|
||
start on (local-filesystems | ||
and net-device-up IFACE!=lo) | ||
stop on runlevel[!2345] | ||
|
||
respawn | ||
console log | ||
|
||
exec redis-server /etc/redis.conf |
Oops, something went wrong.