@catladder/pipeline 3.40.1 โ†’ 3.42.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.
Files changed (81) hide show
  1. package/dist/build/base/index.js +2 -4
  2. package/dist/build/types.d.ts +0 -10
  3. package/dist/constants.js +1 -1
  4. package/dist/deploy/base/deploy.js +1 -6
  5. package/dist/deploy/cloudRun/createJobs/getCloudRunDeployScripts.js +2 -3
  6. package/dist/deploy/cloudRun/createJobs/getCloudRunStopScripts.js +2 -3
  7. package/dist/deploy/custom/deployJob.js +2 -3
  8. package/dist/deploy/kubernetes/deployJob.js +2 -3
  9. package/dist/tsconfig.tsbuildinfo +1 -1
  10. package/examples/__snapshots__/automatic-releases.test.ts.snap +0 -112
  11. package/examples/__snapshots__/cloud-run-execute-script-on-deploy.test.ts.snap +0 -112
  12. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +0 -112
  13. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +0 -112
  14. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +0 -112
  15. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +0 -112
  16. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +0 -112
  17. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +0 -112
  18. package/examples/__snapshots__/cloud-run-n8n.test.ts.snap +940 -0
  19. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +0 -112
  20. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +0 -112
  21. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +0 -112
  22. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +0 -112
  23. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +0 -112
  24. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +0 -112
  25. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +0 -112
  26. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +0 -112
  27. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +0 -112
  28. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +0 -112
  29. package/examples/__snapshots__/cloud-run-session-affinity.test.ts.snap +0 -112
  30. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +0 -112
  31. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +0 -112
  32. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +0 -112
  33. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +0 -112
  34. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +0 -112
  35. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +0 -336
  36. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +0 -224
  37. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +0 -112
  38. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +0 -112
  39. package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +0 -112
  40. package/examples/__snapshots__/custom-build-job.test.ts.snap +0 -112
  41. package/examples/__snapshots__/custom-deploy.test.ts.snap +0 -106
  42. package/examples/__snapshots__/custom-docker-file.test.ts.snap +0 -112
  43. package/examples/__snapshots__/custom-envs.test.ts.snap +0 -132
  44. package/examples/__snapshots__/custom-verify-job.test.ts.snap +0 -112
  45. package/examples/__snapshots__/git-submodule.test.ts.snap +0 -112
  46. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +0 -112
  47. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +0 -112
  48. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +0 -224
  49. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +0 -112
  50. package/examples/__snapshots__/local-dot-env.test.ts.snap +0 -112
  51. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +0 -112
  52. package/examples/__snapshots__/modify-generated-files.test.ts.snap +0 -88
  53. package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +0 -88
  54. package/examples/__snapshots__/multiline-var.test.ts.snap +0 -336
  55. package/examples/__snapshots__/native-app.test.ts.snap +0 -216
  56. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +0 -112
  57. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +0 -112
  58. package/examples/__snapshots__/override-secrets.test.ts.snap +0 -112
  59. package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +0 -112
  60. package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +0 -112
  61. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +0 -336
  62. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +0 -208
  63. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +0 -224
  64. package/examples/__snapshots__/workspace-api-www.test.ts.snap +0 -224
  65. package/examples/{custom-sbom-java.test.ts โ†’ cloud-run-n8n.test.ts} +2 -2
  66. package/examples/cloud-run-n8n.ts +62 -0
  67. package/package.json +1 -1
  68. package/src/build/base/index.ts +0 -4
  69. package/src/build/types.ts +0 -13
  70. package/src/deploy/base/deploy.ts +0 -5
  71. package/src/deploy/cloudRun/createJobs/getCloudRunDeployScripts.ts +0 -2
  72. package/src/deploy/cloudRun/createJobs/getCloudRunStopScripts.ts +0 -2
  73. package/src/deploy/custom/deployJob.ts +2 -9
  74. package/src/deploy/kubernetes/deployJob.ts +3 -10
  75. package/dist/build/sbom.d.ts +0 -5
  76. package/dist/build/sbom.js +0 -35
  77. package/dist/deploy/sbom.d.ts +0 -4
  78. package/dist/deploy/sbom.js +0 -21
  79. package/examples/custom-sbom-java.ts +0 -38
  80. package/src/build/sbom.ts +0 -53
  81. package/src/deploy/sbom.ts +0 -34
