Skip to content

Commit

Permalink
INFRA-3179 Update smpcv2 deploy config - clusters and values (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalLeszczynski authored Sep 26, 2024
1 parent 1eca268 commit b2eee77
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ env:
- name: RUST_LOG
value: "info"

- name: NCCL_DEBUG
value: "INFO"

- name: NCCL_SOCKET_IFNAME
value: "eth0"

- name: NCCL_COMM_ID
value: "172.16.0.160:4000"
value: "10.15.65.120:4000"

- name: RUST_BACKTRACE
value: "full"
Expand All @@ -18,7 +15,7 @@ env:
value: "stage"

- name: SMPC__SERVICE__SERVICE_NAME
value: "smpcv2-server"
value: "smpcv2-server-stage"

- name: SMPC__DATABASE__URL
valueFrom:
Expand Down Expand Up @@ -66,13 +63,16 @@ env:
value: "0"

- name: SMPC__PUBLIC_KEY_BASE_URL
value: "https://d2my9d2y2jkpfn.cloudfront.net"
value: "https://pki-smpcv2-stage.worldcoin.org"

- name: SMPC__CLEAR_DB_BEFORE_INIT
value: "true"

- name: SMPC__INIT_DB_SIZE
value: "10000"
value: "100"

- name: SMPC__MAX_DB_SIZE
value: "1000000"

- name: SMPC__MAX_BATCH_SIZE
value: "64"
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
args:
- "--bind-addr"
- "127.0.0.1:8000"
- "0.0.0.0:8000"
- "--db-url"
- "$(SMPC__DATABASE__URL)"
- "--party-id"
- "0"
- "--eye"
- "left"
- "--environment"
- "$(ENVIRONMENT)"
- "--batch-size"
- "50"
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
args:
- "--bind-addr"
- "127.0.0.1:8000"
- "0.0.0.0:8000"
- "--db-url"
- "$(SMPC__DATABASE__URL)"
- "--party-id"
- "0"
- "--eye"
- "right"
- "--environment"
- "$(ENVIRONMENT)"
- "--batch-size"
- "50"
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,20 @@ env:
- name: RUST_LOG
value: "info"

- name: NCCL_DEBUG
value: "INFO"
- name: RUST_BACKTRACE
value: "full"

- name: NCCL_SOCKET_IFNAME
value: "eth0"

- name: NCCL_COMM_ID
value: "172.16.0.160:4000"

- name: RUST_BACKTRACE
value: "full"
value: "10.15.65.120:4000"

- name: SMPC__ENVIRONMENT
value: "stage"

- name: SMPC__SERVICE__SERVICE_NAME
value: "smpcv2-server"
value: "smpcv2-server-stage"

- name: SMPC__DATABASE__URL
valueFrom:
Expand Down Expand Up @@ -66,13 +63,16 @@ env:
value: "1"

- name: SMPC__PUBLIC_KEY_BASE_URL
value: "https://d2my9d2y2jkpfn.cloudfront.net"
value: "https://pki-smpcv2-stage.worldcoin.org"

- name: SMPC__CLEAR_DB_BEFORE_INIT
value: "true"

- name: SMPC__INIT_DB_SIZE
value: "10000"
value: "100"

- name: SMPC__MAX_DB_SIZE
value: "1000000"

- name: SMPC__MAX_BATCH_SIZE
value: "64"
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
args:
- "--bind-addr"
- "127.0.0.1:8000"
- "0.0.0.0:8000"
- "--db-url"
- "$(SMPC__DATABASE__URL)"
- "--party-id"
- "1"
- "--eye"
- "left"
- "--environment"
- "$(ENVIRONMENT)"
- "--batch-size"
- "50"
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
args:
- "--bind-addr"
- "127.0.0.1:8000"
- "0.0.0.0:8000"
- "--db-url"
- "$(SMPC__DATABASE__URL)"
- "--party-id"
- "1"
- "--eye"
- "right"
- "--environment"
- "$(ENVIRONMENT)"
- "--batch-size"
- "50"
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,20 @@ env:
- name: RUST_LOG
value: "info"

- name: NCCL_DEBUG
value: "INFO"
- name: RUST_BACKTRACE
value: "full"

- name: NCCL_SOCKET_IFNAME
value: "eth0"

- name: NCCL_COMM_ID
value: "172.16.0.160:4000"

- name: RUST_BACKTRACE
value: "full"
value: "10.15.65.120:4000"

- name: SMPC__ENVIRONMENT
value: "stage"

- name: SMPC__SERVICE__SERVICE_NAME
value: "smpcv2-server"
value: "smpcv2-server-stage"

- name: SMPC__DATABASE__URL
valueFrom:
Expand Down Expand Up @@ -66,13 +63,16 @@ env:
value: "2"

- name: SMPC__PUBLIC_KEY_BASE_URL
value: "https://d2my9d2y2jkpfn.cloudfront.net"
value: "https://pki-smpcv2-stage.worldcoin.org"

- name: SMPC__CLEAR_DB_BEFORE_INIT
value: "true"

- name: SMPC__INIT_DB_SIZE
value: "10000"
value: "100"

- name: SMPC__MAX_DB_SIZE
value: "1000000"

- name: SMPC__MAX_BATCH_SIZE
value: "64"
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
args:
- "--bind-addr"
- "127.0.0.1:8000"
- "0.0.0.0:8000"
- "--db-url"
- "$(SMPC__DATABASE__URL)"
- "--party-id"
- "2"
- "--eye"
- "left"
- "--environment"
- "$(ENVIRONMENT)"
- "--batch-size"
- "50"
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
args:
- "--bind-addr"
- "127.0.0.1:8000"
- "0.0.0.0:8000"
- "--db-url"
- "$(SMPC__DATABASE__URL)"
- "--party-id"
- "2"
- "--eye"
- "right"
- "--environment"
- "$(ENVIRONMENT)"
- "--batch-size"
- "50"

0 comments on commit b2eee77

Please sign in to comment.