@catladder/pipeline 3.41.0 → 3.42.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 (54) hide show
  1. package/dist/build/node/testJob.js +1 -1
  2. package/dist/constants.js +1 -1
  3. package/dist/tsconfig.tsbuildinfo +1 -1
  4. package/examples/__snapshots__/automatic-releases.test.ts.snap +2 -2
  5. package/examples/__snapshots__/cloud-run-execute-script-on-deploy.test.ts.snap +2 -2
  6. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +2 -2
  7. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +2 -2
  8. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +2 -2
  9. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +2 -2
  10. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +2 -2
  11. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +2 -2
  12. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +2 -2
  13. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +2 -2
  14. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +2 -2
  15. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +2 -2
  16. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +2 -2
  17. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +2 -2
  18. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +2 -2
  19. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +2 -2
  20. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +2 -2
  21. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +2 -2
  22. package/examples/__snapshots__/cloud-run-session-affinity.test.ts.snap +2 -2
  23. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +2 -2
  24. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +2 -2
  25. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +2 -2
  26. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +2 -2
  27. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +6 -6
  28. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +4 -4
  29. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +2 -2
  30. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +2 -2
  31. package/examples/__snapshots__/custom-deploy.test.ts.snap +2 -2
  32. package/examples/__snapshots__/custom-docker-file.test.ts.snap +2 -2
  33. package/examples/__snapshots__/custom-envs.test.ts.snap +4 -4
  34. package/examples/__snapshots__/custom-verify-job.test.ts.snap +2 -2
  35. package/examples/__snapshots__/git-submodule.test.ts.snap +2 -2
  36. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +2 -2
  37. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +2 -2
  38. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +4 -4
  39. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +2 -2
  40. package/examples/__snapshots__/local-dot-env.test.ts.snap +2 -2
  41. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +2 -2
  42. package/examples/__snapshots__/modify-generated-files.test.ts.snap +2 -2
  43. package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +2 -2
  44. package/examples/__snapshots__/multiline-var.test.ts.snap +6 -6
  45. package/examples/__snapshots__/native-app.test.ts.snap +4 -4
  46. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +2 -2
  47. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +2 -2
  48. package/examples/__snapshots__/override-secrets.test.ts.snap +2 -2
  49. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +6 -6
  50. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +4 -4
  51. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +2 -2
  52. package/examples/__snapshots__/workspace-api-www.test.ts.snap +2 -2
  53. package/package.json +1 -1
  54. package/src/build/node/testJob.ts +1 -1
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="api"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd api
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -620,7 +620,7 @@ before_script:
620
620
  - export APP_PATH="api"
621
621
  - collapseable_section_end "injectvars"
622
622
  - cd api
623
- - yarn npm audit --environment production --level critical
623
+ - yarn npm audit --environment production --severity critical
624
624
  rules:
625
625
  - when: never
626
626
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="api"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd api
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -484,7 +484,7 @@ before_script:
484
484
  - export APP_PATH="api"
485
485
  - collapseable_section_end "injectvars"
486
486
  - cd api
487
- - yarn npm audit --environment production --level critical
487
+ - yarn npm audit --environment production --severity critical
488
488
  rules:
489
489
  - when: never
490
490
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="app"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd app
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -599,7 +599,7 @@ before_script:
599
599
  - export APP_PATH="app"
600
600
  - collapseable_section_end "injectvars"
601
601
  - cd app
602
- - yarn npm audit --environment production --level critical
602
+ - yarn npm audit --environment production --severity critical
603
603
  rules:
604
604
  - when: never
605
605
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="api"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd api
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -295,7 +295,7 @@ before_script:
295
295
  - export APP_PATH="api"
296
296
  - collapseable_section_end "injectvars"
297
297
  - cd api
298
- - yarn npm audit --environment production --level critical
298
+ - yarn npm audit --environment production --severity critical
299
299
  rules:
300
300
  - when: never
301
301
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="api"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd api
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -295,7 +295,7 @@ before_script:
295
295
  - export APP_PATH="api"
296
296
  - collapseable_section_end "injectvars"
297
297
  - cd api
298
- - yarn npm audit --environment production --level critical
298
+ - yarn npm audit --environment production --severity critical
299
299
  rules:
300
300
  - when: never
301
301
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="app1"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd app1
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -550,7 +550,7 @@ before_script:
550
550
  - export APP_PATH="app1"
551
551
  - collapseable_section_end "injectvars"
552
552
  - cd app1
