@catladder/pipeline 2.7.5 → 2.7.7

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 (49) hide show
  1. package/dist/constants.js +1 -1
  2. package/dist/pipeline/createMainPipeline.js +2 -2
  3. package/dist/rules/index.d.ts +3 -0
  4. package/dist/rules/index.js +7 -2
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +8 -24
  7. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +8 -24
  8. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +8 -24
  9. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +8 -24
  10. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +8 -24
  11. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +8 -24
  12. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +8 -24
  13. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +8 -24
  14. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +8 -24
  15. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +8 -24
  16. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +8 -24
  17. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +8 -24
  18. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +8 -24
  19. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +5 -15
  20. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +8 -24
  21. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +16 -48
  22. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +8 -24
  23. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +8 -24
  24. package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +8 -24
  25. package/examples/__snapshots__/custom-build-job.test.ts.snap +5 -15
  26. package/examples/__snapshots__/custom-deploy.test.ts.snap +7 -21
  27. package/examples/__snapshots__/custom-envs.test.ts.snap +15 -45
  28. package/examples/__snapshots__/custom-sbom-java.test.ts.snap +5 -15
  29. package/examples/__snapshots__/custom-verify-job.test.ts.snap +9 -27
  30. package/examples/__snapshots__/git-submodule.test.ts.snap +8 -24
  31. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +9 -27
  32. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +9 -27
  33. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +18 -54
  34. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +9 -27
  35. package/examples/__snapshots__/local-dot-env.test.ts.snap +8 -24
  36. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +9 -27
  37. package/examples/__snapshots__/multiline-var.test.ts.snap +25 -75
  38. package/examples/__snapshots__/native-app.test.ts.snap +14 -42
  39. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +8 -24
  40. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +8 -24
  41. package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +8 -24
  42. package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +8 -24
  43. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +25 -75
  44. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +12 -36
  45. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +12 -36
  46. package/examples/__snapshots__/workspace-api-www.test.ts.snap +12 -36
  47. package/package.json +1 -1
  48. package/src/pipeline/createMainPipeline.ts +3 -4
  49. package/src/rules/index.ts +10 -1
@@ -89,9 +89,7 @@ api 🛡 audit:
89
89
  - cd api
90
90
  - yarn npm audit --environment production
91
91
  rules:
92
- - when: never
93
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
94
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
92
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
95
93
  - if: $CI_MERGE_REQUEST_ID
96
94
  needs: []
97
95
  retry: &a1
@@ -135,9 +133,7 @@ api 👮 lint:
135
133
  paths:
136
134
  - api/node_modules
137
135
  rules:
138
- - when: never
139
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
140
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
136
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
141
137
  - if: $CI_MERGE_REQUEST_ID
142
138
  needs: []
143
139
  retry: *a1
@@ -176,9 +172,7 @@ api 🧪 test:
176
172
  paths:
177
173
  - api/node_modules
178
174
  rules:
179
- - when: never
180
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
181
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
175
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
182
176
  - if: $CI_MERGE_REQUEST_ID
183
177
  needs: []
184
178
  retry: *a1
@@ -259,9 +253,7 @@ api 🧪 test:
259
253
  when: always
260
254
  reports: {}
261
255
  rules:
262
- - when: never
263
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
264
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
256
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
265
257
  needs: []
266
258
  retry: *a1
267
259
  interruptible: true
@@ -318,9 +310,7 @@ api 🧪 test:
318
310
  paths:
319
311
  - api/.yarn
320
312
  rules:
321
- - when: never
322
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
323
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
313
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
324
314
  needs:
325
315
  - 'api 🔨 app | dev '
326
316
  retry: *a1
@@ -337,9 +327,7 @@ api 🧪 test:
337
327
  paths:
338
328
  - __sbom.json
339
329
  rules:
340
- - when: never
341
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
342
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
330
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
343
331
  needs: []
344
332
  retry: *a1
345
333
  interruptible: true
@@ -433,10 +421,8 @@ api 🧪 test:
433
421
  reports:
434
422
  dotenv: gitlab_environment.env
435
423
  rules:
436
- - when: never
437
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
438
424
  - when: on_success
439
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
425
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
440
426
  needs:
441
427
  - job: api 👮 lint
442
428
  artifacts: false
@@ -479,10 +465,8 @@ api 🧪 test:
479
465
  rules:
480
466
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+\\.([0-9]+|x)\\.x$/
481
467
  when: on_success
482
- - when: never
483
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
484
468
  - when: manual
485
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
469
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
486
470
  needs: []
487
471
  retry: *a1
488
472
  interruptible: true
@@ -89,9 +89,7 @@ api 🛡 audit:
89
89
  - cd api
90
90
  - yarn npm audit --environment production
91
91
  rules:
92
- - when: never
93
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
94
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
92
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
95
93
  - if: $CI_MERGE_REQUEST_ID
96
94
  needs: []
97
95
  retry: &a1
@@ -135,9 +133,7 @@ api 👮 lint:
135
133
  paths:
136
134
  - api/node_modules
137
135
  rules:
138
- - when: never
139
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
140
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
136
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
141
137
  - if: $CI_MERGE_REQUEST_ID
142
138
  needs: []
143
139
  retry: *a1
@@ -176,9 +172,7 @@ api 🧪 test:
176
172
  paths:
177
173
  - api/node_modules
178
174
  rules:
179
- - when: never
180
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
181
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
175
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
182
176
  - if: $CI_MERGE_REQUEST_ID
183
177
  needs: []
184
178
  retry: *a1
@@ -261,9 +255,7 @@ api 🧪 test:
261
255
  when: always
262
256
  reports: {}
263
257
  rules:
264
- - when: never
265
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
266
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
258
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
267
259
  needs: []
268
260
  retry: *a1
269
261
  interruptible: true
@@ -320,9 +312,7 @@ api 🧪 test:
320
312
  paths:
321
313
  - api/.yarn
322
314
  rules:
323
- - when: never
324
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
325
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
315
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
326
316
  needs:
327
317
  - 'api 🔨 app | dev '
328
318
  retry: *a1
@@ -339,9 +329,7 @@ api 🧪 test:
339
329
  paths:
340
330
  - __sbom.json
341
331
  rules:
342
- - when: never
343
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
344
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
332
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
345
333
  needs: []
346
334
  retry: *a1
347
335
  interruptible: true
@@ -448,10 +436,8 @@ api 🧪 test:
448
436
  reports:
449
437
  dotenv: gitlab_environment.env
450
438
  rules:
451
- - when: never
452
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
453
439
  - when: on_success
454
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
440
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
455
441
  needs:
456
442
  - job: api 👮 lint
457
443
  artifacts: false
@@ -496,10 +482,8 @@ api 🧪 test:
496
482
  rules:
497
483
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+\\.([0-9]+|x)\\.x$/
498
484
  when: on_success
499
- - when: never
500
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
501
485
  - when: manual
502
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
486
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
503
487
  needs: []
504
488
  retry: *a1
505
489
  interruptible: true
@@ -89,9 +89,7 @@ api 🛡 audit:
89
89
  - cd api
90
90
  - yarn npm audit --environment production
91
91
  rules:
92
- - when: never
93
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
94
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
92
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
95
93
  - if: $CI_MERGE_REQUEST_ID
96
94
  needs: []
97
95
  retry: &a1
@@ -135,9 +133,7 @@ api 👮 lint:
135
133
  paths:
136
134
  - api/node_modules
137
135
  rules:
138
- - when: never
139
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
140
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
136
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
141
137
  - if: $CI_MERGE_REQUEST_ID
142
138
  needs: []
143
139
  retry: *a1
@@ -176,9 +172,7 @@ api 🧪 test:
176
172
  paths:
177
173
  - api/node_modules
178
174
  rules:
179
- - when: never
180
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
181
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
175
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
182
176
  - if: $CI_MERGE_REQUEST_ID
183
177
  needs: []
184
178
  retry: *a1
@@ -261,9 +255,7 @@ api 🧪 test:
261
255
  when: always
262
256
  reports: {}
263
257
  rules:
264
- - when: never
265
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
266
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
258
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
267
259
  needs: []
268
260
  retry: *a1
269
261
  interruptible: true
@@ -320,9 +312,7 @@ api 🧪 test:
320
312
  paths:
