Deployment testing specific branch (#122)

* Testing branch

* Updated readme.
This commit is contained in:
Przemyslaw Rzad 2019-07-02 14:54:39 +02:00 committed by GitHub
parent 11c1595dd6
commit b254df7c25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

@ -11,6 +11,22 @@ source venv/bin/activate
pip install -r requirements.txt
```
## Push remote branch
The deployment playbooks are cloning the monorepository on target hosts, using your current local git branch name. If the branch does not exists on remote, you need to push it.
```
git push
```
Alternatively, if there are no changes except the playbooks, you can use the `master` branch:
```
CIRCLE_BRANCH=master molecule test
```
In this case `master` branch will be used as a codebase for Monitor, UI, Oracle and Contracts deployed by your local playbook.
## Run the tests
```

@ -30,6 +30,7 @@ provisioner:
oracle-host:
VALIDATOR_ADDRESS_PRIVATE_KEY: "8e829f695aed89a154550f30262f1529582cc49dc30eff74a6b491359e0230f9"
syslog_server_port: "udp://127.0.0.1:514"
bridge_repo_branch: ${CIRCLE_BRANCH-$(git symbolic-ref --short HEAD)}
verifier:
name: testinfra
lint: