-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix vagrant to not use runc * setup gitattributes for auth files * address review comments for readme
- Loading branch information
1 parent
220a3f4
commit e9aa8e9
Showing
10 changed files
with
164 additions
and
90 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
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,42 @@ | ||
whisk_version_name: local | ||
openwhisk_tmp_dir: "{{ lookup('env', 'OPENWHISK_TMP_DIR')|default('/tmp', true) }}" | ||
config_root_dir: "{{ openwhisk_tmp_dir }}/wskconf" | ||
whisk_logs_dir: "{{ openwhisk_tmp_dir }}/wsklogs" | ||
docker_registry: "" | ||
docker_dns: "" | ||
runtimes_bypass_pull_for_local_images: true | ||
invoker_use_runc: "{{ ansible_distribution != 'MacOSX' }}" | ||
|
||
db_prefix: whisk_local_ | ||
|
||
# Auto lookup to find the db credentials | ||
db_provider: "{{ lookup('ini', 'db_provider section=db_creds file={{ playbook_dir }}/db_local.ini') }}" | ||
db_username: "{{ lookup('ini', 'db_username section=db_creds file={{ playbook_dir }}/db_local.ini') }}" | ||
db_password: "{{ lookup('ini', 'db_password section=db_creds file={{ playbook_dir }}/db_local.ini') }}" | ||
db_protocol: "{{ lookup('ini', 'db_protocol section=db_creds file={{ playbook_dir }}/db_local.ini') }}" | ||
db_host: "{{ lookup('ini', 'db_host section=db_creds file={{ playbook_dir }}/db_local.ini') }}" | ||
db_port: "{{ lookup('ini', 'db_port section=db_creds file={{ playbook_dir }}/db_local.ini') }}" | ||
|
||
# API GW connection configuration | ||
apigw_auth_user: "" | ||
apigw_auth_pwd: "" | ||
apigw_host_v2: "http://{{ groups['apigateway']|first }}:{{apigateway.port.api}}/v2" | ||
|
||
invoker_allow_multiple_instances: true | ||
|
||
# Set kafka configuration | ||
kafka_heap: '512m' | ||
kafka_topics_completed_retentionBytes: 104857600 | ||
kafka_topics_completed_retentionMS: 300000 | ||
kafka_topics_health_retentionBytes: 104857600 | ||
kafka_topics_health_retentionMS: 300000 | ||
kafka_topics_invoker_retentionBytes: 104857600 | ||
kafka_topics_invoker_retentionMS: 300000 | ||
|
||
env_hosts_dir: "{{ playbook_dir }}/environments/local" | ||
|
||
controller_protocol: "http" | ||
|
||
cli_installation_mode: "local" | ||
|
||
invoker_use_runc: false |
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,29 @@ | ||
; the first parameter in a host is the inventory_hostname | ||
|
||
; used for local actions only | ||
ansible ansible_connection=local | ||
|
||
[edge] | ||
172.17.0.1 ansible_host=172.17.0.1 ansible_connection=local | ||
|
||
[controllers] | ||
controller0 ansible_host=172.17.0.1 ansible_connection=local | ||
; | ||
[kafkas] | ||
kafka0 ansible_host=172.17.0.1 ansible_connection=local | ||
|
||
[zookeepers:children] | ||
kafkas | ||
|
||
[invokers] | ||
invoker0 ansible_host=172.17.0.1 ansible_connection=local | ||
|
||
; db group is only used if db_provider is CouchDB | ||
[db] | ||
172.17.0.1 ansible_host=172.17.0.1 ansible_connection=local | ||
|
||
[redis] | ||
172.17.0.1 ansible_host=172.17.0.1 ansible_connection=local | ||
|
||
[apigateway] | ||
172.17.0.1 ansible_host=172.17.0.1 ansible_connection=local |
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 |
---|---|---|
@@ -1 +1 @@ | ||
23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP | ||
23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP |
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 |
---|---|---|
@@ -1 +1 @@ | ||
789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP | ||
789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP |
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.