321
313
  - api/.yarn
322
314
  rules:
323
- - when: never
324
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
325
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
315
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
326
316
  needs:
327
317
  - 'api 🔨 app | dev '
328
318
  retry: *a1
@@ -339,9 +329,7 @@ api 🧪 test:
339
329
  paths:
340
330
  - __sbom.json
341
331
  rules:
342
- - when: never
343
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
344
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
332
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
345
333
  needs: []
346
334
  retry: *a1
347
335
  interruptible: true
@@ -448,10 +436,8 @@ api 🧪 test:
448
436
  reports:
449
437
  dotenv: gitlab_environment.env
450
438
  rules:
451
- - when: never
452
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
453
439
  - when: on_success
454
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
440
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
455
441
  needs:
456
442
  - job: api 👮 lint
457
443
  artifacts: false
@@ -496,10 +482,8 @@ api 🧪 test:
496
482
  rules:
497
483
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+\\.([0-9]+|x)\\.x$/
498
484
  when: on_success
499
- - when: never
500
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
501
485
  - when: manual
502
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
486
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
503
487
  needs: []
504
488
  retry: *a1
505
489
  interruptible: true
@@ -89,9 +89,7 @@ api 🛡 audit:
89
89
  - cd api
90
90
  - yarn npm audit --environment production
91
91
  rules:
92
- - when: never
93
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
94
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
92
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
95
93
  - if: $CI_MERGE_REQUEST_ID
96
94
  needs: []
97
95
  retry: &a1
@@ -135,9 +133,7 @@ api 👮 lint:
135
133
  paths:
136
134
  - api/node_modules
137
135
  rules:
138
- - when: never
139
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
140
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
136
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
141
137
  - if: $CI_MERGE_REQUEST_ID
142
138
  needs: []
143
139
  retry: *a1
@@ -176,9 +172,7 @@ api 🧪 test:
176
172
  paths:
177
173
  - api/node_modules
178
174
  rules:
179
- - when: never
180
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
181
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
175
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
182
176
  - if: $CI_MERGE_REQUEST_ID
183
177
  needs: []
184
178
  retry: *a1
@@ -259,9 +253,7 @@ api 🧪 test:
259
253
  when: always
260
254
  reports: {}
261
255
  rules:
262
- - when: never
263
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
264
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
256
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
265
257
  needs: []
266
258
  retry: *a1
267
259
  interruptible: true
@@ -318,9 +310,7 @@ api 🧪 test:
318
310
  paths:
319
311
  - api/.yarn
320
312
  rules:
321
- - when: never
322
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
323
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
313
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
324
314
  needs:
325
315
  - 'api 🔨 app | dev '
326
316
  retry: *a1
@@ -337,9 +327,7 @@ api 🧪 test:
337
327
  paths:
338
328
  - __sbom.json
339
329
  rules:
340
- - when: never
341
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
342
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
330
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
343
331
  needs: []
344
332
  retry: *a1
345
333
  interruptible: true
@@ -433,10 +421,8 @@ api 🧪 test:
433
421
  reports:
434
422
  dotenv: gitlab_environment.env
435
423
  rules:
436
- - when: never
437
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
438
424
  - when: on_success
439
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
425
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
440
426
  needs:
441
427
  - job: api 👮 lint
442
428
  artifacts: false
@@ -479,10 +465,8 @@ api 🧪 test:
479
465
  rules:
480
466
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+\\.([0-9]+|x)\\.x$/
481
467
  when: on_success
482
- - when: never
483
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
484
468
  - when: manual
485
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
469
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
486
470
  needs: []
487
471
  retry: *a1
488
472
  interruptible: true
@@ -89,9 +89,7 @@ api 🛡 audit:
89
89
  - cd api
90
90
  - yarn npm audit --environment production
91
91
  rules:
92
- - when: never
93
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
94
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
92
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
95
93
  - if: $CI_MERGE_REQUEST_ID
96
94
  needs: []
97
95
  retry: &a1
@@ -135,9 +133,7 @@ api 👮 lint:
135
133
  paths:
136
134
  - api/node_modules
137
135
  rules:
138
- - when: never
139
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
140
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
136
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
141
137
  - if: $CI_MERGE_REQUEST_ID
