Skip to content

Commit

Permalink
Deployment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eelanagaraj committed Oct 20, 2021
1 parent 5c70741 commit 5d8b863
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env.baklava
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ ATTESTATION_SERVICE_DOCKER_IMAGE_TAG="attestation-service-baklava"
CELO_PROVIDER_BACKUPS=https://baklava-forno.celo-testnet.org
SMS_PROVIDERS=twilio,nexmo
SMS_PROVIDERS_RANDOMIZED="1"
TWILIO_VERIFY_DISABLED_REGIONS=CN,CI,IS,SK,RS,CG,PG,MT,ET,BH,AZ

# We only configured 15 nexmo applications. So delivery receipts from the second 15 will always go to the wrong place for now
NEXMO_APPLICATIONS=ef341798-ab17-4029-8e35-eb574aaf3a59,dfffa813-14a9-4788-a920-9ba3ea6b954f,e4dec04f-9f80-4cdf-b640-db1a5ce6f891,089bad07-739a-45e5-a0ab-c24de477cfd2,fa5fad11-5a18-4f46-954b-250915003fa6,5c53815b-658e-415b-a6e2-709cc099b5da,0b494350-524d-4e0e-8b96-96e7f6d79e62,5e5fed3e-841f-4b09-b17c-c54dfea16493,2b537eeb-8409-4477-8922-c4f1a112b8d8,9870cd94-4281-45b5-b292-c0249632126b,1fdb10b6-45c0-4555-816b-2c11007286c1,1b1f3644-8e3c-47fb-af3f-49c44c133a7e,fba4f241-14ad-402a-a871-073e40eb8b48,2cec3a9e-cdbb-4f11-ad25-d83abd23e299,e6c77355-7113-4e57-b825-17078dec0c31,ef341798-ab17-4029-8e35-eb574aaf3a59,dfffa813-14a9-4788-a920-9ba3ea6b954f,e4dec04f-9f80-4cdf-b640-db1a5ce6f891,089bad07-739a-45e5-a0ab-c24de477cfd2,fa5fad11-5a18-4f46-954b-250915003fa6,5c53815b-658e-415b-a6e2-709cc099b5da,0b494350-524d-4e0e-8b96-96e7f6d79e62,5e5fed3e-841f-4b09-b17c-c54dfea16493,2b537eeb-8409-4477-8922-c4f1a112b8d8,9870cd94-4281-45b5-b292-c0249632126b,1fdb10b6-45c0-4555-816b-2c11007286c1,1b1f3644-8e3c-47fb-af3f-49c44c133a7e,fba4f241-14ad-402a-a871-073e40eb8b48,2cec3a9e-cdbb-4f11-ad25-d83abd23e299,e6c77355-7113-4e57-b825-17078dec0c31
Expand Down
2 changes: 1 addition & 1 deletion packages/attestation-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@celo/attestation-service",
"version": "1.4.0",
"version": "1.5.0-dev",
"description": "Issues attestation messages for Celo's identity protocol",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion packages/celotool/src/lib/attestation-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ async function helmParameters(celoEnv: string) {
`--set attestation_service.twilio.verifyDisabledRegions="${fetchEnvOrFallback(
envVar.TWILIO_VERIFY_DISABLED_REGIONS,
''
)}"`,
)
.split(',')
.join('\\,')}"`,
`--set attestation_service.nexmo.apiKey="${fetchEnv(envVar.NEXMO_KEY)}"`,
`--set attestation_service.nexmo.apiSecret="${fetchEnv(envVar.NEXMO_SECRET)}"`,
`--set attestation_service.telekom.apiKey="${fetchEnv(envVar.TELEKOM_API_KEY)}"`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ spec:
name: {{ .Release.Name }}
key: NEXMO_SECRET
- name: TWILIO_VERIFY_DISABLED_REGIONS
value: '{{ .Values.attestation_service.verifyDisabledRegions }}'
value: '{{ .Values.attestation_service.twilio.verifyDisabledRegions }}'
- name: SMS_PROVIDERS
value: '{{ .Values.attestation_service.sms_providers }}'
- name: SMS_PROVIDERS_RANDOMIZED
Expand Down

0 comments on commit 5d8b863

Please sign in to comment.