@catladder/pipeline 1.153.1 → 1.154.1

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.
Files changed (153) hide show
  1. package/dist/build/artifacts/createBuildJobArtifact.d.ts +3 -0
  2. package/dist/build/artifacts/createBuildJobArtifact.js +97 -0
  3. package/dist/build/base/createAppBuildJob.d.ts +3 -3
  4. package/dist/build/base/createAppBuildJob.js +9 -15
  5. package/dist/build/base/index.d.ts +6 -2
  6. package/dist/build/base/index.js +14 -5
  7. package/dist/build/base/writeDotEnv.js +2 -1
  8. package/dist/build/custom/__tests__/testJob.test.js +1 -1
  9. package/dist/build/custom/buildJob.js +3 -10
  10. package/dist/build/docker.js +3 -3
  11. package/dist/build/index.d.ts +13 -6
  12. package/dist/build/index.js +29 -7
  13. package/dist/build/node/buildJob.d.ts +7 -2
  14. package/dist/build/node/buildJob.js +40 -33
  15. package/dist/build/node/cache.d.ts +2 -2
  16. package/dist/build/node/cache.js +8 -4
  17. package/dist/build/node/index.d.ts +2 -2
  18. package/dist/build/node/meteor.js +3 -6
  19. package/dist/build/node/testJob.d.ts +3 -2
  20. package/dist/build/node/testJob.js +9 -4
  21. package/dist/build/node/yarn.js +1 -1
  22. package/dist/build/rails/build.d.ts +1 -1
  23. package/dist/build/rails/build.js +7 -2
  24. package/dist/build/rails/test.d.ts +1 -1
  25. package/dist/build/rails/test.js +5 -0
  26. package/dist/build/sbom.js +3 -2
  27. package/dist/build/types.d.ts +48 -4
  28. package/dist/build/types.js +7 -1
  29. package/dist/bundles/catladder-gitlab/index.js +2 -2
  30. package/dist/constants.js +1 -1
  31. package/dist/context/createAllComponentsContext.d.ts +12 -0
  32. package/dist/context/createAllComponentsContext.js +159 -0
  33. package/dist/context/createComponentContext.d.ts +1 -5
  34. package/dist/context/createComponentContext.js +82 -20
  35. package/dist/context/createWorkspaceContext.d.ts +16 -0
  36. package/dist/context/createWorkspaceContext.js +173 -0
  37. package/dist/context/getBuildInfoVariables.d.ts +1 -1
  38. package/dist/context/getEnvironmentContext.d.ts +1 -1
  39. package/dist/context/getEnvironmentVariables.d.ts +2 -2
  40. package/dist/context/getEnvironmentVariables.js +5 -4
  41. package/dist/context/getLabels.js +4 -4
  42. package/dist/deploy/base/deploy.d.ts +1 -1
  43. package/dist/deploy/base/deploy.js +18 -5
  44. package/dist/deploy/cloudRun/artifactsRegistry.js +2 -2
  45. package/dist/deploy/cloudRun/createJobs/common.d.ts +4 -4
  46. package/dist/deploy/cloudRun/index.d.ts +2 -2
  47. package/dist/deploy/custom/index.d.ts +2 -2
  48. package/dist/deploy/dockerTag/index.d.ts +2 -2
  49. package/dist/deploy/index.d.ts +7 -7
  50. package/dist/deploy/kubernetes/additionalSecretKeys.d.ts +3 -1
  51. package/dist/deploy/kubernetes/cloudSql/index.js +1 -1
  52. package/dist/deploy/kubernetes/deployJob.js +2 -2
  53. package/dist/deploy/kubernetes/index.d.ts +2 -2
  54. package/dist/deploy/sbom.d.ts +1 -1
  55. package/dist/deploy/sbom.js +4 -3
  56. package/dist/deploy/types/index.d.ts +3 -3
  57. package/dist/pipeline/createAllJobs.d.ts +12 -10
  58. package/dist/pipeline/createAllJobs.js +94 -51
  59. package/dist/pipeline/createJobsForComponent.js +2 -3
  60. package/dist/pipeline/createJobsForWorkspace.d.ts +3 -0
  61. package/dist/pipeline/createJobsForWorkspace.js +12 -0
  62. package/dist/pipeline/createMainPipeline.js +26 -6
  63. package/dist/pipeline/gitlab/createGitlabJobs.d.ts +3 -16
  64. package/dist/pipeline/gitlab/createGitlabJobs.js +191 -73
  65. package/dist/pipeline/packageManager.d.ts +3 -2
  66. package/dist/pipeline/packageManager.js +43 -15
  67. package/dist/tsconfig.tsbuildinfo +1 -1
  68. package/dist/types/config.d.ts +5 -4
  69. package/dist/types/context.d.ts +77 -12
  70. package/dist/types/context.js +10 -1
  71. package/dist/types/environmentContext.d.ts +5 -6
  72. package/dist/types/jobs.d.ts +5 -0
  73. package/examples/__snapshots__/cloud-run-memory-limit.ts.snap +8 -8
  74. package/examples/__snapshots__/cloud-run-meteor-with-worker.ts.snap +8 -0
  75. package/examples/__snapshots__/cloud-run-no-cpu-throttling.ts.snap +8 -8
  76. package/examples/__snapshots__/cloud-run-no-service.ts.snap +8 -8
  77. package/examples/__snapshots__/cloud-run-non-public.ts.snap +8 -8
  78. package/examples/__snapshots__/cloud-run-post-stop-job.ts.snap +8 -8
  79. package/examples/__snapshots__/cloud-run-service-gen2.ts.snap +8 -8
  80. package/examples/__snapshots__/cloud-run-service-increase-timout.ts.snap +8 -8
  81. package/examples/__snapshots__/cloud-run-service-with-volumes.ts.snap +8 -8
  82. package/examples/__snapshots__/cloud-run-storybook.ts.snap +4 -8
  83. package/examples/__snapshots__/cloud-run-with-ngnix.ts.snap +4 -8
  84. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.ts.snap +16 -16
  85. package/examples/__snapshots__/cloud-run-with-sql.ts.snap +589 -1097
  86. package/examples/__snapshots__/cloud-run-with-worker.ts.snap +8 -8
  87. package/examples/__snapshots__/custom-build-job-with-tests.ts.snap +4 -0
  88. package/examples/__snapshots__/custom-build-job.ts.snap +4 -0
  89. package/examples/__snapshots__/custom-deploy.ts.snap +8 -8
  90. package/examples/__snapshots__/custom-envs.ts.snap +18 -12
  91. package/examples/__snapshots__/custom-sbom-java.ts.snap +4 -0
  92. package/examples/__snapshots__/kubernetes-application-customization.ts.snap +8 -8
  93. package/examples/__snapshots__/kubernetes-with-cloud-sql-legacy.ts.snap +8 -8
  94. package/examples/__snapshots__/kubernetes-with-cloud-sql.ts.snap +8 -8
  95. package/examples/__snapshots__/kubernetes-with-jobs.ts.snap +16 -16
  96. package/examples/__snapshots__/kubernetes-with-mongodb.ts.snap +8 -8
  97. package/examples/__snapshots__/local-dot-env.ts.snap +8 -8
  98. package/examples/__snapshots__/meteor-kubernetes.ts.snap +8 -0
  99. package/examples/__snapshots__/multiline-var.ts.snap +16 -16
  100. package/examples/__snapshots__/native-app.ts.snap +24 -16
  101. package/examples/__snapshots__/node-build-with-custom-image.ts.snap +8 -8
  102. package/examples/__snapshots__/node-build-with-docker-additions.ts.snap +8 -8
  103. package/examples/__snapshots__/wait-for-other-deploy.ts.snap +16 -16
  104. package/examples/cloud-run-with-sql.ts +9 -2
  105. package/package.json +1 -1
  106. package/src/build/artifacts/createBuildJobArtifact.ts +61 -0
  107. package/src/build/base/createAppBuildJob.ts +26 -22
  108. package/src/build/base/index.ts +31 -4
  109. package/src/build/base/writeDotEnv.ts +6 -2
  110. package/src/build/custom/__tests__/testJob.test.ts +4 -4
  111. package/src/build/custom/buildJob.ts +2 -13
  112. package/src/build/docker.ts +6 -7
  113. package/src/build/index.ts +39 -7
  114. package/src/build/node/buildJob.ts +68 -56
  115. package/src/build/node/cache.ts +17 -8
  116. package/src/build/node/index.ts +4 -2
  117. package/src/build/node/meteor.ts +3 -9
  118. package/src/build/node/testJob.ts +21 -7
  119. package/src/build/node/yarn.ts +2 -2
  120. package/src/build/rails/build.ts +14 -4
  121. package/src/build/rails/test.ts +9 -1
  122. package/src/build/sbom.ts +7 -2
  123. package/src/build/types.ts +68 -4
  124. package/src/context/createAllComponentsContext.ts +31 -0
  125. package/src/context/createComponentContext.ts +59 -20
  126. package/src/context/createWorkspaceContext.ts +56 -0
  127. package/src/context/getBuildInfoVariables.ts +2 -1
  128. package/src/context/getEnvironmentContext.ts +2 -2
  129. package/src/context/getEnvironmentVariables.ts +12 -6
  130. package/src/context/getLabels.ts +2 -2
  131. package/src/deploy/base/deploy.ts +33 -7
  132. package/src/deploy/cloudRun/artifactsRegistry.ts +2 -3
  133. package/src/deploy/cloudRun/createJobs/common.ts +4 -4
  134. package/src/deploy/cloudRun/index.ts +68 -67
  135. package/src/deploy/custom/index.ts +2 -2
  136. package/src/deploy/dockerTag/index.ts +8 -7
  137. package/src/deploy/index.ts +11 -9
  138. package/src/deploy/kubernetes/additionalSecretKeys.ts +3 -1
  139. package/src/deploy/kubernetes/cloudSql/index.ts +1 -1
  140. package/src/deploy/kubernetes/deployJob.ts +2 -2
  141. package/src/deploy/kubernetes/index.ts +42 -41
  142. package/src/deploy/sbom.ts +9 -4
  143. package/src/pipeline/createAllJobs.ts +56 -55
  144. package/src/pipeline/createChildPipeline.ts +1 -0
  145. package/src/pipeline/createJobsForComponent.ts +5 -4
  146. package/src/pipeline/createJobsForWorkspace.ts +12 -0
  147. package/src/pipeline/createMainPipeline.ts +38 -23
  148. package/src/pipeline/gitlab/createGitlabJobs.ts +283 -119
  149. package/src/pipeline/packageManager.ts +25 -9
  150. package/src/types/config.ts +4 -1
  151. package/src/types/context.ts +105 -11
  152. package/src/types/environmentContext.ts +6 -7
  153. package/src/types/jobs.ts +3 -1
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "api/__build_info.json",
65
- "api/dist",
66
65
  "api/.next",
66
+ "api/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "api/.next/cache/",
91
+ "api/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -637,8 +637,8 @@ EOF
637
637
  "expire_in": "1 day",
638
638
  "paths": [
639
639
  "api/__build_info.json",
640
- "api/dist",
641
640
  "api/.next",
641
+ "api/dist",
642
642
  ],
643
643
  "reports": {
644
644
  "junit": undefined,
@@ -663,7 +663,7 @@ EOF
663
663
  {
664
664
  "key": "api-next-cache",
665
665
  "paths": [
666
- "api/.next/cache/",
666
+ "api/.next/cache",
667
667
  ],
668
668
  "policy": "pull-push",
669
669
  },
@@ -1166,8 +1166,8 @@ EOF
1166
1166
  "expire_in": "1 day",
1167
1167
  "paths": [
1168
1168
  "api/__build_info.json",
1169
- "api/dist",
1170
1169
  "api/.next",
1170
+ "api/dist",
1171
1171
  ],
1172
1172
  "reports": {
1173
1173
  "junit": undefined,
@@ -1192,7 +1192,7 @@ EOF
1192
1192
  {
1193
1193
  "key": "api-next-cache",
1194
1194
  "paths": [
1195
- "api/.next/cache/",
1195
+ "api/.next/cache",
1196
1196
  ],
1197
1197
  "policy": "pull-push",
1198
1198
  },
@@ -1253,8 +1253,8 @@ EOF
1253
1253
  "expire_in": "1 day",
1254
1254
  "paths": [
1255
1255
  "api/__build_info.json",
1256
- "api/dist",
1257
1256
  "api/.next",
1257
+ "api/dist",
1258
1258
  ],
1259
1259
  "reports": {
1260
1260
  "junit": undefined,
@@ -1279,7 +1279,7 @@ EOF
1279
1279
  {
1280
1280
  "key": "api-next-cache",
1281
1281
  "paths": [
1282
- "api/.next/cache/",
1282
+ "api/.next/cache",
1283
1283
  ],
1284
1284
  "policy": "pull-push",
1285
1285
  },
@@ -55,6 +55,7 @@ exports[`matches snapshot 1`] = `
55
55
  "reports": {
56
56
  "junit": undefined,
57
57
  },
58
+ "when": "always",
58
59
  },
59
60
  "cache": [],
60
61
  "image": "foo",
@@ -580,6 +581,7 @@ EOF
580
581
  "reports": {
581
582
  "junit": undefined,
582
583
  },
584
+ "when": "always",
583
585
  },
584
586
  "cache": [],
585
587
  "image": "foo",
@@ -1071,6 +1073,7 @@ EOF
1071
1073
  "reports": {
1072
1074
  "junit": undefined,
1073
1075
  },
1076
+ "when": "always",
1074
1077
  },
1075
1078
  "cache": [],
1076
1079
  "image": "foo",
@@ -1134,6 +1137,7 @@ EOF
1134
1137
  "reports": {
1135
1138
  "junit": undefined,
1136
1139
  },
1140
+ "when": "always",
1137
1141
  },
1138
1142
  "cache": [],
1139
1143
  "image": "foo",
@@ -15,6 +15,7 @@ exports[`matches snapshot 1`] = `
15
15
  "reports": {
16
16
  "junit": undefined,
17
17
  },
18
+ "when": "always",
18
19
  },
19
20
  "cache": [],
20
21
  "image": "foo",
@@ -398,6 +399,7 @@ EOF
398
399
  "reports": {
399
400
  "junit": undefined,
400
401
  },
402
+ "when": "always",
401
403
  },
402
404
  "cache": [],
403
405
  "image": "foo",
@@ -787,6 +789,7 @@ EOF
787
789
  "reports": {
788
790
  "junit": undefined,
789
791
  },
792
+ "when": "always",
790
793
  },