142
138
  needs: []
143
139
  retry: *a1
@@ -176,9 +172,7 @@ api 🧪 test:
176
172
  paths:
177
173
  - api/node_modules
178
174
  rules:
179
- - when: never
180
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
181
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
175
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
182
176
  - if: $CI_MERGE_REQUEST_ID
183
177
  needs: []
184
178
  retry: *a1
@@ -259,9 +253,7 @@ api 🧪 test:
259
253
  when: always
260
254
  reports: {}
261
255
  rules:
262
- - when: never
263
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
264
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
256
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
265
257
  needs: []
266
258
  retry: *a1
267
259
  interruptible: true
@@ -318,9 +310,7 @@ api 🧪 test:
318
310
  paths:
319
311
  - api/.yarn
320
312
  rules:
321
- - when: never
322
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
323
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
313
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
324
314
  needs:
325
315
  - 'api 🔨 app | dev '
326
316
  retry: *a1
@@ -337,9 +327,7 @@ api 🧪 test:
337
327
  paths:
338
328
  - __sbom.json
339
329
  rules:
340
- - when: never
341
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
342
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
330
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
343
331
  needs: []
344
332
  retry: *a1
345
333
  interruptible: true
@@ -433,10 +421,8 @@ api 🧪 test:
433
421
  reports:
434
422
  dotenv: gitlab_environment.env
435
423
  rules:
436
- - when: never
437
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
438
424
  - when: on_success
439
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
425
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
440
426
  needs:
441
427
  - job: api 👮 lint
442
428
  artifacts: false
@@ -479,10 +465,8 @@ api 🧪 test:
479
465
  rules:
480
466
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+\\.([0-9]+|x)\\.x$/
481
467
  when: on_success
482
- - when: never
483
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
484
468
  - when: manual
485
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
469
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
486
470
  needs: []
487
471
  retry: *a1
488
472
  interruptible: true
@@ -89,9 +89,7 @@ api 🛡 audit:
89
89
  - cd api
90
90
  - yarn npm audit --environment production
91
91
  rules:
92
- - when: never
93
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
94
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
92
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
95
93
  - if: $CI_MERGE_REQUEST_ID
96
94
  needs: []
97
95
  retry: &a1
@@ -135,9 +133,7 @@ api 👮 lint:
135
133
  paths:
136
134
  - api/node_modules
137
135
  rules:
138
- - when: never
139
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
140
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
136
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
141
137
  - if: $CI_MERGE_REQUEST_ID
142
138
  needs: []
143
139
  retry: *a1
@@ -176,9 +172,7 @@ api 🧪 test:
176
172
  paths:
177
173
  - api/node_modules
178
174
  rules:
179
- - when: never
180
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
181
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
175
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
182
176
  - if: $CI_MERGE_REQUEST_ID
183
177
  needs: []
184
178
  retry: *a1
@@ -261,9 +255,7 @@ api 🧪 test:
261
255
  when: always
262
256
  reports: {}
263
257
  rules:
264
- - when: never
265
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
266
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
258
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
267
259
  needs: []
268
260
  retry: *a1
269
261
  interruptible: true
@@ -320,9 +312,7 @@ api 🧪 test:
320
312
  paths:
321
313
  - api/.yarn
322
314
  rules:
323
- - when: never
324
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
325
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
315
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
326
316
  needs:
327
317
  - 'api 🔨 app | dev '
328
318
  retry: *a1
@@ -339,9 +329,7 @@ api 🧪 test:
339
329
  paths:
340
330
  - __sbom.json
341
331
  rules:
342
- - when: never
343
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
344
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
332
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
345
333
  needs: []
346
334
  retry: *a1
347
335
  interruptible: true
@@ -449,10 +437,8 @@ api 🧪 test:
449
437
  reports:
450
438
  dotenv: gitlab_environment.env
451
439
  rules:
452
- - when: never
453
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
454
440
  - when: on_success
455
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
441
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
456
442
  needs:
457
443
  - job: api 👮 lint
458
444
  artifacts: false
@@ -497,10 +483,8 @@ api 🧪 test:
497
483
  rules:
