@catladder/pipeline 1.165.1 → 1.166.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.
- package/dist/build/base/createAppBuildJob.d.ts +3 -1
- package/dist/build/base/createAppBuildJob.js +6 -4
- package/dist/build/base/createBuildJobDefinition.d.ts +7 -0
- package/dist/build/base/createBuildJobDefinition.js +58 -0
- package/dist/build/cache/createJobCache.d.ts +6 -0
- package/dist/build/cache/createJobCache.js +109 -0
- package/dist/build/cache/getAllCacheConfigsFromConfig.d.ts +3 -0
- package/dist/build/cache/getAllCacheConfigsFromConfig.js +66 -0
- package/dist/build/cache/transformLegacyJobCache.d.ts +3 -0
- package/dist/build/cache/transformLegacyJobCache.js +29 -0
- package/dist/build/custom/buildJob.js +2 -45
- package/dist/build/custom/testJob.d.ts +1 -1
- package/dist/build/custom/testJob.js +12 -11
- package/dist/build/docker.d.ts +4 -3
- package/dist/build/docker.js +5 -2
- package/dist/build/node/buildJob.js +5 -17
- package/dist/build/node/cache.d.ts +6 -6
- package/dist/build/node/cache.js +9 -9
- package/dist/build/node/meteor.js +2 -3
- package/dist/build/node/testJob.js +6 -5
- package/dist/build/node/yarn.js +1 -2
- package/dist/build/rails/test.js +3 -3
- package/dist/build/sbom.js +1 -1
- package/dist/build/types.d.ts +43 -4
- package/dist/bundles/catladder-gitlab/index.js +2 -2
- package/dist/constants.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/gitlab-types.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/jobDefinition.d.ts +5 -0
- package/dist/types/jobDefinition.js +5 -0
- package/dist/types/jobs.d.ts +3 -2
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +7 -2
- package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +817 -1717
- package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +0 -4
- package/examples/__snapshots__/custom-build-job.test.ts.snap +0 -4
- package/examples/__snapshots__/custom-sbom-java.test.ts.snap +0 -4
- package/examples/__snapshots__/native-app.test.ts.snap +24 -20
- package/examples/__snapshots__/workspace-api-www-custom-cache.test.ts.snap +2374 -0
- package/examples/__snapshots__/workspace-api-www.test.ts.snap +2354 -0
- package/examples/cloud-run-with-sql.ts +1 -23
- package/examples/workspace-api-www-custom-cache.test.ts +11 -0
- package/examples/workspace-api-www-custom-cache.ts +51 -0
- package/examples/workspace-api-www.test.ts +11 -0
- package/examples/workspace-api-www.ts +45 -0
- package/package.json +1 -1
- package/src/build/base/createAppBuildJob.ts +6 -4
- package/src/build/base/createBuildJobDefinition.ts +38 -0
- package/src/build/cache/createJobCache.ts +85 -0
- package/src/build/cache/getAllCacheConfigsFromConfig.ts +33 -0
- package/src/build/cache/transformLegacyJobCache.ts +14 -0
- package/src/build/custom/buildJob.ts +2 -14
- package/src/build/custom/testJob.ts +7 -6
- package/src/build/docker.ts +5 -3
- package/src/build/node/buildJob.ts +6 -29
- package/src/build/node/cache.ts +21 -21
- package/src/build/node/meteor.ts +7 -8
- package/src/build/node/testJob.ts +7 -6
- package/src/build/node/yarn.ts +1 -1
- package/src/build/rails/test.ts +4 -4
- package/src/build/sbom.ts +2 -2
- package/src/build/types.ts +54 -4
- package/src/types/gitlab-types.ts +2 -2
- package/src/types/index.ts +1 -0
- package/src/types/jobDefinition.ts +9 -0
- package/src/types/jobs.ts +5 -8
- package/src/utils/index.ts +4 -1
|
@@ -168,7 +168,6 @@ www 🧪 test:
|
|
|
168
168
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
169
169
|
- echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"
|
|
170
170
|
- cd www
|
|
171
|
-
cache: []
|
|
172
171
|
artifacts:
|
|
173
172
|
paths:
|
|
174
173
|
- www/__build_info.json
|
|
@@ -434,7 +433,6 @@ www 🧪 test:
|
|
|
434
433
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
435
434
|
- echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"
|
|
436
435
|
- cd www
|
|
437
|
-
cache: []
|
|
438
436
|
artifacts:
|
|
439
437
|
paths:
|
|
440
438
|
- www/__build_info.json
|
|
@@ -696,7 +694,6 @@ www 🧪 test:
|
|
|
696
694
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
697
695
|
- echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"
|
|
698
696
|
- cd www
|
|
699
|
-
cache: []
|
|
700
697
|
artifacts:
|
|
701
698
|
paths:
|
|
702
699
|
- www/__build_info.json
|
|
@@ -945,7 +942,6 @@ www 🧪 test:
|
|
|
945
942
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
946
943
|
- echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"
|
|
947
944
|
- cd www
|
|
948
|
-
cache: []
|
|
949
945
|
artifacts:
|
|
950
946
|
paths:
|
|
951
947
|
- www/__build_info.json
|
|
@@ -77,7 +77,6 @@ variables:
|
|
|
77
77
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
78
78
|
- echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"
|
|
79
79
|
- cd www
|
|
80
|
-
cache: []
|
|
81
80
|
artifacts:
|
|
82
81
|
paths:
|
|
83
82
|
- www/__build_info.json
|
|
@@ -337,7 +336,6 @@ variables:
|
|
|
337
336
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
338
337
|
- echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"
|
|
339
338
|
- cd www
|
|
340
|
-
cache: []
|
|
341
339
|
artifacts:
|
|
342
340
|
paths:
|
|
343
341
|
- www/__build_info.json
|
|
@@ -589,7 +587,6 @@ variables:
|
|
|
589
587
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
590
588
|
- echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"
|
|
591
589
|
- cd www
|
|
592
|
-
cache: []
|
|
593
590
|
artifacts:
|
|
594
591
|
paths:
|
|
595
592
|
- www/__build_info.json
|
|
@@ -834,7 +831,6 @@ variables:
|
|
|
834
831
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
835
832
|
- echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"
|
|
836
833
|
- cd www
|
|
837
|
-
cache: []
|
|
838
834
|
artifacts:
|
|
839
835
|
paths:
|
|
840
836
|
- www/__build_info.json
|
|
@@ -79,7 +79,6 @@ variables:
|
|
|
79
79
|
- cd app
|
|
80
80
|
- mvn package
|
|
81
81
|
- cp -r target dist
|
|
82
|
-
cache: []
|
|
83
82
|
artifacts:
|
|
84
83
|
paths:
|
|
85
84
|
- app/__build_info.json
|
|
@@ -341,7 +340,6 @@ variables:
|
|
|
341
340
|
- cd app
|
|
342
341
|
- mvn package
|
|
343
342
|
- cp -r target dist
|
|
344
|
-
cache: []
|
|
345
343
|
artifacts:
|
|
346
344
|
paths:
|
|
347
345
|
- app/__build_info.json
|
|
@@ -595,7 +593,6 @@ variables:
|
|
|
595
593
|
- cd app
|
|
596
594
|
- mvn package
|
|
597
595
|
- cp -r target dist
|
|
598
|
-
cache: []
|
|
599
596
|
artifacts:
|
|
600
597
|
paths:
|
|
601
598
|
- app/__build_info.json
|
|
@@ -842,7 +839,6 @@ variables:
|
|
|
842
839
|
- cd app
|
|
843
840
|
- mvn package
|
|
844
841
|
- cp -r target dist
|
|
845
|
-
cache: []
|
|
846
842
|
artifacts:
|
|
847
843
|
paths:
|
|
848
844
|
- app/__build_info.json
|
|
@@ -226,11 +226,6 @@ app 🧪 test:
|
|
|
226
226
|
- bundle exec pod install --project-directory=ios
|
|
227
227
|
- bundle exec fastlane build
|
|
228
228
|
cache:
|
|
229
|
-
- key:
|
|
230
|
-
files:
|
|
231
|
-
- app/Gemfile.lock
|
|
232
|
-
paths:
|
|
233
|
-
- app/vendor
|
|
234
229
|
- key: app-yarn
|
|
235
230
|
policy: pull-push
|
|
236
231
|
paths:
|
|
@@ -243,6 +238,12 @@ app 🧪 test:
|
|
|
243
238
|
policy: pull-push
|
|
244
239
|
paths:
|
|
245
240
|
- app/.next/cache
|
|
241
|
+
- key:
|
|
242
|
+
files:
|
|
243
|
+
- app/Gemfile.lock
|
|
244
|
+
policy: pull-push
|
|
245
|
+
paths:
|
|
246
|
+
- app/vendor
|
|
246
247
|
artifacts:
|
|
247
248
|
paths:
|
|
248
249
|
- app/__build_info.json
|
|
@@ -408,11 +409,6 @@ app 🧪 test:
|
|
|
408
409
|
- bundle exec pod install --project-directory=ios
|
|
409
410
|
- bundle exec fastlane build
|
|
410
411
|
cache:
|
|
411
|
-
- key:
|
|
412
|
-
files:
|
|
413
|
-
- app/Gemfile.lock
|
|
414
|
-
paths:
|
|
415
|
-
- app/vendor
|
|
416
412
|
- key: app-yarn
|
|
417
413
|
policy: pull-push
|
|
418
414
|
paths:
|
|
@@ -425,6 +421,12 @@ app 🧪 test:
|
|
|
425
421
|
policy: pull-push
|
|
426
422
|
paths:
|
|
427
423
|
- app/.next/cache
|
|
424
|
+
- key:
|
|
425
|
+
files:
|
|
426
|
+
- app/Gemfile.lock
|
|
427
|
+
policy: pull-push
|
|
428
|
+
paths:
|
|
429
|
+
- app/vendor
|
|
428
430
|
artifacts:
|
|
429
431
|
paths:
|
|
430
432
|
- app/__build_info.json
|
|
@@ -584,11 +586,6 @@ app 🧪 test:
|
|
|
584
586
|
- bundle exec pod install --project-directory=ios
|
|
585
587
|
- bundle exec fastlane build
|
|
586
588
|
cache:
|
|
587
|
-
- key:
|
|
588
|
-
files:
|
|
589
|
-
- app/Gemfile.lock
|
|
590
|
-
paths:
|
|
591
|
-
- app/vendor
|
|
592
589
|
- key: app-yarn
|
|
593
590
|
policy: pull-push
|
|
594
591
|
paths:
|
|
@@ -601,6 +598,12 @@ app 🧪 test:
|
|
|
601
598
|
policy: pull-push
|
|
602
599
|
paths:
|
|
603
600
|
- app/.next/cache
|
|
601
|
+
- key:
|
|
602
|
+
files:
|
|
603
|
+
- app/Gemfile.lock
|
|
604
|
+
policy: pull-push
|
|
605
|
+
paths:
|
|
606
|
+
- app/vendor
|
|
604
607
|
artifacts:
|
|
605
608
|
paths:
|
|
606
609
|
- app/__build_info.json
|
|
@@ -754,11 +757,6 @@ app 🧪 test:
|
|
|
754
757
|
- bundle exec pod install --project-directory=ios
|
|
755
758
|
- bundle exec fastlane build
|
|
756
759
|
cache:
|
|
757
|
-
- key:
|
|
758
|
-
files:
|
|
759
|
-
- app/Gemfile.lock
|
|
760
|
-
paths:
|
|
761
|
-
- app/vendor
|
|
762
760
|
- key: app-yarn
|
|
763
761
|
policy: pull-push
|
|
764
762
|
paths:
|
|
@@ -771,6 +769,12 @@ app 🧪 test:
|
|
|
771
769
|
policy: pull-push
|
|
772
770
|
paths:
|
|
773
771
|
- app/.next/cache
|
|
772
|
+
- key:
|
|
773
|
+
files:
|
|
774
|
+
- app/Gemfile.lock
|
|
775
|
+
policy: pull-push
|
|
776
|
+
paths:
|
|
777
|
+
- app/vendor
|
|
774
778
|
artifacts:
|
|
775
779
|
paths:
|
|
776
780
|
- app/__build_info.json
|