@docupace/pipeline 1.0.7-alpha.5 → 1.0.7-alpha.7
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 +2 -2
- package/src/next/config.js +5 -5
- package/src/next/jenkins.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docupace/pipeline",
|
|
3
|
-
"version": "1.0.7-alpha.
|
|
3
|
+
"version": "1.0.7-alpha.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"test-deploy-core": "dp-next-cli deploy-core-pipeline dev template",
|
|
38
|
-
"test-deploy-from-site": "dp-next-cli deploy-from-site --from-env
|
|
38
|
+
"test-deploy-from-site": "dp-next-cli deploy-from-site --from-env qa --to-env qa --from-site rockefeller --to-site rockefeller --deploy-core true",
|
|
39
39
|
"test-run-pipline": "dp-next-cli run-pipeline -r docupace-next-e2e -b master -p run-tests-qa"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/src/next/config.js
CHANGED
|
@@ -2,24 +2,24 @@ export const environments = ['dev', 'qa', 'uat', 'stage', 'prod'];
|
|
|
2
2
|
|
|
3
3
|
export const environmentConfig = {
|
|
4
4
|
dev: {
|
|
5
|
-
newUrl: (site) =>
|
|
5
|
+
newUrl: (site) => `https://${site}.dev.dpai.tech`,
|
|
6
6
|
oldUrl: (site) => `https://www.dev.docupaceinc.com/${site}`,
|
|
7
7
|
},
|
|
8
8
|
qa: {
|
|
9
|
-
newUrl: (site) =>
|
|
9
|
+
newUrl: (site) => `https://${site}.qa.dpai.tech`,
|
|
10
10
|
oldUrl: (site) => `https://www.preprod.docupaceinc.com/${site}`,
|
|
11
11
|
},
|
|
12
12
|
uat: {
|
|
13
|
-
newUrl: (site) =>
|
|
13
|
+
newUrl: (site) => `https://${site}.qa.dpai.tech`,
|
|
14
14
|
oldUrl: (site) => `https://www2.paperout.com/${site}_uat`,
|
|
15
15
|
},
|
|
16
16
|
stage: {
|
|
17
|
-
newUrl: (site) =>
|
|
17
|
+
newUrl: (site) => `https://${site}.stage.dpai.tech`,
|
|
18
18
|
oldUrl: (site) => `https://www2.paperout.com/${site}_staging`,
|
|
19
19
|
},
|
|
20
20
|
|
|
21
21
|
prod: {
|
|
22
|
-
newUrl: (site) =>
|
|
22
|
+
newUrl: (site) => `https://${site}.dpai.tech`,
|
|
23
23
|
oldUrl: (site) => `https://www2.paperout.com/${site}`,
|
|
24
24
|
},
|
|
25
25
|
};
|
package/src/next/jenkins.js
CHANGED
|
@@ -5,7 +5,7 @@ const CORE_JOB_NAME = 'auto-deploy-site';
|
|
|
5
5
|
const CORE_USERNAME = process.env.CORE_JENKINS_USERNAME;
|
|
6
6
|
const CORE_API_TOKEN = process.env.CORE_JENKINS_API_TOKEN;
|
|
7
7
|
|
|
8
|
-
const CONNECT_JENKINS_URL = '
|
|
8
|
+
const CONNECT_JENKINS_URL = 'http://usdoc-s-buildui.corp.docupace.com/jenkins';
|
|
9
9
|
const CONNECT_JOB_NAME = 'docupace_build_and_run_site_v2';
|
|
10
10
|
const CONNECT_USERNAME = process.env.CONNECT_JENKINS_USERNAME;
|
|
11
11
|
const CONNECT_API_TOKEN = process.env.CONNECT_JENKINS_API_TOKEN;
|