@@ -283,28 +283,6 @@ before_script:
283
283
  needs: []
284
284
  retry: *a1
285
285
  interruptible: true
286
- 'api ๐Ÿงพ sbom | dev ':
287
- stage: build
288
- image:
289
- name: aquasec/trivy:0.58.2
290
- entrypoint:
291
- - ''
292
- variables: {}
293
- script:
294
- - collapseable_section_start "injectvars" "Injecting variables"
295
- - collapseable_section_end "injectvars"
296
- - trivy fs --quiet --format cyclonedx --output "__sbom.json" api
297
- artifacts:
298
- paths:
299
- - __sbom.json
300
- rules:
301
- - when: never
302
- if: $CI_PIPELINE_SOURCE == "trigger"
303
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
304
- needs: []
305
- retry: *a1
306
- interruptible: true
307
- allow_failure: true
308
286
  'api ๐Ÿ›ก audit | review ':
309
287
  stage: test
310
288
  image: path/to/docker/jobs-default:the-version
@@ -496,28 +474,6 @@ before_script:
496
474
  needs: []
497
475
  retry: *a1
498
476
  interruptible: true
499
- 'api ๐Ÿงพ sbom | review ':
500
- stage: build
501
- image:
502
- name: aquasec/trivy:0.58.2
503
- entrypoint:
504
- - ''
505
- variables: {}
506
- script:
507
- - collapseable_section_start "injectvars" "Injecting variables"
508
- - collapseable_section_end "injectvars"
509
- - trivy fs --quiet --format cyclonedx --output "__sbom.json" api
510
- artifacts:
511
- paths:
512
- - __sbom.json
513
- rules:
514
- - when: never
515
- if: $CI_PIPELINE_SOURCE == "trigger"
516
- - if: $CI_MERGE_REQUEST_ID
517
- needs: []
518
- retry: *a1
519
- interruptible: true
520
- allow_failure: true
521
477
  'api ๐Ÿ”จ app | stage ':
522
478
  stage: build
523
479
  image: path/to/docker/jobs-default:the-version
@@ -594,28 +550,6 @@ before_script:
594
550
  needs: []
595
551
  retry: *a1
596
552
  interruptible: true
597
- 'api ๐Ÿงพ sbom | stage ':
598
- stage: build
599
- image:
600
- name: aquasec/trivy:0.58.2
601
- entrypoint:
602
- - ''
603
- variables: {}
604
- script:
605
- - collapseable_section_start "injectvars" "Injecting variables"
606
- - collapseable_section_end "injectvars"
607
- - trivy fs --quiet --format cyclonedx --output "__sbom.json" api
608
- artifacts:
609
- paths:
610
- - __sbom.json
611
- rules:
612
- - when: never
613
- if: $CI_PIPELINE_SOURCE == "trigger"
614
- - if: $CI_COMMIT_TAG
615
- needs: []
616
- retry: *a1
617
- interruptible: true
618
- allow_failure: true
619
553
  'api ๐Ÿ”จ app | prod ':
620
554
  stage: build
621
555
  image: path/to/docker/jobs-default:the-version
@@ -692,28 +626,6 @@ before_script:
692
626
  needs: []
693
627
  retry: *a1
694
628
  interruptible: true
695
- 'api ๐Ÿงพ sbom | prod ':
696
- stage: build
697
- image:
698
- name: aquasec/trivy:0.58.2
699
- entrypoint:
700
- - ''
701
- variables: {}
702
- script:
703
- - collapseable_section_start "injectvars" "Injecting variables"
704
- - collapseable_section_end "injectvars"
705
- - trivy fs --quiet --format cyclonedx --output "__sbom.json" api
706
- artifacts:
707
- paths:
708
- - __sbom.json
709
- rules:
710
- - when: never
711
- if: $CI_PIPELINE_SOURCE == "trigger"
712
- - if: $CI_COMMIT_TAG
713
- needs: []
714
- retry: *a1
715
- interruptible: true
716
- allow_failure: true
717
629
  create release:
718
630
  stage: release
719
631
  image: path/to/docker/semantic-release:the-version
@@ -283,28 +283,6 @@ before_script:
283
283
  needs: []
284
284
  retry: *a1
285
285
  interruptible: true
286
- 'api ๐Ÿงพ sbom | dev ':
287
- stage: build
288
- image:
289
- name: aquasec/trivy:0.58.2
290
- entrypoint:
291
- - ''
292
- variables: {}
293
- script:
294
- - collapseable_section_start "injectvars" "Injecting variables"
295
- - collapseable_section_end "injectvars"
296
- - trivy fs --quiet --format cyclonedx --output "__sbom.json" api
297
- artifacts:
298
- paths:
299
- - __sbom.json
300
- rules:
301
- - when: never
302
- if: $CI_PIPELINE_SOURCE == "trigger"
303
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
304
- needs: []
305
- retry: *a1
306
- interruptible: true
307
- allow_failure: true
308
286
  'api ๐Ÿ›ก audit | review ':
309
287
  stage: test
310
288
  image: path/to/docker/jobs-default:the-version
@@ -496,28 +474,6 @@ before_script:
496
474
  needs: []
497
475
  retry: *a1
498
476
  interruptible: true
499
- 'api ๐Ÿงพ sbom | review ':
500
- stage: build
501
- image:
502
- name: aquasec/trivy:0.58.2
503
- entrypoint:
504
- - ''
505
- variables: {}
506
- script:
507
- - collapseable_section_start "injectvars" "Injecting variables"
508
- - collapseable_section_end "injectvars"
509
- - trivy fs --quiet --format cyclonedx --output "__sbom.json" api
510
- artifacts:
511
- paths:
512
- - __sbom.json
513
- rules:
514
- - when: never
515
- if: $CI_PIPELINE_SOURCE == "trigger"
516
- - if: $CI_MERGE_REQUEST_ID
517
- needs: []
518
- retry: *a1
519
- interruptible: true
520
- allow_failure: true
521
477
  'api ๐Ÿ”จ app | stage ':
522
478
  stage: build
523
479
  image: path/to/docker/jobs-default:the-version
@@ -594,28 +550,6 @@ before_script:
594
550
  needs: []
595
551
  retry: *a1
596
552
  interruptible: true
597
- 'api ๐Ÿงพ sbom | stage ':
598
- stage: build
599
- image:
600
- name: aquasec/trivy:0.58.2
601
- entrypoint:
602
- - ''
603
- variables: {}
604
- script:
605
- - collapseable_section_start "injectvars" "Injecting variables"
606
- - collapseable_section_end "injectvars"
607
- - trivy fs --quiet --format cyclonedx --output "__sbom.json" api
608
- artifacts:
609
- paths:
610
- - __sbom.json
611
- rules:
612
- - when: never
613
- if: $CI_PIPELINE_SOURCE == "trigger"
614
- - if: $CI_COMMIT_TAG
615
- needs: []
616
- retry: *a1
617
- interruptible: true
618
- allow_failure: true
619
553
  'api ๐Ÿ”จ app | prod ':
620
554
  stage: build
621
555
  image: path/to/docker/jobs-default:the-version
@@ -692,28 +626,6 @@ before_script:
692
626
  needs: []
693
627
  retry: *a1
694
628
  interruptible: true
695
- 'api ๐Ÿงพ sbom | prod ':
696
- stage: build
697
- image:
698
- name: aquasec/trivy:0.58.2
699
- entrypoint:
700
- - ''
701
- variables: {}
702
- script:
703
- - collapseable_section_start "injectvars" "Injecting variables"
704
- - collapseable_section_end "injectvars"
705
- - trivy fs --quiet --format cyclonedx --output "__sbom.json" api
706
- artifacts:
707
- paths:
708
- - __sbom.json
709
- rules:
710
- - when: never
711
- if: $CI_PIPELINE_SOURCE == "trigger"
712
- - if: $CI_COMMIT_TAG
713
- needs: []
714
- retry: *a1
715
- interruptible: true
716
- allow_failure: true
717
629
  create release:
718
630
  stage: release
719
631
  image: path/to/docker/semantic-release:the-version