@docupace/pipeline 1.0.39-matttest.28 → 1.0.39-matttest.29

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.39-matttest.28",
3
+ "version": "1.0.39-matttest.29",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -40,6 +40,14 @@ export const appInfo = {
40
40
  ui: {
41
41
  repositoryName: 'docupace-ui-main',
42
42
  deployAttributes: ['image.tag'],
43
+ updateConfigFunction: (config) => {
44
+ if (config.image.repository.endsWith('/docupace-ui-main')) {
45
+ const parts = config.image.repository.split('/');
46
+ parts[2] = 'enterprise-ui-app';
47
+ config.image.repository = parts.join('/');
48
+ }
49
+ return config;
50
+ },
43
51
  },
44
52
  };
45
53
 
@@ -410,6 +410,10 @@ export async function deployApp(
410
410
  }
411
411
  }
412
412
 
413
+ if (appDetails.updateConfigFunction) {
414
+ appDetails.updateConfigFunction(toDeployConfig);
415
+ }
416
+
413
417
  const {
414
418
  deployConfig: toDeployAppConfig,
415
419
  deployConfigFilePath: toDeployAppConfigFilePath,