-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge the develop branch to the master branch, preparation to v1.2.0-rc0
- Loading branch information
Showing
28 changed files
with
1,294 additions
and
171 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
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
Submodule contracts
updated
from 20d262 to fd86fe
26 changes: 26 additions & 0 deletions
26
deployment-e2e/molecule/ultimate-commons/oracle-add-docker-external-network.yml
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,26 @@ | ||
--- | ||
- name: Slurp docker compose file | ||
slurp: | ||
src: "/home/poadocker/bridge/oracle/{{ item }}.yml" | ||
register: docker_compose_slurp | ||
- name: Parse docker compose file | ||
set_fact: | ||
docker_compose_parsed: "{{ docker_compose_slurp['content'] | b64decode | from_yaml }}" | ||
|
||
- name: Add the external network used to connect to Parity nodes | ||
set_fact: | ||
docker_compose_parsed: "{{ docker_compose_parsed |combine({'networks': {'ultimate': {'external': 'true'}}}, recursive=True) }}" | ||
|
||
- name: Add all Oracle containers to the network | ||
set_fact: | ||
docker_compose_parsed: "{{ docker_compose_parsed | combine({'services': {item: {'networks': docker_compose_parsed.services[item].networks | union(['ultimate'])}}}, recursive=True) }}" | ||
with_items: "{{ docker_compose_parsed.services }}" | ||
|
||
- name: Expose Redis port to allow connecting from redis-cli | ||
set_fact: | ||
docker_compose_parsed: "{{ docker_compose_parsed | combine({'services': {'redis': {'ports': ['6379:6379']}}}, recursive=True) }}" | ||
|
||
- name: Write updated docker file | ||
copy: | ||
content: "{{ docker_compose_parsed | to_yaml }}" | ||
dest: "/home/poadocker/bridge/oracle/{{ item }}.yml" |
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
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,19 @@ | ||
--- | ||
- name: Slurp docker compose file | ||
slurp: | ||
src: "{{ bridge_path }}/oracle/{{ item }}.yml" | ||
register: docker_compose_slurp | ||
|
||
- name: Parse docker compose file | ||
set_fact: | ||
docker_compose_parsed: "{{ docker_compose_slurp['content'] | b64decode | from_yaml }}" | ||
|
||
- name: Set logger to remote server | ||
set_fact: | ||
docker_compose_parsed: "{{ docker_compose_parsed |combine({'services': {item: {'logging': {'driver': 'syslog','options': {'tag': '{{.Name}}/{{.ID}}'}}}}}, recursive=True) }}" | ||
with_items: "{{ docker_compose_parsed.services }}" | ||
|
||
- name: Write updated docker file | ||
copy: | ||
content: "{{ docker_compose_parsed | to_yaml }}" | ||
dest: "{{ bridge_path }}/oracle/{{ item }}.yml" |
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
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
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
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
Oops, something went wrong.