@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
|
@@ -68,10 +68,10 @@ exports[`matches snapshot 1`] = `
|
|
|
68
68
|
},
|
|
69
69
|
"script": [
|
|
70
70
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
71
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
71
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
72
72
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
73
73
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
74
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
74
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
75
75
|
"cd www",
|
|
76
76
|
],
|
|
77
77
|
"services": [
|
|
@@ -576,10 +576,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
576
576
|
},
|
|
577
577
|
"script": [
|
|
578
578
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
579
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
579
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
580
580
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
581
581
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
582
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
582
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
583
583
|
"cd www",
|
|
584
584
|
],
|
|
585
585
|
"services": [
|
|
@@ -1051,10 +1051,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
1051
1051
|
},
|
|
1052
1052
|
"script": [
|
|
1053
1053
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
1054
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1054
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1055
1055
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1056
1056
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1057
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1057
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1058
1058
|
"cd www",
|
|
1059
1059
|
],
|
|
1060
1060
|
"services": [
|
|
@@ -1111,10 +1111,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
1111
1111
|
},
|
|
1112
1112
|
"script": [
|
|
1113
1113
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
1114
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1114
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1115
1115
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1116
1116
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1117
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1117
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1118
1118
|
"cd www",
|
|
1119
1119
|
],
|
|
1120
1120
|
"services": [
|
|
@@ -29,10 +29,10 @@ exports[`matches snapshot 1`] = `
|
|
|
29
29
|
},
|
|
30
30
|
"script": [
|
|
31
31
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
32
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
32
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
33
33
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
34
34
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
35
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
35
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
36
36
|
"cd www",
|
|
37
37
|
],
|
|
38
38
|
"stage": "build",
|
|
@@ -398,10 +398,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
398
398
|
},
|
|
399
399
|
"script": [
|
|
400
400
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
401
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
401
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
402
402
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
403
403
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
404
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
404
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
405
405
|
"cd www",
|
|
406
406
|
],
|
|
407
407
|
"stage": "build",
|
|
@@ -773,10 +773,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
773
773
|
},
|
|
774
774
|
"script": [
|
|
775
775
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
776
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
776
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
777
777
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
778
778
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
779
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
779
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
780
780
|
"cd www",
|
|
781
781
|
],
|
|
782
782
|
"stage": "build",
|
|
@@ -825,10 +825,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
825
825
|
},
|
|
826
826
|
"script": [
|
|
827
827
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
828
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
828
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
829
829
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
830
830
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
831
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
831
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
832
832
|
"cd www",
|
|
833
833
|
],
|
|
834
834
|
"stage": "build",
|
|
@@ -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 www",
|
|
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"}' > www/__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 www",
|
|
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",
|
|
@@ -380,14 +384,18 @@ COPY --chown=node:node .yarn /app/.yarn",
|
|
|
380
384
|
],
|
|
381
385
|
},
|
|
382
386
|
"script": [
|
|
387
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
388
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
389
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
390
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
383
391
|
"cd www",
|
|
384
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
385
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
392
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
386
393
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
387
394
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
388
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
395
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
396
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
389
397
|
"yarn install --immutable",
|
|
390
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
398
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
391
399
|
"yarn test",
|
|
392
400
|
],
|
|
393
401
|
"stage": "test",
|
|
@@ -523,14 +531,18 @@ COPY --chown=node:node .yarn /app/.yarn",
|
|
|
523
531
|
],
|
|
524
532
|
},
|
|
525
533
|
"script": [
|
|
534
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
535
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
536
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
537
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
526
538
|
"cd www",
|
|
527
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
528
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
539
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
529
540
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
530
541
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
531
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
542
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
543
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
532
544
|
"yarn install --immutable",
|
|
533
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
545
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
534
546
|
"yarn lint",
|
|
535
547
|
],
|
|
536
548
|
"stage": "test",
|
|
@@ -590,18 +602,18 @@ COPY --chown=node:node .yarn /app/.yarn",
|
|
|
590
602
|
},
|
|
591
603
|
"script": [
|
|
592
604
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
593
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
605
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
594
606
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
595
607
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
596
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
608
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
597
609
|
"cd www",
|
|
598
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
599
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
610
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
600
611
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
601
612
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
602
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
613
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
614
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
603
615
|
"yarn install --immutable",
|
|
604
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
616
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
605
617
|
"yarn build",
|
|
606
618
|
],
|
|
607
619
|
"stage": "build",
|
|
@@ -870,14 +882,18 @@ COPY --chown=node:node .yarn /app/.yarn",
|
|
|
870
882
|
],
|
|
871
883
|
},
|
|
872
884
|
"script": [
|
|
885
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
886
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
887
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
888
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
873
889
|
"cd www",
|
|
874
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
875
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
890
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
876
891
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
877
892
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
878
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
893
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
894
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
879
895
|
"yarn install --immutable",
|
|
880
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
896
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
881
897
|
"yarn test",
|
|
882
898
|
],
|
|
883
899
|
"stage": "test",
|
|
@@ -1033,18 +1049,18 @@ COPY --chown=node:node .yarn /app/.yarn",
|
|
|
1033
1049
|
},
|
|
1034
1050
|
"script": [
|
|
1035
1051
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
1036
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1052
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1037
1053
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1038
1054
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1039
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1055
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1040
1056
|
"cd www",
|
|
1041
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1042
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1057
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1043
1058
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1044
1059
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1045
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1060
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1061
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1046
1062
|
"yarn install --immutable",
|
|
1047
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1063
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1048
1064
|
"yarn build",
|
|
1049
1065
|
],
|
|
1050
1066
|
"stage": "build",
|
|
@@ -1114,18 +1130,18 @@ COPY --chown=node:node .yarn /app/.yarn",
|
|
|
1114
1130
|
},
|
|
1115
1131
|
"script": [
|
|
1116
1132
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
|
|
1117
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1133
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1118
1134
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1119
1135
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1120
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1136
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1121
1137
|
"cd www",
|
|
1122
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
1123
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1138
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
1124
1139
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
1125
1140
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
1126
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1141
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
1142
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
1127
1143
|
"yarn install --immutable",
|
|
1128
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
1144
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
1129
1145
|
"yarn build",
|
|
1130
1146
|
],
|
|
1131
1147
|
"stage": "build",
|
|
@@ -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
|
],
|
|
116
120
|
"stage": "build",
|
|
117
121
|
"variables": {
|
|
@@ -180,18 +184,18 @@ exports[`matches snapshot 1`] = `
|
|
|
180
184
|
},
|
|
181
185
|
"script": [
|
|
182
186
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
183
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
187
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
184
188
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
185
189
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
186
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
190
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
187
191
|
"cd api",
|
|
188
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
189
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
192
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
190
193
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
191
194
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
192
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
195
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
196
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
193
197
|
"yarn install --immutable",
|
|
194
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
198
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
195
199
|
],
|
|
196
200
|
"stage": "build",
|
|
197
201
|
"variables": {
|
|
@@ -260,18 +264,18 @@ exports[`matches snapshot 1`] = `
|
|
|
260
264
|
},
|
|
261
265
|
"script": [
|
|
262
266
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
263
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
267
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
264
268
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
265
269
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
266
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
270
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
267
271
|
"cd api",
|
|
268
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
269
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
272
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
270
273
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
271
274
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
272
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
275
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
276
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
273
277
|
"yarn install --immutable",
|
|
274
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
278
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
275
279
|
],
|
|
276
280
|
"stage": "build",
|
|
277
281
|
"variables": {
|
|
@@ -345,14 +349,18 @@ exports[`matches snapshot 1`] = `
|
|
|
345
349
|
],
|
|
346
350
|
},
|
|
347
351
|
"script": [
|
|
352
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
353
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
354
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
355
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
348
356
|
"cd api",
|
|
349
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
350
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
357
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
351
358
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
352
359
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
353
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
360
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
361
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
354
362
|
"yarn install --immutable",
|
|
355
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
363
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
356
364
|
"yarn test",
|
|
357
365
|
],
|
|
358
366
|
"stage": "test",
|
|
@@ -548,14 +556,18 @@ exports[`matches snapshot 1`] = `
|
|
|
548
556
|
],
|
|
549
557
|
},
|
|
550
558
|
"script": [
|
|
559
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
560
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
561
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
562
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
551
563
|
"cd api",
|
|
552
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
553
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
564
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
554
565
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
555
566
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
556
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
567
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
568
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
557
569
|
"yarn install --immutable",
|
|
558
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
570
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
559
571
|
"yarn lint",
|
|
560
572
|
],
|
|
561
573
|
"stage": "test",
|
|
@@ -615,18 +627,18 @@ exports[`matches snapshot 1`] = `
|
|
|
615
627
|
},
|
|
616
628
|
"script": [
|
|
617
629
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
618
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
630
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
619
631
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
620
632
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
621
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
633
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
622
634
|
"cd api",
|
|
623
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
624
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
635
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
625
636
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
626
637
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
627
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
638
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
639
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
628
640
|
"yarn install --immutable",
|
|
629
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
641
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
630
642
|
],
|
|
631
643
|
"stage": "build",
|
|
632
644
|
"variables": {
|
|
@@ -700,14 +712,18 @@ exports[`matches snapshot 1`] = `
|
|
|
700
712
|
],
|
|
701
713
|
},
|
|
702
714
|
"script": [
|
|
715
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
716
|
+
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
717
|
+
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
718
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
703
719
|
"cd api",
|
|
704
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
705
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
720
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
706
721
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
707
722
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
708
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
723
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
724
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
709
725
|
"yarn install --immutable",
|
|
710
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
726
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
711
727
|
"yarn test",
|
|
712
728
|
],
|
|
713
729
|
"stage": "test",
|
|
@@ -877,18 +893,18 @@ exports[`matches snapshot 1`] = `
|
|
|
877
893
|
},
|
|
878
894
|
"script": [
|
|
879
895
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
880
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
896
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
881
897
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
882
898
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
883
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
899
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
884
900
|
"cd api",
|
|
885
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
886
|
-
"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"",
|
|
887
902
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
888
903
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
889
|
-
"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"",
|
|
890
906
|
"yarn install --immutable",
|
|
891
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
907
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
892
908
|
],
|
|
893
909
|
"stage": "build",
|
|
894
910
|
"variables": {
|
|
@@ -957,18 +973,18 @@ exports[`matches snapshot 1`] = `
|
|
|
957
973
|
},
|
|
958
974
|
"script": [
|
|
959
975
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
|
|
960
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
976
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
961
977
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
962
978
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
963
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
979
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
964
980
|
"cd api",
|
|
965
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
966
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
981
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
967
982
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
968
983
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
969
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
984
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
985
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
|
|
970
986
|
"yarn install --immutable",
|
|
971
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
987
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
|
|
972
988
|
],
|
|
973
989
|
"stage": "build",
|
|
974
990
|
"variables": {
|
|
@@ -29,10 +29,10 @@ exports[`matches snapshot 1`] = `
|
|
|
29
29
|
},
|
|
30
30
|
"script": [
|
|
31
31
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > ./__build_info.json",
|
|
32
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
32
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
33
33
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
34
34
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
35
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
35
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
36
36
|
"cd .",
|
|
37
37
|
"mvn package",
|
|
38
38
|
"cp -r target dist",
|
|
@@ -400,10 +400,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
400
400
|
},
|
|
401
401
|
"script": [
|
|
402
402
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > ./__build_info.json",
|
|
403
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
403
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
404
404
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
405
405
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
406
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
406
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
407
407
|
"cd .",
|
|
408
408
|
"mvn package",
|
|
409
409
|
"cp -r target dist",
|
|
@@ -777,10 +777,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
777
777
|
},
|
|
778
778
|
"script": [
|
|
779
779
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > ./__build_info.json",
|
|
780
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
780
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
781
781
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
782
782
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
783
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
783
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
784
784
|
"cd .",
|
|
785
785
|
"mvn package",
|
|
786
786
|
"cp -r target dist",
|
|
@@ -831,10 +831,10 @@ _ALL_ENV_VAR_KEYS: '["ENV_SHORT","APP_DIR","ENV_TYPE","BUILD_INFO_ID","BUILD_INF
|
|
|
831
831
|
},
|
|
832
832
|
"script": [
|
|
833
833
|
"echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > ./__build_info.json",
|
|
834
|
-
"echo -e "\\e[0Ksection_start:$(date +%s):
|
|
834
|
+
"echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
|
|
835
835
|
"if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
|
|
836
836
|
"if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
|
|
837
|
-
"echo -e "\\e[0Ksection_end:$(date +%s):
|
|
837
|
+
"echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
|
|
838
838
|
"cd .",
|
|
839
839
|
"mvn package",
|
|
840
840
|
"cp -r target dist",
|