@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 +1 -1
- package/src/next/config.js +8 -0
- package/src/next/deploy.js +4 -0
package/package.json
CHANGED
package/src/next/config.js
CHANGED
|
@@ -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
|
|
package/src/next/deploy.js
CHANGED
|
@@ -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,
|