@docupace/pipeline 1.0.26-alpha-1 → 1.0.26-alpha-3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.26-alpha-1",
3
+ "version": "1.0.26-alpha-3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -55,7 +55,6 @@ async function configureUI(
55
55
  docupaceHost,
56
56
  site,
57
57
  env,
58
- useNewDomain,
59
58
  auth0Domain,
60
59
  auth0ClientId,
61
60
  auth0ClientSecret,
@@ -143,39 +142,6 @@ ingress:
143
142
  - hosts:
144
143
  - ${siteHost}
145
144
  secretName: dp-next-ui-cert
146
- externalConnectIngress:
147
- enabled: ${useNewDomain}
148
- className: nginx
149
- annotations:
150
- cert-manager.io/cluster-issuer: letsencrypt
151
- external-dns.alpha.kubernetes.io/hostname: ${siteHost}
152
- external-dns.alpha.kubernetes.io/zone: public
153
- nginx.ingress.kubernetes.io/backend-protocol: HTTPS
154
- nginx.ingress.kubernetes.io/configuration-snippet: |
155
- proxy_set_header Host ${siteHost};
156
- nginx.ingress.kubernetes.io/proxy-buffer-size: 8k
157
- hosts:
158
- - host: ${siteHost}
159
- paths:
160
- - path: /core
161
- - path: /core_b2b
162
- - path: /core_reports
163
- - path: /corerealm
164
- - path: /connect
165
- - path: /webstart
166
- - path: /core_ws
167
- - path: /core_docupload
168
- - path: /core_ariws
169
- - path: /core_restws
170
- - path: /core_webdav
171
- tls:
172
- - hosts:
173
- - ${siteHost}
174
- secretName: dp-next-ui-cert
175
- externalConnectService:
176
- enabled: ${useNewDomain}
177
- name: external-connect
178
- domain: ${docupaceHost}
179
145
  `.trim();
180
146
 
181
147
  // Write configuration files
@@ -317,6 +283,39 @@ ingress:
317
283
  - hosts:
318
284
  - ${siteHost}
319
285
  secretName: dp-next-ui-cert
286
+ externalConnectIngress:
287
+ enabled: true
288
+ className: nginx
289
+ annotations:
290
+ cert-manager.io/cluster-issuer: letsencrypt
291
+ external-dns.alpha.kubernetes.io/hostname: ${siteHost}
292
+ external-dns.alpha.kubernetes.io/zone: public
293
+ nginx.ingress.kubernetes.io/backend-protocol: HTTPS
294
+ nginx.ingress.kubernetes.io/configuration-snippet: |
295
+ proxy_set_header Host ${siteHost};
296
+ nginx.ingress.kubernetes.io/proxy-buffer-size: 8k
297
+ hosts:
298
+ - host: ${siteHost}
299
+ paths:
300
+ - path: /core
301
+ - path: /core_b2b
302
+ - path: /core_reports
303
+ - path: /corerealm
304
+ - path: /connect
305
+ - path: /webstart
306
+ - path: /core_ws
307
+ - path: /core_docupload
308
+ - path: /core_ariws
309
+ - path: /core_restws
310
+ - path: /core_webdav
311
+ tls:
312
+ - hosts:
313
+ - ${siteHost}
314
+ secretName: dp-next-ui-cert
315
+ externalConnectService:
316
+ enabled: true
317
+ name: external-connect
318
+ domain: ${docupaceHost}
320
319
  `.trim();
321
320
 
322
321
  // Write configuration files
@@ -452,14 +451,13 @@ export async function configureFromSite(
452
451
  CONNECT_URL = `${oldUrl}_ui`;
453
452
  }
454
453
 
455
- if (deployUI === 'true') {
454
+ if (deployUI === true || deployUI === 'true') {
456
455
  await configureUI(
457
456
  SITE_HOST,
458
457
  CORE_URL,
459
458
  DOCUPACE_HOST,
460
459
  toSite,
461
460
  toEnv,
462
- useNewDomain,
463
461
  auth0Domain,
464
462
  auth0ClientId,
465
463
  auth0ClientSecret,
@@ -79,6 +79,6 @@ export const getVaultSecretsConfigs = (site) => {
79
79
  commonSecretsPath: 'secret/data/common/config',
80
80
  siteCommonSecretsPath: `secret/data/${site}/common/config`,
81
81
  graphqlServerSecretsPath: `secret/data/${site}/graphql-server/config`,
82
- uiSecretsPath: `secret/data/${site}/ui/config`
83
- }
82
+ uiSecretsPath: `secret/data/${site}/ui/config`,
83
+ };
84
84
  };
package/terraform/plan.sh CHANGED
@@ -49,6 +49,7 @@ elif [[ "$PROJECT" == "idp" ]];then
49
49
  -var="site=${SITE_NAME}" \
50
50
  -var="env=${CURRENT_ENVIRONMENT}" \
51
51
  -var="docupace_domain=${DOCUPACE_DOMAIN}" \
52
+ -var="docupace_next_domain=${DOCUPACE_NEXT_DOMAIN}" \
52
53
  -var="old_page_design=${USE_OLD_PAGE_DESIGN}" \
53
54
  -var="use_new_domain=${USE_NEW_DOMAIN}" \
54
55
  -var="configure_autologin=${CONFIGURE_AUTOLOGIN}" \