791
794
  "cache": [],
792
795
  "image": "foo",
@@ -842,6 +845,7 @@ EOF
842
845
  "reports": {
843
846
  "junit": undefined,
844
847
  },
848
+ "when": "always",
845
849
  },
846
850
  "cache": [],
847
851
  "image": "foo",
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "www/__build_info.json",
65
- "www/dist",
66
65
  "www/.next",
66
+ "www/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "www-next-cache",
90
90
  "paths": [
91
- "www/.next/cache/",
91
+ "www/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -577,8 +577,8 @@ COPY --chown=node:node .yarn /app/.yarn"",
577
577
  "expire_in": "1 day",
578
578
  "paths": [
579
579
  "www/__build_info.json",
580
- "www/dist",
581
580
  "www/.next",
581
+ "www/dist",
582
582
  ],
583
583
  "reports": {
584
584
  "junit": undefined,
@@ -603,7 +603,7 @@ COPY --chown=node:node .yarn /app/.yarn"",
603
603
  {
604
604
  "key": "www-next-cache",
605
605
  "paths": [
606
- "www/.next/cache/",
606
+ "www/.next/cache",
607
607
  ],
608
608
  "policy": "pull-push",
609
609
  },
@@ -1040,8 +1040,8 @@ COPY --chown=node:node .yarn /app/.yarn"",
1040
1040
  "expire_in": "1 day",
1041
1041
  "paths": [
1042
1042
  "www/__build_info.json",
1043
- "www/dist",
1044
1043
  "www/.next",
1044
+ "www/dist",
1045
1045
  ],
1046
1046
  "reports": {
1047
1047
  "junit": undefined,
@@ -1066,7 +1066,7 @@ COPY --chown=node:node .yarn /app/.yarn"",
1066
1066
  {
1067
1067
  "key": "www-next-cache",
1068
1068
  "paths": [
1069
- "www/.next/cache/",
1069
+ "www/.next/cache",
1070
1070
  ],
1071
1071
  "policy": "pull-push",
1072
1072
  },
@@ -1123,8 +1123,8 @@ COPY --chown=node:node .yarn /app/.yarn"",
1123
1123
  "expire_in": "1 day",
1124
1124
  "paths": [
1125
1125
  "www/__build_info.json",
1126
- "www/dist",
1127
1126
  "www/.next",
1127
+ "www/dist",
1128
1128
  ],
1129
1129
  "reports": {
1130
1130
  "junit": undefined,
@@ -1149,7 +1149,7 @@ COPY --chown=node:node .yarn /app/.yarn"",
1149
1149
  {
1150
1150
  "key": "www-next-cache",
1151
1151
  "paths": [
1152
- "www/.next/cache/",
1152
+ "www/.next/cache",
1153
1153
  ],
1154
1154
  "policy": "pull-push",
1155
1155
  },
@@ -62,8 +62,8 @@ exports[`matches snapshot 1`] = `
62
62
  "expire_in": "1 day",
63
63
  "paths": [
64
64
  "api/__build_info.json",
65
- "api/dist",
66
65
  "api/.next",
66
+ "api/dist",
67
67
  ],
68
68
  "reports": {
69
69
  "junit": undefined,
@@ -88,7 +88,7 @@ exports[`matches snapshot 1`] = `
88
88
  {
89
89
  "key": "api-next-cache",
90
90
  "paths": [
91
- "api/.next/cache/",
91
+ "api/.next/cache",
92
92
  ],
93
93
  "policy": "pull-push",
94
94
  },
@@ -131,6 +131,7 @@ exports[`matches snapshot 1`] = `
131
131
  "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
132
132
  "yarn install --immutable",
133
133
  "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
134
+ "yarn build",
134
135
  ],
135
136
  "stage": "build",
136
137
  "variables": {
@@ -144,8 +145,8 @@ exports[`matches snapshot 1`] = `
144
145
  "expire_in": "1 day",
145
146
  "paths": [
146
147
  "api/__build_info.json",
147
- "api/dist",
148
148
  "api/.next",
149
+ "api/dist",
149
150
  ],
150
151
  "reports": {
151
152
  "junit": undefined,
@@ -170,7 +171,7 @@ exports[`matches snapshot 1`] = `
170
171
  {
171
172
  "key": "api-next-cache",
172
173
  "paths": [
173
- "api/.next/cache/",
174
+ "api/.next/cache",
174
175
  ],
175
176
  "policy": "pull-push",
176
177
  },
@@ -213,6 +214,7 @@ exports[`matches snapshot 1`] = `
213
214
  "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
214
215
  "yarn install --immutable",
215
216
  "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
217
+ "yarn build",
216
218
  ],
217
219
  "stage": "build",
218
220
  "variables": {
@@ -226,8 +228,8 @@ exports[`matches snapshot 1`] = `
226
228
  "expire_in": "1 day",
227
229
  "paths": [
228
230
  "api/__build_info.json",
229
- "api/dist",
230
231
  "api/.next",
232
+ "api/dist",
231
233
  ],
232
234
  "reports": {
233
235
  "junit": undefined,
@@ -252,7 +254,7 @@ exports[`matches snapshot 1`] = `
252
254
  {
253
255
  "key": "api-next-cache",
254
256
  "paths": [
255
- "api/.next/cache/",
257
+ "api/.next/cache",
256
258
  ],
257
259
  "policy": "pull-push",
258
260
  },
@@ -295,6 +297,7 @@ exports[`matches snapshot 1`] = `
295
297
  "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
296
298
  "yarn install --immutable",
297
299
  "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
300
+ "yarn build",
298
301
  ],
299
302
  "stage": "build",
300
303
  "variables": {
@@ -597,8 +600,8 @@ exports[`matches snapshot 1`] = `
597
600
  "expire_in": "1 day",
598
601
  "paths": [
599
602
  "api/__build_info.json",
600
- "api/dist",
601
603
  "api/.next",
604
+ "api/dist",
602
605
  ],
603
606
  "reports": {
604
607
  "junit": undefined,
@@ -623,7 +626,7 @@ exports[`matches snapshot 1`] = `
623
626
  {
624
627
  "key": "api-next-cache",
625
628
  "paths": [
626
- "api/.next/cache/",
629
+ "api/.next/cache",
627
630
  ],
628
631
  "policy": "pull-push",
629
632
  },
@@ -666,6 +669,7 @@ exports[`matches snapshot 1`] = `
666
669
  "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
667
670
  "yarn install --immutable",
668
671
  "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
672
+ "yarn build",
669
673
  ],
670
674
  "stage": "build",
671
675
  "variables": {
@@ -866,8 +870,8 @@ exports[`matches snapshot 1`] = `
866
870
  "expire_in": "1 day",
867
871
  "paths": [
868
872
  "api/__build_info.json",
869
- "api/dist",
870
873
  "api/.next",
874
+ "api/dist",
871
875
  ],
872
876
  "reports": {
873
877
  "junit": undefined,
@@ -892,7 +896,7 @@ exports[`matches snapshot 1`] = `
892
896
  {
893
897
  "key": "api-next-cache",
894
898
  "paths": [
895
- "api/.next/cache/",
899
+ "api/.next/cache",
896
900
  ],
897
901
  "policy": "pull-push",
898
902
  },
@@ -935,6 +939,7 @@ exports[`matches snapshot 1`] = `
935
939
  "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
936
940
  "yarn install --immutable",
937
941
  "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
942
+ "yarn build",
938
943
  ],
939
944
  "stage": "build",
940
945
  "variables": {
@@ -948,8 +953,8 @@ exports[`matches snapshot 1`] = `
948
953
  "expire_in": "1 day",
949
954
  "paths": [
950
955
  "api/__build_info.json",
951
- "api/dist",
952
956
  "api/.next",
957
+ "api/dist",
953
958
  ],
954
959
  "reports": {
955
960
  "junit": undefined,
@@ -974,7 +979,7 @@ exports[`matches snapshot 1`] = `
974
979
  {
975
980
  "key": "api-next-cache",
976
981
  "paths": [
977
- "api/.next/cache/",
982
+ "api/.next/cache",
978
983
  ],
979
984
  "policy": "pull-push",
980
985
  },
@@ -1017,6 +1022,7 @@ exports[`matches snapshot 1`] = `
1017
1022
  "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1018
1023
  "yarn install --immutable",
1019
1024
  "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1025
+ "yarn build",
1020
1026
  ],
1021
1027
  "stage": "build",
1022
1028
  "variables": {
@@ -15,6 +15,7 @@ exports[`matches snapshot 1`] = `
15
15
  "reports": {
16
16
  "junit": undefined,
17
17
  },
18
+ "when": "always",
18
19
  },
19
20
  "cache": [],
20
21
  "image": "maven:3-eclipse-temurin-11",
@@ -400,6 +401,7 @@ EOF
400
401
  "reports": {
401
402
  "junit": undefined,
402
403
  },
404
+ "when": "always",
403
405
  },
404
406
  "cache": [],
405
407
  "image": "maven:3-eclipse-temurin-11",
@@ -791,6 +793,7 @@ EOF
791
793
  "reports": {
792
794
  "junit": undefined,
793
795
  },
796
+ "when": "always",
794
797
  },
795
798
  "cache": [],
796
799
  "image": "maven:3-eclipse-temurin-11",
@@ -848,6 +851,7 @@ EOF
848
851
  "reports": {
849
852
  "junit": undefined,
850
853
  },
854
+ "when": "always",
851
855
  },
852
856
  "cache": [],
853
857
  "image": "maven:3-eclipse-temurin-11",
@@ -129,8 +129,8 @@ exports[`matches snapshot 1`] = `
129
129
  "expire_in": "1 day",
130
130
  "paths": [
131
131
  "api/__build_info.json",
132
- "api/dist",
133
132
  "api/.next",
133
+ "api/dist",
134
134
  ],
135
135
  "reports": {
136
136
  "junit": undefined,
@@ -155,7 +155,7 @@ exports[`matches snapshot 1`] = `
155
155
  {
156
156
  "key": "api-next-cache",
157
157
  "paths": [
158
- "api/.next/cache/",
158
+ "api/.next/cache",
159
159
  ],
160
160
  "policy": "pull-push",
161
161
  },
@@ -826,8 +826,8 @@ EOF
826
826
  "expire_in": "1 day",
827
827
  "paths": [
828
828
  "api/__build_info.json",
829
- "api/dist",
830
829
  "api/.next",
830
+ "api/dist",
831
831
  ],
832
832
  "reports": {
833
833
  "junit": undefined,
@@ -852,7 +852,7 @@ EOF
852
852
  {
853
853
  "key": "api-next-cache",
854
854
  "paths": [
855
- "api/.next/cache/",
855
+ "api/.next/cache",
856
856
  ],
857
857
  "policy": "pull-push",
858
858
  },
@@ -1539,8 +1539,8 @@ EOF
1539
1539
  "expire_in": "1 day",
1540
1540
  "paths": [
1541
1541
  "api/__build_info.json",
1542
- "api/dist",
1543
1542
  "api/.next",
1543
+ "api/dist",
1544
1544
  ],
1545
1545
  "reports": {
1546
1546
  "junit": undefined,
@@ -1565,7 +1565,7 @@ EOF
1565
1565
  {
1566
1566
  "key": "api-next-cache",
1567
1567
  "paths": [
1568
- "api/.next/cache/",
1568
+ "api/.next/cache",
1569
1569
  ],
1570
1570
  "policy": "pull-push",
1571
1571
  },
@@ -1625,8 +1625,8 @@ EOF
1625
1625
  "expire_in": "1 day",
1626
1626
  "paths": [
1627
1627
  "api/__build_info.json",
1628
- "api/dist",
1629
1628
  "api/.next",
1629
+ "api/dist",
1630
1630
  ],
1631
1631
  "reports": {
1632
1632
  "junit": undefined,
@@ -1651,7 +1651,7 @@ EOF
1651
1651
  {
1652
1652
  "key": "api-next-cache",
1653
1653
  "paths": [
1654
- "api/.next/cache/",
1654
+ "api/.next/cache",
1655
1655
  ],
1656
1656
  "policy": "pull-push",
1657
1657
  },
@@ -131,8 +131,8 @@ exports[`matches snapshot 1`] = `
131
131
  "expire_in": "1 day",
132
132
  "paths": [
133
133
  "api/__build_info.json",
134
- "api/dist",
135
134
  "api/.next",
135
+ "api/dist",
136
136
  ],
137
137
  "reports": {
138
138
  "junit": undefined,
@@ -157,7 +157,7 @@ exports[`matches snapshot 1`] = `
157
157
  {
158
158
  "key": "api-next-cache",
159
159
  "paths": [
160
- "api/.next/cache/",
160
+ "api/.next/cache",
161
161
  ],
162
162
  "policy": "pull-push",
163
163
  },
@@ -831,8 +831,8 @@ EOF
831
831
  "expire_in": "1 day",
832
832
  "paths": [
833
833
  "api/__build_info.json",
834
- "api/dist",
835
834
  "api/.next",
835
+ "api/dist",
836
836
  ],
837
837
  "reports": {
838
838
  "junit": undefined,
@@ -857,7 +857,7 @@ EOF
857
857
  {
858
858
  "key": "api-next-cache",
859
859
  "paths": [
860
- "api/.next/cache/",
860
+ "api/.next/cache",
861
861
  ],
862
862
  "policy": "pull-push",
863
863
  },
@@ -1549,8 +1549,8 @@ EOF
1549
1549
  "expire_in": "1 day",
1550
1550
  "paths": [
1551
1551
  "api/__build_info.json",
1552
- "api/dist",
1553
1552
  "api/.next",
1553
+ "api/dist",
1554
1554
  ],
1555
1555
  "reports": {
1556
1556
  "junit": undefined,
@@ -1575,7 +1575,7 @@ EOF
1575
1575
  {
1576
1576
  "key": "api-next-cache",
1577
1577
  "paths": [
1578
- "api/.next/cache/",
1578
+ "api/.next/cache",
1579
1579
  ],
1580
1580
  "policy": "pull-push",
1581
1581
  },
@@ -1637,8 +1637,8 @@ EOF
1637
1637
  "expire_in": "1 day",
1638
1638
  "paths": [
1639
1639
  "api/__build_info.json",
1640
- "api/dist",
1641
1640
  "api/.next",
1641
+ "api/dist",
1642
1642
  ],
1643
1643
  "reports": {
1644
1644
  "junit": undefined,
@@ -1663,7 +1663,7 @@ EOF
1663
1663
  {
1664
1664
  "key": "api-next-cache",
1665
1665
  "paths": [
1666
- "api/.next/cache/",
1666
+ "api/.next/cache",
1667
1667
  ],
1668
1668
  "policy": "pull-push",
1669
1669
  },
@@ -131,8 +131,8 @@ exports[`matches snapshot 1`] = `
131
131
  "expire_in": "1 day",
132
132
  "paths": [
133
133
  "api/__build_info.json",
134
- "api/dist",
135
134
  "api/.next",
135
+ "api/dist",
136
136
  ],
137
137
  "reports": {
138
138
  "junit": undefined,
@@ -157,7 +157,7 @@ exports[`matches snapshot 1`] = `
157
157
  {
158
158
  "key": "api-next-cache",
159
159
  "paths": [
160
- "api/.next/cache/",
160
+ "api/.next/cache",
161
161
  ],
162
162
  "policy": "pull-push",
163
163
  },
@@ -833,8 +833,8 @@ EOF
833
833
  "expire_in": "1 day",
834
834
  "paths": [
835
835
  "api/__build_info.json",
836
- "api/dist",
837
836
  "api/.next",
837
+ "api/dist",
838
838
  ],
839
839
  "reports": {
840
840
  "junit": undefined,
@@ -859,7 +859,7 @@ EOF
859
859
  {
860
860
  "key": "api-next-cache",
861
861
  "paths": [
862
- "api/.next/cache/",
862
+ "api/.next/cache",
863
863
  ],
864
864
  "policy": "pull-push",
865
865
  },
@@ -1553,8 +1553,8 @@ EOF
1553
1553
  "expire_in": "1 day",
1554
1554
  "paths": [
1555
1555
  "api/__build_info.json",
1556
- "api/dist",
1557
1556
  "api/.next",
1557
+ "api/dist",
1558
1558
  ],
1559
1559
  "reports": {
1560
1560
  "junit": undefined,
@@ -1579,7 +1579,7 @@ EOF
1579
1579
  {
1580
1580
  "key": "api-next-cache",
1581
1581
  "paths": [
1582
- "api/.next/cache/",
1582
+ "api/.next/cache",
1583
1583
  ],
1584
1584
  "policy": "pull-push",
1585
1585
  },
@@ -1641,8 +1641,8 @@ EOF
1641
1641
  "expire_in": "1 day",
1642
1642
  "paths": [
1643
1643
  "api/__build_info.json",
1644
- "api/dist",
1645
1644
  "api/.next",
1645
+ "api/dist",
1646
1646
  ],
1647
1647
  "reports": {
1648
1648
  "junit": undefined,
@@ -1667,7 +1667,7 @@ EOF
1667
1667
  {
1668
1668
  "key": "api-next-cache",
1669
1669
  "paths": [
1670
- "api/.next/cache/",
1670
+ "api/.next/cache",
1671
1671
  ],
1672
1672
  "policy": "pull-push",
1673
1673
  },