@govuk-pay/cli 0.0.122 → 0.0.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/resources/pay-local/templates/docker-compose.hbs +21 -8
- package/src/commands/secrets/config/secrets/pay_low_pass/production-2.js +2 -1
- package/src/commands/secrets/config/secrets/pay_low_pass/staging-2.js +3 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/test-12.js +3 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/test-perf-1.js +3 -0
- package/src/commands/secrets/config/secrets/value/production-2.js +3 -1
- package/src/commands/secrets/config/service_secrets.js +3 -0
package/package.json
CHANGED
|
@@ -124,7 +124,13 @@ services:
|
|
|
124
124
|
{{#each nodeApps}}
|
|
125
125
|
{{name}}:
|
|
126
126
|
{{#if localBuild}}
|
|
127
|
-
build:
|
|
127
|
+
build:
|
|
128
|
+
context: "$WORKSPACE/pay-{{name}}"
|
|
129
|
+
{{#if ../mountLocalNodeApps}}
|
|
130
|
+
target: base
|
|
131
|
+
{{else}}
|
|
132
|
+
target: final
|
|
133
|
+
{{/if}}
|
|
128
134
|
{{else}}
|
|
129
135
|
image: governmentdigitalservice/pay-{{name}}:{{imageTag}}
|
|
130
136
|
{{/if}}
|
|
@@ -164,6 +170,9 @@ services:
|
|
|
164
170
|
- RUN_APP=true
|
|
165
171
|
- DISABLE_INTERNAL_HTTPS=true
|
|
166
172
|
- PORT={{port}}
|
|
173
|
+
{{#unless ../mountLocalNodeApps}}
|
|
174
|
+
- NODE_OPTIONS=--inspect=0.0.0.0:{{debugPort}}
|
|
175
|
+
{{/unless}}
|
|
167
176
|
{{#if useEgressProxy}}
|
|
168
177
|
- http_proxy=http://egress:8080
|
|
169
178
|
- HTTP_PROXY=http://egress:8080
|
|
@@ -186,13 +195,17 @@ services:
|
|
|
186
195
|
{{/each}}
|
|
187
196
|
mem_limit: 1G
|
|
188
197
|
working_dir: '/app'
|
|
189
|
-
{{#
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
{{
|
|
198
|
+
{{#if localBuild}}
|
|
199
|
+
{{#if ../mountLocalNodeApps}}
|
|
200
|
+
{{#if entrypointOverrideLocal}}
|
|
201
|
+
entrypoint: {{{entrypointOverrideLocal}}}
|
|
202
|
+
{{else}}
|
|
203
|
+
{{#unless isBundled}}
|
|
204
|
+
entrypoint: "npx nodemon --inspect=0.0.0.0:{{debugPort}}"
|
|
205
|
+
{{/unless}}
|
|
206
|
+
{{/if}}
|
|
207
|
+
{{/if}}
|
|
208
|
+
{{/if}}
|
|
196
209
|
ports:
|
|
197
210
|
- "{{port}}:{{port}}"
|
|
198
211
|
{{#if debugPort}}
|
|
@@ -18,7 +18,8 @@ exports.PRODUCTION_2_CONFIG = {
|
|
|
18
18
|
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/production/connector_support_readwrite', // pragma: allowlist secret
|
|
19
19
|
NOTIFY_API_KEY: 'notify/api_key/deploy/production.connector.notify_api_key', // pragma: allowlist secret
|
|
20
20
|
GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_TEST: 'adyen/production/test/company-account-api-key', // pragma: allowlist secret
|
|
21
|
-
|
|
21
|
+
GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_TEST: 'adyen/production/test/balance-platform-api-key', // pragma: allowlist secret
|
|
22
|
+
GDS_CONNECTOR_ADYEN_LEGAL_ENTITY_MANAGEMENT_API_KEY_TEST: 'adyen/production/test/legal-entity-management-api-key', // pragma: allowlist secret
|
|
22
23
|
GDS_CONNECTOR_STRIPE_AUTH_TOKEN: 'stripe/production/test/account-api-key',
|
|
23
24
|
GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN: 'stripe/production/live/account-api-key',
|
|
24
25
|
GDS_CONNECTOR_STRIPE_WEBHOOK_SIGN_SECRET: 'stripe/production/test/webhook-secret', // pragma: allowlist secret
|
|
@@ -19,6 +19,9 @@ exports.STAGING_2_CONFIG = {
|
|
|
19
19
|
NOTIFY_API_KEY: 'notify/api_key/deploy/staging.connector.notify_api_key', // pragma: allowlist secret
|
|
20
20
|
GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_TEST: 'adyen/staging/test/company-account-api-key', // pragma: allowlist secret
|
|
21
21
|
GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_LIVE: 'adyen/staging/test/company-account-api-key', // pragma: allowlist secret
|
|
22
|
+
GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_TEST: 'adyen/staging/test/balance-platform-api-key', // pragma: allowlist secret
|
|
23
|
+
GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_LIVE: 'adyen/staging/test/balance-platform-api-key', // pragma: allowlist secret
|
|
24
|
+
GDS_CONNECTOR_ADYEN_LEGAL_ENTITY_MANAGEMENT_API_KEY_TEST: 'adyen/staging/test/legal-entity-management-api-key', // pragma: allowlist secret
|
|
22
25
|
GDS_CONNECTOR_STRIPE_AUTH_TOKEN: 'stripe/staging/test/account-api-key',
|
|
23
26
|
GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN: 'stripe/staging/test/account-api-key',
|
|
24
27
|
GDS_CONNECTOR_STRIPE_WEBHOOK_SIGN_SECRET: 'stripe/staging/test/webhook-secret', // pragma: allowlist secret
|
|
@@ -19,6 +19,9 @@ exports.TEST_12_CONFIG = {
|
|
|
19
19
|
NOTIFY_API_KEY: 'notify/api_key/ci/test.connector.notify_api_key', // pragma: allowlist secret
|
|
20
20
|
GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_TEST: 'adyen/test/test/company-account-api-key', // pragma: allowlist secret
|
|
21
21
|
GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_LIVE: 'adyen/test/test/company-account-api-key', // pragma: allowlist secret
|
|
22
|
+
GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_TEST: 'adyen/test/test/balance-platform-api-key', // pragma: allowlist secret
|
|
23
|
+
GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_LIVE: 'adyen/test/test/balance-platform-api-key', // pragma: allowlist secret
|
|
24
|
+
GDS_CONNECTOR_ADYEN_LEGAL_ENTITY_MANAGEMENT_API_KEY_TEST: 'adyen/test/test/legal-entity-management-api-key', // pragma: allowlist secret
|
|
22
25
|
GDS_CONNECTOR_STRIPE_AUTH_TOKEN: 'stripe/test/test/account-api-key',
|
|
23
26
|
GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN: 'stripe/test/test/account-api-key',
|
|
24
27
|
GDS_CONNECTOR_STRIPE_WEBHOOK_SIGN_SECRET: 'stripe/test/test/webhook-secret', // pragma: allowlist secret
|
|
@@ -19,6 +19,9 @@ exports.TEST_PERF_1_CONFIG = {
|
|
|
19
19
|
NOTIFY_API_KEY: 'notify/api_key/ci/test_perf.connector.notify_api_key', // pragma: allowlist secret
|
|
20
20
|
GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_TEST: 'adyen/test/test/company-account-api-key', // pragma: allowlist secret
|
|
21
21
|
GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_LIVE: 'adyen/test/test/company-account-api-key', // pragma: allowlist secret
|
|
22
|
+
GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_TEST: 'adyen/test/test/balance-platform-api-key', // pragma: allowlist secret
|
|
23
|
+
GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_LIVE: 'adyen/test/test/balance-platform-api-key', // pragma: allowlist secret
|
|
24
|
+
GDS_CONNECTOR_ADYEN_LEGAL_ENTITY_MANAGEMENT_API_KEY_TEST: 'adyen/test/test/legal-entity-management-api-key', // pragma: allowlist secret
|
|
22
25
|
GDS_CONNECTOR_STRIPE_AUTH_TOKEN: 'stripe/test/test/account-api-key',
|
|
23
26
|
GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN: 'stripe/test/test/account-api-key',
|
|
24
27
|
GDS_CONNECTOR_STRIPE_WEBHOOK_SIGN_SECRET: 'stripe/test/test/webhook-secret', // pragma: allowlist secret
|
|
@@ -12,7 +12,9 @@ exports.PRODUCTION_2_CONFIG = {
|
|
|
12
12
|
DB_SUPPORT_USER_READONLY: 'connector_support_readonly',
|
|
13
13
|
DB_SUPPORT_USER_READWRITE: 'connector_support_readwrite',
|
|
14
14
|
DB_USER: 'connector2',
|
|
15
|
-
NOTIFY_SECRET: ''
|
|
15
|
+
NOTIFY_SECRET: '',
|
|
16
|
+
GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_LIVE: '',
|
|
17
|
+
GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_LIVE: ''
|
|
16
18
|
},
|
|
17
19
|
frontend: {
|
|
18
20
|
AB_TEST_THRESHOLD: '50'
|
|
@@ -101,6 +101,9 @@ exports.SERVICE_SECRETS = {
|
|
|
101
101
|
'DB_USER',
|
|
102
102
|
'GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_TEST',
|
|
103
103
|
'GDS_CONNECTOR_ADYEN_COMPANY_ACCOUNT_API_KEY_LIVE',
|
|
104
|
+
'GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_TEST',
|
|
105
|
+
'GDS_CONNECTOR_ADYEN_BALANCE_PLATFORM_API_KEY_LIVE',
|
|
106
|
+
'GDS_CONNECTOR_ADYEN_LEGAL_ENTITY_MANAGEMENT_API_KEY_TEST',
|
|
104
107
|
'GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN',
|
|
105
108
|
'GDS_CONNECTOR_STRIPE_AUTH_TOKEN',
|
|
106
109
|
'GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_LIVE_SIGN_SECRET',
|