@catladder/pipeline 1.129.1 → 1.131.0
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/dist/build/node/testJob.js +2 -2
- package/dist/build/node/yarn.js +2 -2
- package/dist/bundles/catladder-gitlab/index.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/examples/__snapshots__/cloud-run-memory-limit.ts.snap +56 -40
- package/examples/__snapshots__/cloud-run-meteor-with-worker.ts.snap +56 -40
- package/examples/__snapshots__/cloud-run-no-cpu-throttling.ts.snap +56 -40
- package/examples/__snapshots__/cloud-run-non-public.ts.snap +56 -40
- package/examples/__snapshots__/cloud-run-post-stop-job.ts.snap +56 -40
- package/examples/__snapshots__/cloud-run-with-sql-reuse-db.ts.snap +112 -80
- package/examples/__snapshots__/cloud-run-with-sql.ts.snap +112 -80
- package/examples/__snapshots__/cloud-run-with-worker.ts.snap +56 -40
- package/examples/__snapshots__/custom-build-job-with-tests.ts.snap +8 -8
- package/examples/__snapshots__/custom-build-job.ts.snap +8 -8
- package/examples/__snapshots__/custom-deploy.ts.snap +56 -40
- package/examples/__snapshots__/custom-envs.ts.snap +68 -52
- package/examples/__snapshots__/custom-sbom-java.ts.snap +8 -8
- package/examples/__snapshots__/kubernetes-application-customization.ts.snap +56 -40
- package/examples/__snapshots__/kubernetes-with-cloud-sql-legacy.ts.snap +56 -40
- package/examples/__snapshots__/kubernetes-with-cloud-sql.ts.snap +56 -40
- package/examples/__snapshots__/kubernetes-with-jobs.ts.snap +112 -80
- package/examples/__snapshots__/kubernetes-with-mongodb.ts.snap +56 -40
- package/examples/__snapshots__/meteor-kubernetes.ts.snap +56 -40
- package/examples/__snapshots__/native-app.ts.snap +112 -80
- package/examples/__snapshots__/node-build-with-custom-image.ts.snap +56 -40
- package/examples/__snapshots__/wait-for-other-deploy.ts.snap +112 -80
- package/package.json +1 -1
- package/src/build/node/testJob.ts +3 -1
- package/src/build/node/yarn.ts +11 -8
|
@@ -145,14 +145,18 @@ mongodb:
|
|
|
145
145
|
],
|
|
146
146
|
},
|
|
147
147
|
"script": [
|
|
148
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
149
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
150
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
151
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
148
152
|
"cd app",
|
|
149
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
150
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
153
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
151
154
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
152
155
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
153
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
156
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
157
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
154
158
|
"yarn install --immutable",
|
|
155
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
159
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
156
160
|
"yarn lint",
|
|
157
161
|
],
|
|
158
162
|
"stage": "test",
|
|
@@ -212,18 +216,18 @@ mongodb:
|
|
|
212
216
|
},
|
|
213
217
|
"script": [
|
|
214
218
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > app/__build_info.json",
|
|
215
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
219
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
216
220
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
217
221
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
218
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
222
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
219
223
|
"cd app",
|
|
220
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
221
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
224
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
222
225
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
223
226
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
224
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
227
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
228
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
225
229
|
"yarn install --immutable",
|
|
226
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
230
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
227
231
|
"echo "add healthcheck package"",
|
|
228
232
|
"meteor add panter:healthroute --allow-superuser",
|
|
229
233
|
"meteor add qualia:prod-shell --allow-superuser",
|
|
@@ -630,14 +634,18 @@ mongodb:
|
|
|
630
634
|
],
|
|
631
635
|
},
|
|
632
636
|
"script": [
|
|
637
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
638
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
639
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
640
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
633
641
|
"cd app",
|
|
634
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
635
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
642
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
636
643
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
637
644
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
638
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
645
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
646
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
639
647
|
"yarn install --immutable",
|
|
640
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
648
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
641
649
|
"yarn test",
|
|
642
650
|
],
|
|
643
651
|
"stage": "test",
|
|
@@ -885,14 +893,18 @@ mongodb:
|
|
|
885
893
|
],
|
|
886
894
|
},
|
|
887
895
|
"script": [
|
|
896
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
897
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
898
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
899
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
888
900
|
"cd app",
|
|
889
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
890
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
901
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
891
902
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
892
903
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
893
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
904
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
905
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
894
906
|
"yarn install --immutable",
|
|
895
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
907
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
896
908
|
"yarn lint",
|
|
897
909
|
],
|
|
898
910
|
"stage": "test",
|
|
@@ -952,18 +964,18 @@ mongodb:
|
|
|
952
964
|
},
|
|
953
965
|
"script": [
|
|
954
966
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > app/__build_info.json",
|
|
955
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
967
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
956
968
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
957
969
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
958
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
970
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
959
971
|
"cd app",
|
|
960
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
961
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
972
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
962
973
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
963
974
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
964
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
975
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
976
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
965
977
|
"yarn install --immutable",
|
|
966
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
978
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
967
979
|
"echo "add healthcheck package"",
|
|
968
980
|
"meteor add panter:healthroute --allow-superuser",
|
|
969
981
|
"meteor add qualia:prod-shell --allow-superuser",
|
|
@@ -1370,14 +1382,18 @@ mongodb:
|
|
|
1370
1382
|
],
|
|
1371
1383
|
},
|
|
1372
1384
|
"script": [
|
|
1385
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1386
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1387
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1388
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1373
1389
|
"cd app",
|
|
1374
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1375
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1390
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1376
1391
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1377
1392
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1378
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1393
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1394
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1379
1395
|
"yarn install --immutable",
|
|
1380
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1396
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1381
1397
|
"yarn test",
|
|
1382
1398
|
],
|
|
1383
1399
|
"stage": "test",
|
|
@@ -1769,18 +1785,18 @@ mongodb:
|
|
|
1769
1785
|
},
|
|
1770
1786
|
"script": [
|
|
1771
1787
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > app/__build_info.json",
|
|
1772
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1788
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1773
1789
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1774
1790
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1775
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1791
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1776
1792
|
"cd app",
|
|
1777
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1778
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1793
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1779
1794
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1780
1795
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1781
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1796
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1797
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1782
1798
|
"yarn install --immutable",
|
|
1783
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1799
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1784
1800
|
"echo "add healthcheck package"",
|
|
1785
1801
|
"meteor add panter:healthroute --allow-superuser",
|
|
1786
1802
|
"meteor add qualia:prod-shell --allow-superuser",
|
|
@@ -1861,18 +1877,18 @@ mongodb:
|
|
|
1861
1877
|
},
|
|
1862
1878
|
"script": [
|
|
1863
1879
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > app/__build_info.json",
|
|
1864
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1880
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1865
1881
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1866
1882
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1867
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1883
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1868
1884
|
"cd app",
|
|
1869
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1870
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1885
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1871
1886
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1872
1887
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1873
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1888
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1889
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1874
1890
|
"yarn install --immutable",
|
|
1875
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1891
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1876
1892
|
"echo "add healthcheck package"",
|
|
1877
1893
|
"meteor add panter:healthroute --allow-superuser",
|
|
1878
1894
|
"meteor add qualia:prod-shell --allow-superuser",
|
|
@@ -33,14 +33,18 @@ exports[`matches snapshot 1`] = `
|
|
|
33
33
|
],
|
|
34
34
|
},
|
|
35
35
|
"script": [
|
|
36
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
37
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
38
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
39
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
36
40
|
"cd api",
|
|
37
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
38
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
41
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
39
42
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
40
43
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
41
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
44
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
45
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
42
46
|
"yarn install --immutable",
|
|
43
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
47
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
44
48
|
"yarn lint",
|
|
45
49
|
],
|
|
46
50
|
"stage": "test",
|
|
@@ -100,18 +104,18 @@ exports[`matches snapshot 1`] = `
|
|
|
100
104
|
},
|
|
101
105
|
"script": [
|
|
102
106
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
103
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
107
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
104
108
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
105
109
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
106
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
110
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
107
111
|
"cd api",
|
|
108
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
109
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
112
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
110
113
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
111
114
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
112
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
115
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
116
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
113
117
|
"yarn install --immutable",
|
|
114
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
118
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
115
119
|
"yarn build",
|
|
116
120
|
],
|
|
117
121
|
"stage": "build",
|
|
@@ -438,14 +442,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
438
442
|
],
|
|
439
443
|
},
|
|
440
444
|
"script": [
|
|
445
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
446
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
447
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
448
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
441
449
|
"cd api",
|
|
442
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
443
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
450
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
444
451
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
445
452
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
446
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
453
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
454
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
447
455
|
"yarn install --immutable",
|
|
448
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
456
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
449
457
|
"yarn test",
|
|
450
458
|
],
|
|
451
459
|
"stage": "test",
|
|
@@ -508,14 +516,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
508
516
|
],
|
|
509
517
|
},
|
|
510
518
|
"script": [
|
|
519
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
520
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
521
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
522
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
511
523
|
"cd app",
|
|
512
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
513
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
524
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
514
525
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
515
526
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
516
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
527
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
528
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
517
529
|
"yarn install --immutable",
|
|
518
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
530
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
519
531
|
"yarn lint",
|
|
520
532
|
],
|
|
521
533
|
"stage": "test",
|
|
@@ -604,18 +616,18 @@ GRAPHQL_URL=https://pan-test-app-dev-api-unknown-host.example.com/graphql
|
|
|
604
616
|
_ALL_ENV_VAR_KEYS=["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INFO_BUILD_TIME","BUILD_INFO_CURRENT_VERSION","HOST","ROOT_URL","HOST_CANONICAL","ROOT_URL_INTERNAL","APP_STORE_CONNECT_API_KEY_CONTENT","APP_STORE_CONNECT_ISSUER_ID","APP_STORE_CONNECT_API_KEY_ID","GRAPHQL_URL"]
|
|
605
617
|
EOF",
|
|
606
618
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > app/__build_info.json",
|
|
607
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
619
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
608
620
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
609
621
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
610
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
622
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
611
623
|
"cd app",
|
|
612
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
613
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
624
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
614
625
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
615
626
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
616
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
627
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
628
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
617
629
|
"yarn install --immutable",
|
|
618
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
630
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
619
631
|
"bundle config set --local path 'vendor/ruby'",
|
|
620
632
|
"gem install bundler",
|
|
621
633
|
"bundle install",
|
|
@@ -796,14 +808,18 @@ EOF",
|
|
|
796
808
|
],
|
|
797
809
|
},
|
|
798
810
|
"script": [
|
|
811
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
812
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
813
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
814
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
799
815
|
"cd app",
|
|
800
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
801
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
816
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
802
817
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
803
818
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
804
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
819
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
820
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
805
821
|
"yarn install --immutable",
|
|
806
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
822
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
807
823
|
"yarn test",
|
|
808
824
|
],
|
|
809
825
|
"stage": "test",
|
|
@@ -941,14 +957,18 @@ EOF",
|
|
|
941
957
|
],
|
|
942
958
|
},
|
|
943
959
|
"script": [
|
|
960
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
961
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
962
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
963
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
944
964
|
"cd api",
|
|
945
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
946
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
965
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
947
966
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
948
967
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
949
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
968
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
969
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
950
970
|
"yarn install --immutable",
|
|
951
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
971
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
952
972
|
"yarn lint",
|
|
953
973
|
],
|
|
954
974
|
"stage": "test",
|
|
@@ -1008,18 +1028,18 @@ EOF",
|
|
|
1008
1028
|
},
|
|
1009
1029
|
"script": [
|
|
1010
1030
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
1011
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1031
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1012
1032
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1013
1033
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1014
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1034
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1015
1035
|
"cd api",
|
|
1016
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1017
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1036
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1018
1037
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1019
1038
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1020
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1039
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1040
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1021
1041
|
"yarn install --immutable",
|
|
1022
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1042
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1023
1043
|
"yarn build",
|
|
1024
1044
|
],
|
|
1025
1045
|
"stage": "build",
|
|
@@ -1352,14 +1372,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
1352
1372
|
],
|
|
1353
1373
|
},
|
|
1354
1374
|
"script": [
|
|
1375
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1376
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1377
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1378
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1355
1379
|
"cd api",
|
|
1356
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1357
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1380
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1358
1381
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1359
1382
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1360
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1383
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1384
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1361
1385
|
"yarn install --immutable",
|
|
1362
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1386
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1363
1387
|
"yarn test",
|
|
1364
1388
|
],
|
|
1365
1389
|
"stage": "test",
|
|
@@ -1422,14 +1446,18 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
1422
1446
|
],
|
|
1423
1447
|
},
|
|
1424
1448
|
"script": [
|
|
1449
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1450
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1451
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1452
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1425
1453
|
"cd app",
|
|
1426
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1427
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1454
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1428
1455
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1429
1456
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1430
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1457
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1458
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1431
1459
|
"yarn install --immutable",
|
|
1432
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1460
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1433
1461
|
"yarn lint",
|
|
1434
1462
|
],
|
|
1435
1463
|
"stage": "test",
|
|
@@ -1518,18 +1546,18 @@ GRAPHQL_URL=https://pan-test-app-review-mr1234-api-unknown-host.example.com/grap
|
|
|
1518
1546
|
_ALL_ENV_VAR_KEYS=["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INFO_BUILD_TIME","BUILD_INFO_CURRENT_VERSION","HOST","ROOT_URL","HOST_CANONICAL","ROOT_URL_INTERNAL","APP_STORE_CONNECT_API_KEY_CONTENT","APP_STORE_CONNECT_ISSUER_ID","APP_STORE_CONNECT_API_KEY_ID","GRAPHQL_URL"]
|
|
1519
1547
|
EOF",
|
|
1520
1548
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > app/__build_info.json",
|
|
1521
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1549
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1522
1550
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1523
1551
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1524
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1552
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1525
1553
|
"cd app",
|
|
1526
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1527
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1554
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1528
1555
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1529
1556
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1530
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1557
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1558
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1531
1559
|
"yarn install --immutable",
|
|
1532
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1560
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1533
1561
|
"bundle config set --local path 'vendor/ruby'",
|
|
1534
1562
|
"gem install bundler",
|
|
1535
1563
|
"bundle install",
|
|
@@ -1710,14 +1738,18 @@ EOF",
|
|
|
1710
1738
|
],
|
|
1711
1739
|
},
|
|
1712
1740
|
"script": [
|
|
1741
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1742
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1743
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1744
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1713
1745
|
"cd app",
|
|
1714
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1715
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1746
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1716
1747
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1717
1748
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1718
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1749
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1750
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1719
1751
|
"yarn install --immutable",
|
|
1720
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1752
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1721
1753
|
"yarn test",
|
|
1722
1754
|
],
|
|
1723
1755
|
"stage": "test",
|
|
@@ -1875,18 +1907,18 @@ EOF",
|
|
|
1875
1907
|
},
|
|
1876
1908
|
"script": [
|
|
1877
1909
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
1878
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1910
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1879
1911
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1880
1912
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1881
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1913
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1882
1914
|
"cd api",
|
|
1883
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1884
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1915
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1885
1916
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1886
1917
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1887
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1918
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1919
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1888
1920
|
"yarn install --immutable",
|
|
1889
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1921
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1890
1922
|
"yarn build",
|
|
1891
1923
|
],
|
|
1892
1924
|
"stage": "build",
|
|
@@ -1959,18 +1991,18 @@ EOF",
|
|
|
1959
1991
|
},
|
|
1960
1992
|
"script": [
|
|
1961
1993
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
1962
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1994
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1963
1995
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1964
1996
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1965
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1997
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1966
1998
|
"cd api",
|
|
1967
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1968
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1999
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1969
2000
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1970
2001
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1971
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
2002
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
2003
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1972
2004
|
"yarn install --immutable",
|
|
1973
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
2005
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1974
2006
|
"yarn build",
|
|
1975
2007
|
],
|
|
1976
2008
|
"stage": "build",
|
|
@@ -2590,18 +2622,18 @@ GRAPHQL_URL=https://pan-test-app-prod-api-unknown-host.example.com/graphql
|
|
|
2590
2622
|
_ALL_ENV_VAR_KEYS=["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INFO_BUILD_TIME","BUILD_INFO_CURRENT_VERSION","HOST","ROOT_URL","HOST_CANONICAL","ROOT_URL_INTERNAL","APP_STORE_CONNECT_API_KEY_CONTENT","APP_STORE_CONNECT_ISSUER_ID","APP_STORE_CONNECT_API_KEY_ID","GRAPHQL_URL"]
|
|
2591
2623
|
EOF",
|
|
2592
2624
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > app/__build_info.json",
|
|
2593
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
2625
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
2594
2626
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
2595
2627
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
2596
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
2628
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
2597
2629
|
"cd app",
|
|
2598
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
2599
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
2630
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
2600
2631
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
2601
2632
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
2602
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
2633
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
2634
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
2603
2635
|
"yarn install --immutable",
|
|
2604
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
2636
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
2605
2637
|
"bundle config set --local path 'vendor/ruby'",
|
|
2606
2638
|
"gem install bundler",
|
|
2607
2639
|
"bundle install",
|
|
@@ -2711,18 +2743,18 @@ GRAPHQL_URL=https://pan-test-app-stage-api-unknown-host.example.com/graphql
|
|
|
2711
2743
|
_ALL_ENV_VAR_KEYS=["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INFO_BUILD_TIME","BUILD_INFO_CURRENT_VERSION","HOST","ROOT_URL","HOST_CANONICAL","ROOT_URL_INTERNAL","APP_STORE_CONNECT_API_KEY_CONTENT","APP_STORE_CONNECT_ISSUER_ID","APP_STORE_CONNECT_API_KEY_ID","GRAPHQL_URL"]
|
|
2712
2744
|
EOF",
|
|
2713
2745
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > app/__build_info.json",
|
|
2714
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
2746
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
2715
2747
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
2716
2748
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
2717
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
2749
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
2718
2750
|
"cd app",
|
|
2719
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
2720
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
2751
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
2721
2752
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
2722
2753
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
2723
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
2754
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
2755
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
2724
2756
|
"yarn install --immutable",
|
|
2725
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
2757
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
2726
2758
|
"bundle config set --local path 'vendor/ruby'",
|
|
2727
2759
|
"gem install bundler",
|
|
2728
2760
|
"bundle install",
|