1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-23 01:36:42 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
David Dashyan
9e99c024d3
Replace headers (#2683)
Signed-off-by: David Dashyan <mail@davie.li>
2020-04-06 11:52:18 +02:00
Troy McConaghy
c72c7a4626 Problem: tests/README.md either wrong or redundant (#2479)
The information on that page was either wrong or redundant, so I either deleted it or linked to where to find the same information in the docs about contributing to BigchainDB.
2018-09-04 13:31:00 +02:00
Troy McConaghy
abdd23f5a6 Problem: Source files contain no license info (#2455)
* Problem: Source files contain no license info

Solution: Add comments with SPDX license info to source files

* Python 3 files don't need # -*- coding: utf-8 -*-
2018-08-16 12:31:32 +02:00
Ahmed Muawia Khan
9be68c972d Problem: standardize docker-compose workflows (#2130)
- Standardize docker-compose workflow
- Change docker-compose version to 2.1
  - why one might ask? because compose version
    3.0 does not support depends on and inherits
    like we want to and is more aimed towards migration to using
    `docker stack`, for our current strategy `2.1` is a better choice.
- change `bdb` service `bigchaindb` service
  - why? Introduced a new proxy service `bdb` which is just a dummy
    `busybox` image.
    - why? because this ensure via healthcheck of bigchaindb that BigchainDB
      has started properly and makes a `curl` to ensure HTTP API server is up
      and running.
      - why? Because we have had scenarios where BigchainDB is not started
        via docker compose and user has to check out the logs to find out what
        the problem might be. This ensure that bigchaindb is up and running.
- Does this change deployment workflow? No.
  - The only thing change is that if you want to run commands inside a bigchaindb
    container e.g. `pytest` now you have to run the following command:
    `docker-compose run --rm --no-deps bigchaindb pytest -v --cov=bigchaindb`
     as opposed to `docker-compose run --rm --no-deps bdb pytest -v --cov=bigchaindb`
- Remove env variable `BIGCHAINDB_START_TENDERMINT`
- Remove TENDERMINT_INTEGRATION.rst and move to the new docs
- Change mdb -> mongodb because the other services were named with
  full name.
- Add example to run specific tests or from a file
- Update config.toml for tendermint to use `bigchaindb` as proxy app
  instead of `bdb`
- Remove `network` directory because it is deprecated
- Add comment about why PYTHONBUFFERED is used
2018-03-21 12:42:43 +01:00
Troy McConaghy
e725c23691
Added note about 'make clean-pyc' 2017-11-07 14:24:33 +01:00
Troy McConaghy
6cab2f26e9
Fix command to run tests w/ docker-compose & bdb-rdb 2017-11-07 10:20:41 +01:00
Troy McConaghy
d55004601c
Fix command to run RethinkDB in bg w/ docker-compose 2017-11-07 10:17:21 +01:00
Krish
f35f01f1cb Add SSL support for MongoDB connections (#1510)
* Add SSL support for MongoDB connections

* Tests for TLS connectivity and other fixes

* Add test for ssl parameters

* Add test for AuthenticationError

* Cleanup branch

* Split env vars as per @r-marques suggestion

* Remove SSL_ENABLED and use BIGCHAINDB_DATABASE_SSL instead

* Changes as per comments from @r-marques

* Remove redundant tests

* Test for ConfigurationError
2017-06-13 12:04:34 +02:00
Troy McConaghy
cab2ea11ab use default mongodb replica set name when run mongod for tests 2017-05-18 17:50:08 +02:00
Sylvain Bellemare
b4eb75ede5 Use MongoDB as default db in docker-compose file 2017-04-18 16:14:21 +02:00
Sylvain Bellemare
4c8d1c6e8c Document how to run tests for mongodb with docker 2017-01-11 13:21:27 +01:00
Rodolphe Marques
376172ec18 Update the README with instructions to run the tests against mongodb 2017-01-11 13:21:27 +01:00
Brett Sun
ad6f267055 Add instructions for rebuilding docker images after upgrading 2016-12-20 13:52:46 +01:00
troymc
8d0ff25a39 Don't include the top-level bigchaindb/ folder in path names 2016-12-19 15:34:58 +01:00
troymc
ae236d9f23 Moved dev-and-test/running-all-tests.md content to tests/README.md 2016-12-18 11:41:04 +01:00
troymc
dd01dd099f Moved tests docs from PYTHON_STYLE_GUIDE.md to tests/README.md 2016-12-18 11:01:15 +01:00
troymc
a005cca3b9 Initial edits to tests/README.md 2016-12-18 10:44:57 +01:00
Sylvain Bellemare
8a68e24e69 Abstract db layer cherrypick docs (#932)
* Add README.md to tests/ to describe test structure and pytest customizations

* Add package-level docstrings to backends

* Add README.md explaining the backend architecture

* Small improvements to docstrings in backend modules

* Restructure the backend automodule docs

* Add more docstrings to backend connections

* Add init to base backend Connection class to document expected interface

* Reword the backend/README.md docs
2016-12-12 18:28:43 +01:00