553
- - yarn npm audit --environment production --level critical
553
+ - yarn npm audit --environment production --severity critical
554
554
  rules:
555
555
  - when: never
556
556
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -1652,7 +1652,7 @@ before_script:
1652
1652
  - export APP_PATH="app2"
1653
1653
  - collapseable_section_end "injectvars"
1654
1654
  - cd app2
1655
- - yarn npm audit --environment production --level critical
1655
+ - yarn npm audit --environment production --severity critical
1656
1656
  rules:
1657
1657
  - when: never
1658
1658
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -2106,7 +2106,7 @@ before_script:
2106
2106
  - export APP_PATH="app2"
2107
2107
  - collapseable_section_end "injectvars"
2108
2108
  - cd app2
2109
- - yarn npm audit --environment production --level critical
2109
+ - yarn npm audit --environment production --severity critical
2110
2110
  rules:
2111
2111
  - when: never
2112
2112
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -3268,7 +3268,7 @@ before_script:
3268
3268
  - export APP_PATH="kube"
3269
3269
  - collapseable_section_end "injectvars"
3270
3270
  - cd kube
3271
- - yarn npm audit --environment production --level critical
3271
+ - yarn npm audit --environment production --severity critical
3272
3272
  rules:
3273
3273
  - when: never
3274
3274
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -3948,7 +3948,7 @@ before_script:
3948
3948
  - export APP_PATH="kube"
3949
3949
  - collapseable_section_end "injectvars"
3950
3950
  - cd kube
3951
- - yarn npm audit --environment production --level critical
3951
+ - yarn npm audit --environment production --severity critical
3952
3952
  rules:
3953
3953
  - when: never
3954
3954
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -117,7 +117,7 @@ before_script:
117
117
  - export LANG="en_US.UTF-8"
118
118
  - collapseable_section_end "injectvars"
119
119
  - cd app
120
- - yarn npm audit --environment production --level critical
120
+ - yarn npm audit --environment production --severity critical
121
121
  rules:
122
122
  - when: never
123
123
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -390,7 +390,7 @@ before_script:
390
390
  - export LANG="en_US.UTF-8"
391
391
  - collapseable_section_end "injectvars"
392
392
  - cd app
393
- - yarn npm audit --environment production --level critical
393
+ - yarn npm audit --environment production --severity critical
394
394
  rules:
395
395
  - when: never
396
396
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -986,7 +986,7 @@ before_script:
986
986
  - export APP_PATH="api"
987
987
  - collapseable_section_end "injectvars"
988
988
  - cd api
989
- - yarn npm audit --environment production --level critical
989
+ - yarn npm audit --environment production --severity critical
990
990
  rules:
991
991
  - when: never
992
992
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -1372,7 +1372,7 @@ before_script:
1372
1372
  - export APP_PATH="api"
1373
1373
  - collapseable_section_end "injectvars"
1374
1374
  - cd api
1375
- - yarn npm audit --environment production --level critical
1375
+ - yarn npm audit --environment production --severity critical
1376
1376
  rules:
1377
1377
  - when: never
1378
1378
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="www"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd www
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -502,7 +502,7 @@ before_script:
502
502
  - export APP_PATH="www"
503
503
  - collapseable_section_end "injectvars"
504
504
  - cd www
505
- - yarn npm audit --environment production --level critical
505
+ - yarn npm audit --environment production --severity critical
506
506
  rules:
507
507
  - when: never
508
508
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="www"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd www
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -504,7 +504,7 @@ before_script:
504
504
  - export APP_PATH="www"
505
505
  - collapseable_section_end "injectvars"
506
506
  - cd www
507
- - yarn npm audit --environment production --level critical
507
+ - yarn npm audit --environment production --severity critical
508
508
  rules:
509
509
  - when: never
510
510
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="app"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd app
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -507,7 +507,7 @@ before_script:
507
507
  - export APP_PATH="app"
508
508
  - collapseable_section_end "injectvars"
509
509
  - cd app
510
- - yarn npm audit --environment production --level critical
510
+ - yarn npm audit --environment production --severity critical
511
511
  rules:
512
512
  - when: never
513
513
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="app1"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd app1
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -527,7 +527,7 @@ before_script:
527
527
  - export APP_PATH="app1"
528
528
  - collapseable_section_end "injectvars"
529
529
  - cd app1
530
- - yarn npm audit --environment production --level critical
530
+ - yarn npm audit --environment production --severity critical
531
531
  rules:
532
532
  - when: never
533
533
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -1560,7 +1560,7 @@ before_script:
1560
1560
  - export APP_PATH="app2"
1561
1561
  - collapseable_section_end "injectvars"
1562
1562
  - cd app2
1563
- - yarn npm audit --environment production --level critical
1563
+ - yarn npm audit --environment production --severity critical
1564
1564
  rules:
1565
1565
  - when: never
1566
1566
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -1981,7 +1981,7 @@ before_script:
1981
1981
  - export APP_PATH="app2"
1982
1982
  - collapseable_section_end "injectvars"
1983
1983
  - cd app2
1984
- - yarn npm audit --environment production --level critical
1984
+ - yarn npm audit --environment production --severity critical
1985
1985
  rules:
1986
1986
  - when: never
1987
1987
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -3044,7 +3044,7 @@ before_script:
3044
3044
  - export APP_PATH="kube"
3045
3045
  - collapseable_section_end "injectvars"
3046
3046
  - cd kube
3047
- - yarn npm audit --environment production --level critical
3047
+ - yarn npm audit --environment production --severity critical
3048
3048
  rules:
3049
3049
  - when: never
3050
3050
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -3545,7 +3545,7 @@ before_script:
3545
3545
  - export APP_PATH="kube"
3546
3546
  - collapseable_section_end "injectvars"
3547
3547
  - cd kube
3548
- - yarn npm audit --environment production --level critical
3548
+ - yarn npm audit --environment production --severity critical
3549
3549
  rules:
3550
3550
  - when: never
3551
3551
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="api"
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd api
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -342,7 +342,7 @@ before_script:
342
342
  - export APP_PATH="api"
343
343
  - collapseable_section_end "injectvars"
344
344
  - cd api
345
- - yarn npm audit --environment production --level critical
345
+ - yarn npm audit --environment production --severity critical
346
346
  rules:
347
347
  - when: never
348
348
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -814,7 +814,7 @@ before_script:
814
814
  - export APP_PATH="www"
815
815
  - collapseable_section_end "injectvars"
816
816
  - cd www
817
- - yarn npm audit --environment production --level critical
817
+ - yarn npm audit --environment production --severity critical
818
818
  rules:
819
819
  - when: never
820
820
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -1042,7 +1042,7 @@ before_script:
1042
1042
  - export APP_PATH="www"
1043
1043
  - collapseable_section_end "injectvars"
1044
1044
  - cd www
1045
- - yarn npm audit --environment production --level critical
1045
+ - yarn npm audit --environment production --severity critical
1046
1046
  rules:
1047
1047
  - when: never
1048
1048
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="."
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd .
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -314,7 +314,7 @@ before_script:
314
314
  - export APP_PATH="."
315
315
  - collapseable_section_end "injectvars"
316
316
  - cd .
317
- - yarn npm audit --environment production --level critical
317
+ - yarn npm audit --environment production --severity critical
318
318
  rules:
319
319
  - when: never
320
320
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -115,7 +115,7 @@ before_script:
115
115
  - export APP_PATH="."
116
116
  - collapseable_section_end "injectvars"
117
117
  - cd .
118
- - yarn npm audit --environment production --level critical
118
+ - yarn npm audit --environment production --severity critical
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -312,7 +312,7 @@ before_script:
312
312
  - export APP_PATH="."
313
313
  - collapseable_section_end "injectvars"
314
314
  - cd .
315
- - yarn npm audit --environment production --level critical
315
+ - yarn npm audit --environment production --severity critical
316
316
  rules:
317
317
  - when: never
318
318
  if: $CI_PIPELINE_SOURCE == "trigger"
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  }
54
54
  ],
55
55
  "license": "MIT",
56
- "version": "3.41.0",
56
+ "version": "3.42.1",
57
57
  "scripts": {
58
58
  "build:tsc": "yarn tsc",
59
59
  "build": "yarn build:compile && yarn build:inline-variables",
@@ -60,7 +60,7 @@ export const createNodeTestJobs = (
60
60
  ...(ensureArrayOrNull(buildConfig.audit?.command) ?? [
61
61
  context.packageManagerInfo.isClassic
62
62
  ? "yarn audit --level critical"
63
- : "yarn npm audit --environment production --level critical", // yarn 2
63
+ : "yarn npm audit --environment production --severity critical", // yarn 2
64
64
  ]),
65
65
  ],
66
66
  allow_failure: buildConfig.audit?.allowFailure ?? true,