498
484
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+\\.([0-9]+|x)\\.x$/
499
485
  when: on_success
500
- - when: never
501
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
502
486
  - when: manual
503
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
487
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
504
488
  needs: []
505
489
  retry: *a1
506
490
  interruptible: true
@@ -151,9 +151,7 @@ before_script:
151
151
  when: always
152
152
  reports: {}
153
153
  rules:
154
- - when: never
155
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
156
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
154
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
157
155
  needs: []
158
156
  retry: &a1
159
157
  max: 2
@@ -214,9 +212,7 @@ before_script:
214
212
  paths:
215
213
  - app/.yarn
216
214
  rules:
217
- - when: never
218
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
219
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
215
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
220
216
  needs:
221
217
  - 'api 🔨 app | dev '
222
218
  retry: *a1
@@ -233,9 +229,7 @@ before_script:
233
229
  paths:
234
230
  - __sbom.json
235
231
  rules:
236
- - when: never
237
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
238
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
232
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
239
233
  needs: []
240
234
  retry: *a1
241
235
  interruptible: true
@@ -329,10 +323,8 @@ before_script:
329
323
  reports:
330
324
  dotenv: gitlab_environment.env
331
325
  rules:
332
- - when: never
333
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
334
326
  - when: on_success
335
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
327
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
336
328
  needs:
337
329
  - job: 'api 🔨 app | dev '
338
330
  artifacts: false
@@ -369,10 +361,8 @@ before_script:
369
361
  rules:
370
362
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+\\.([0-9]+|x)\\.x$/
371
363
  when: on_success
372
- - when: never
373
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
374
364
  - when: manual
375
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
365
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
376
366
  needs: []
377
367
  retry: *a1
378
368
  interruptible: true
@@ -89,9 +89,7 @@ api 🛡 audit:
89
89
  - cd app
90
90
  - yarn npm audit --environment production
91
91
  rules:
92
- - when: never
93
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
94
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
92
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
95
93
  - if: $CI_MERGE_REQUEST_ID
96
94
  needs: []
97
95
  retry: &a1
@@ -135,9 +133,7 @@ api 👮 lint:
135
133
  paths:
136
134
  - app/node_modules
137
135
  rules:
138
- - when: never
139
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
140
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
136
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
141
137
  - if: $CI_MERGE_REQUEST_ID
142
138
  needs: []
143
139
  retry: *a1
@@ -176,9 +172,7 @@ api 🧪 test:
176
172
  paths:
177
173
  - app/node_modules
178
174
  rules:
179
- - when: never
180
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
181
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
175
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
182
176
  - if: $CI_MERGE_REQUEST_ID
183
177
  needs: []
184
178
  retry: *a1
@@ -259,9 +253,7 @@ api 🧪 test:
259
253
  when: always
260
254
  reports: {}
261
255
  rules:
262
- - when: never
263
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
264
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
256
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
265
257
  needs: []
266
258
  retry: *a1
267
259
  interruptible: true
@@ -318,9 +310,7 @@ api 🧪 test:
318
310
  paths:
319
311
  - app/.yarn
320
312
  rules:
321
- - when: never
322
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
323
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
313
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
324
314
  needs:
325
315
  - 'api 🔨 app | dev '
326
316
  retry: *a1
@@ -337,9 +327,7 @@ api 🧪 test:
337
327
  paths:
338
328
  - __sbom.json
339
329
  rules:
340
- - when: never
341
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
342
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
330
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
343
331
  needs: []
344
332
  retry: *a1
345
333
  interruptible: true
@@ -433,10 +421,8 @@ api 🧪 test:
433
421
  reports:
434
422
  dotenv: gitlab_environment.env
435
423
  rules:
436
- - when: never
437
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
438
424
  - when: on_success
439
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
425
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
440
426
  needs:
441
427
  - job: api 👮 lint
442
428
  artifacts: false
@@ -479,10 +465,8 @@ api 🧪 test:
479
465
  rules:
480
466
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+\\.([0-9]+|x)\\.x$/
481
467
  when: on_success
482
- - when: never
483
- if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
484
468
  - when: manual
485
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
469
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
486
470
  needs: []
487
471
  retry: *a1
488
472
  interruptible: true