mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-10 04:04:09 +00:00
Deleted unused files
This commit is contained in:
parent
3ddeb4277d
commit
a82e1c5e63
@ -1,6 +0,0 @@
|
||||
[bumpversion]
|
||||
commit = True
|
||||
current_version = 2.1.4
|
||||
tag = True
|
||||
tag_name = {new_version}
|
||||
|
27
.travis.yml
27
.travis.yml
@ -1,27 +0,0 @@
|
||||
---
|
||||
language: python
|
||||
python: "2.7"
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq python-apt python-pycurl
|
||||
- sudo apt-get remove --purge -y mongodb-*
|
||||
install:
|
||||
- pip install ansible>=1.6.0
|
||||
script:
|
||||
- echo localhost > inventory
|
||||
|
||||
# Check syntax
|
||||
- ansible-playbook --syntax-check -i inventory test.yml
|
||||
|
||||
# First run
|
||||
- ansible-playbook -i inventory test.yml --connection=local --sudo
|
||||
|
||||
# Second run Idempotence test
|
||||
- >
|
||||
ansible-playbook -i inventory test.yml --connection=local --sudo
|
||||
| grep -q 'changed=0.*failed=0'
|
||||
&& (echo 'Idempotence test: pass' && exit 0)
|
||||
|| (echo 'Idempotence test: fail' && exit 1)
|
||||
|
||||
# Check for mongodb is running
|
||||
# - ps -ef | grep [m]ongod || exit 1
|
@ -1,4 +0,0 @@
|
||||
Contributors:
|
||||
|
||||
* Kirill Klenov (http://klen.github.io/)
|
||||
* Guillaume Dedrie (https://github.com/guillaumededrie)
|
20
Makefile
20
Makefile
@ -1,20 +0,0 @@
|
||||
.PHONY: release major minor patch
|
||||
|
||||
VERSION?=minor
|
||||
release:
|
||||
@bumpversion $(VERSION)
|
||||
@git checkout master
|
||||
@git merge develop
|
||||
@git checkout develop
|
||||
@git push --all
|
||||
@git push --tags
|
||||
@git checkout develop
|
||||
|
||||
major:
|
||||
make release VERSION=major
|
||||
|
||||
minor:
|
||||
make release VERSION=minor
|
||||
|
||||
patch:
|
||||
make release VERSION=patch
|
Loading…
x
Reference in New Issue
Block a user