Commit Graph

56 Commits

Author SHA1 Message Date
lana-shanghai 4a008e51e3
[WIP] Documentation re-org (#2694)
* Reorganized docs

* Fixed internal links in basic usage

* fixed the docker-compose command and volume for docs

* fixed docs tests

* fix travis docs test

* tox ini file

* fixed readme localhost links

* edited tox and test docs to previous state

* Fix tests errors related to docs reorganization

Signed-off-by: David Dashyan <mail@davie.li>

* Added ansible script installation option

Signed-off-by: Lana Ivina <lana@ipdb.io>

* Added ansible script to network setup guide

Signed-off-by: Lana Ivina <lana@ipdb.io>

* Hid the non-working button for now. 

Signed-off: Lana Ivina <lana@ipdb.io>

* Try now button

Co-authored-by: David Dashyan <mail@davie.li>
2020-05-18 20:22:26 +07:00
David Dashyan 9e99c024d3
Replace headers (#2683)
Signed-off-by: David Dashyan <mail@davie.li>
2020-04-06 11:52:18 +02:00
David Dashyan 09391351a4
Version bump to 2.2.0 (#2682)
Signed-off-by: David Dashyan <mail@davie.li>
2020-02-20 16:30:37 +01:00
Jürgen Eckel 9bcefdf3e2
Tendermint upgrade (#2666)
* migrated to tendermint 0.35.1

* increased bigchaindb_abci version

* fixed API adjustments due to Tendermint upgrade

Signed-off-by: Juergen Eckel <juergen@riddleandcode.com>

* migrated to bigchaindb-abci == py-abci 0.7.1

Signed-off-by: Juergen Eckel <juergen@riddleandcode.com>
2019-10-07 16:32:35 +02:00
Chuseuiti 6bed80cff3 Restart on sporadic failures on BDB container#2624 (#2634)
To account for sporadic failures on bigchaindb server and container stop, it would be beneficial to include in docker-compose the ability for the containers to restart on failure or docker daemon restart. Issue #2624
2019-02-26 09:57:38 +01: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
Muawia Khan 5b05f6505d Upgrade tm_version to 0.22.8 (#2426)
* Upgrade tm_version to 0.22.8

* Fix tendermint download link
2018-07-31 17:27:16 +02:00
Muawia Khan 9cfc1e6f5a Update to tendermint version 0.22.3 (#2380)
* Update to tendermint version 0.22.3 for dev/test deployment docs and scripts

* Update version and parameters for 0.22.3

- Sync docker-compose
- Power should be a "string" not a int,uint
2018-07-11 16:59:42 +02:00
Zachary Bowen f243b252ca Problem: we don't have any tests to cover malicious strings (#2334)
* Problem: we don't have any tests for malicious strings

Solution: Use a parameterized test that fuzzes over a library of potentially hazardous strings

* Needed to update the Dockerfile to install blns

* Removed unnecessary import from Dockerfile-dev

* Made the conditions under which the test expects an error more explicit

* Improved reporting in case of a bad status code

* Removed some over-zealous assertions.

* Removed `sent_transaction` from assertation error response

* *Problem: blns was removed as a dependency while fixing a merge conflict

Solution: added it back to the Dockerfile

* *Problem: made a typo when adding blns to the Dockerfile

Solution: fixed the typo
2018-07-10 17:30:00 +02:00
Vanshdeep Singh c7503f5689 Problem: Support for latest Tendermint missing (#2375)
Solution: Upgrade to py-abci 0.5.1 to use latest Tendermint
2018-07-10 14:16:02 +02:00
Lev Berman 6f9dc5168b Problem: Tendermint RPC server gets stuck. (#2337)
Solution: Upgrade Tendermint to v0.19.0. Fixes #2322.
2018-06-06 14:18:27 +02:00
Muawia Khan fa72b722f7 Problem: Docker images of tendermint/tendermint:0.19.7 tagged but not updated in bdb (#2335) 2018-06-04 16:10:50 +02:00
Troy McConaghy f3683854e8 Problem: Can't connect to local MongoDB when `make start` (#2320)
Solution: Expose MongoDB port 27017 when using `make start`, i.e. when using docker-compose.yml
2018-05-30 15:58:56 +02:00
vrde f86704bae9 Problem: BigchainDB does not support newer MongoDB (#2298)
* Problem: BigchainDB does not support newer MongoDB

Solution: Update driver to the last version, that is compatible with all
versions of MongoDB

* Update to MongoDB 3.6
2018-05-17 15:19:56 +02:00
vrde 474fe80abb Problem: dev env doesn't allow P2P connections (#2299)
Solution: expose Tendermint P2P port 46656
2018-05-17 15:19:12 +02:00
Lev Berman 3eb0b15aa0 Problem: Tendermint creates empty blocks in the Docker-based setup. See #2204. (#2265)
Solution: Set the --consensus.create_empty_blocks=false option in docker-compose.yml.
2018-05-04 12:02:22 +02:00
Ahmed Muawia Khan 82e3f21c9a Merge branch 'alpha-3' 2018-05-02 16:35:49 +02:00
Ahmed Muawia Khan fd48abebae
Problem: Tendermint 0.19.0 missing crucial fixes (#2253) 2018-05-02 14:39:41 +02:00
vrde 8d589d0181
Problem: we don't have acceptance tests (#2216)
Solution: have a simple way to start a node and run scripts against it.
2018-04-30 14:43:39 +02:00
Vanshdeep Singh 44f19a398c Problem: Tests failing with py-abci 0.4.1 (#2235)
Solution: Fix tests and Migrate to Tendermint 0.19.0
2018-04-26 11:09:38 +02:00
Vanshdeep Singh 7f6782e31d Problem: ABCI server not run for tests (#2138)
Solution: Create seperate test mark for which the ABCI server will be running
2018-04-10 17:29:25 +02:00
vrde 7a718f78d2 Update Makefile (#2147)
* Problem: it's difficult to run/test/compile docs

Solution: we already have a nice Makefile, but it's outdated. The idea
is to revamp it and make it easy to use.

* Problem: Makefile is not documented

Solution: Add basic instructions on how to use it in the main README.md

* Problem: can't connect to localhost:9984

Solution: make docker expose 9984 by default, so everyone can connect to
localhost:9984.

* Problem: make clean is TMI

Solution: add `@` to remove commands so we don't output all the details
about the cleaning

* Problem: make clean is too shy

Solution: print a message saying that cleaning went well.
2018-03-22 17:12:39 +01:00
Ahmed Muawia Khan 73555b96ff Unwanted env var BIGCHAINDB_START_TENDERMINT (#2145) 2018-03-21 15:19:00 +01: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
vrde 044a052644
Merge branch 'master' into tendermint 2017-11-29 17:18:00 +01:00
vrde b56b1d6364
Use `localmongodb` as default backend for docker-compose (#1858)
* Use `localmongodb` as default backend for docker-compose

* Remove replica-set
2017-11-15 15:01:07 +01:00
kansi 1266c43ff8 Fix docker files 2017-11-07 18:44:51 +05:30
kansi 5954d6360a Added cmd flag --init to start command 2017-10-24 16:59:10 +05:30
Sylvain Bellemare 788f2f7277 Remove dev related mount of cryptoconditions 2017-10-20 14:24:03 +02:00
Sylvain Bellemare 26f14aadec Parametrize websocket api tests for docker 2017-07-03 15:23:50 +02:00
Sylvain Bellemare 02fe712c34 Integrate cryptoconditions version 02 2017-06-22 14:56:22 +02:00
Sylvain Bellemare 5b06af3a02 Split docker-compose for mongo and rethink 2017-06-20 11:45:39 +02:00
Sylvain Bellemare f06e5034a4 Move benchmark to its own compose file 2017-06-14 11:00:50 +02:00
Sylvain Bellemare 10e2ce1796 Add build arg to dockerfile & docker-compose (dev) 2017-06-13 16:08:28 +02:00
libscott 32fc9244e6 Benchmark for CREATE transactions (#1511)
* benchmark code, throughput stats collection with graphite

* benchmarks readme

* benchmark readme update with results

* Update README.md

* add comment on why 10000 backlog size in benchmark
2017-06-10 10:01:28 +02:00
Sylvain Bellemare 8900276b1d Mount k8s dir for docker-compose 2017-04-25 11:58:15 +02:00
Sylvain Bellemare 82a170402e Upgrade MongoDB in docker-compose file 2017-04-18 16:14:21 +02:00
Sylvain Bellemare b4eb75ede5 Use MongoDB as default db in docker-compose file 2017-04-18 16:14:21 +02:00
Rodolphe Marques 69068fc919 Document how to run BigchainDB with MongoDB (#1116)
* Document changes in the configure command.

Document new add/remove replicas commands.

* updated quickstart with mongodb instructions

* Docs on how to setup mongodb dev node with and without docker.

Update replSet option in docker-compose

* Fixed typo.

More explicit on how to run the tests.

* Fixed typo in mongodb docker instructions.

More explicit about requiring mongodb 3.4+
2017-01-31 13:53:36 +01:00
Sylvain Bellemare 4d6df06236 Resolves #948 2017-01-16 07:12:25 -05:00
Sylvain Bellemare 4994e30f0c Run mongod with --replSet=rs0 option 2017-01-11 13:21:27 +01:00
Sylvain Bellemare e696883f66 Pin rethinkdb version to 2.3.5 in docker-compose 2017-01-11 13:21:27 +01:00
Sylvain Bellemare f57990c9ea Pin mongodb version to 3.4.1 in docker-compose.yml 2017-01-11 13:21:27 +01:00
Sylvain Bellemare 9bff8b40b5 Add mongodb container service for dev/tests 2016-12-13 11:59:57 +01:00
Sylvain Bellemare dc5fd211c3 Mount Makefile in container 2016-12-13 11:52:56 +01:00
Sylvain Bellemare cc9e3b79b6 Remove outdated comment 2016-12-08 16:50:35 +01:00
Sylvain Bellemare 20f629256b Mount tox.ini in dev container 2016-12-08 11:45:41 +01:00
troymc 29d783425d Remove or comment-out the api_endpoint setting everywhere 2016-11-15 17:05:09 +01:00
Sylvain Bellemare 1ae08990c8 Docker dev setup docs (#653)
* Include configuration step in Dockerfile

* Document dev setup with docker-compose

* Add server API env vars and port

* Parameterize SERVER_BIND and API_ENDPOINT env vars

* Give a bit more detailed information on GET /
2016-10-05 11:25:45 +02:00
Sylvain Bellemare d45fb3568a Simplify the service names 2016-05-17 14:53:46 +02:00