@catladder/pipeline 4.2.2 → 4.4.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 (68) hide show
  1. package/dist/constants.js +1 -1
  2. package/dist/pipeline/createMainPipeline.js +1 -1
  3. package/dist/pipeline/gitlab/createGitlabPipeline.js +1 -1
  4. package/dist/rules/index.d.ts +2 -2
  5. package/dist/rules/index.js +4 -4
  6. package/dist/tsconfig.tsbuildinfo +1 -1
  7. package/examples/__snapshots__/automatic-releases.test.ts.snap +8 -8
  8. package/examples/__snapshots__/cloud-run-execute-script-on-deploy.test.ts.snap +8 -8
  9. package/examples/__snapshots__/cloud-run-existing-image.test.ts.snap +3 -3
  10. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +8 -8
  11. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +8 -8
  12. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +8 -8
  13. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +8 -8
  14. package/examples/__snapshots__/cloud-run-llama.test.ts.snap +3 -3
  15. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +8 -8
  16. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +8 -8
  17. package/examples/__snapshots__/cloud-run-n8n.test.ts.snap +3 -3
  18. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +8 -8
  19. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +8 -8
  20. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +8 -8
  21. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +8 -8
  22. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +8 -8
  23. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +8 -8
  24. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +8 -8
  25. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +8 -8
  26. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +8 -8
  27. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +8 -8
  28. package/examples/__snapshots__/cloud-run-session-affinity.test.ts.snap +8 -8
  29. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +5 -5
  30. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +10 -10
  31. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +8 -8
  32. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +8 -8
  33. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +8 -8
  34. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +22 -22
  35. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +15 -15
  36. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +8 -8
  37. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +8 -8
  38. package/examples/__snapshots__/cloud-run-worker-pool.test.ts.snap +8 -8
  39. package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +8 -8
  40. package/examples/__snapshots__/custom-build-job.test.ts.snap +5 -5
  41. package/examples/__snapshots__/custom-deploy.test.ts.snap +7 -7
  42. package/examples/__snapshots__/custom-docker-file.test.ts.snap +8 -8
  43. package/examples/__snapshots__/custom-envs.test.ts.snap +13 -13
  44. package/examples/__snapshots__/custom-verify-job.test.ts.snap +9 -9
  45. package/examples/__snapshots__/git-submodule.test.ts.snap +8 -8
  46. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +9 -9
  47. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +9 -9
  48. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +17 -17
  49. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +9 -9
  50. package/examples/__snapshots__/local-dot-env.test.ts.snap +8 -8
  51. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +9 -9
  52. package/examples/__snapshots__/modify-generated-files.test.ts.snap +5 -5
  53. package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +5 -5
  54. package/examples/__snapshots__/multiline-var.test.ts.snap +23 -23
  55. package/examples/__snapshots__/native-app.test.ts.snap +13 -13
  56. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +8 -8
  57. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +8 -8
  58. package/examples/__snapshots__/override-secrets.test.ts.snap +8 -8
  59. package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +8 -8
  60. package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +8 -8
  61. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +23 -23
  62. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +11 -11
  63. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +11 -11
  64. package/examples/__snapshots__/workspace-api-www.test.ts.snap +11 -11
  65. package/package.json +1 -1
  66. package/src/pipeline/createMainPipeline.ts +2 -2
  67. package/src/pipeline/gitlab/createGitlabPipeline.ts +2 -2
  68. package/src/rules/index.ts +8 -4
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -277,7 +277,7 @@ before_script:
277
277
  rules:
278
278
  - when: never
279
279
  if: $CI_PIPELINE_SOURCE == "trigger"
280
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
280
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
281
281
  needs: []
282
282
  retry: *a1
283
283
  interruptible: true
@@ -338,7 +338,7 @@ before_script:
338
338
  rules:
339
339
  - when: never
340
340
  if: $CI_PIPELINE_SOURCE == "trigger"
341
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
341
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
342
342
  needs:
343
343
  - 'www 🔨 app | dev '
344
344
  retry: *a1
@@ -383,7 +383,7 @@ before_script:
383
383
  - when: never
384
384
  if: $CI_PIPELINE_SOURCE == "trigger"
385
385
  - when: on_success
386
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
386
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
387
387
  needs:
388
388
  - job: 'www 👮 lint | dev '
389
389
  artifacts: false
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -285,7 +285,7 @@ before_script:
285
285
  rules:
286
286
  - when: never
287
287
  if: $CI_PIPELINE_SOURCE == "trigger"
288
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
288
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
289
289
  needs: []
290
290
  retry: *a1
291
291
  interruptible: true
@@ -355,7 +355,7 @@ before_script:
355
355
  rules:
356
356
  - when: never
357
357
  if: $CI_PIPELINE_SOURCE == "trigger"
358
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
358
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
359
359
  needs:
360
360
  - 'www 🔨 app | dev '
361
361
  retry: *a1
@@ -452,7 +452,7 @@ before_script:
452
452
  - when: never
453
453
  if: $CI_PIPELINE_SOURCE == "trigger"
454
454
  - when: on_success
455
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
455
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
456
456
  needs:
457
457
  - job: 'www 👮 lint | dev '
458
458
  artifacts: false
@@ -492,7 +492,7 @@ before_script:
492
492
  - when: never
493
493
  if: $CI_PIPELINE_SOURCE == "trigger"
494
494
  - when: manual
495
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
495
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
496
496
  needs: []
497
497
  retry: *a1
498
498
  interruptible: true
@@ -81,7 +81,7 @@ workflow:
81
81
  variables:
82
82
  PIPELINE_ICON: 🐱📦
83
83
  PIPELINE_NAME: Release $CI_COMMIT_TAG
84
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
84
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
85
85
  variables:
86
86
  PIPELINE_ICON: 🐱🔨
87
87
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -135,7 +135,7 @@ before_script:
135
135
  rules:
136
136
  - when: never
137
137
  if: $CI_PIPELINE_SOURCE == "trigger"
138
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
138
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
139
139
  needs: []
140
140
  retry: &a1
141
141
  max: 2
@@ -178,7 +178,7 @@ before_script:
178
178
  rules:
179
179
  - when: never
180
180
  if: $CI_PIPELINE_SOURCE == "trigger"
181
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
181
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
182
182
  needs: []
183
183
  retry: *a1
184
184
  interruptible: true
@@ -217,7 +217,7 @@ before_script:
217
217
  rules:
218
218
  - when: never
219
219
  if: $CI_PIPELINE_SOURCE == "trigger"
220
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
220
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
221
221
  needs: []
222
222
  retry: *a1
223
223
  interruptible: true
@@ -293,7 +293,7 @@ before_script:
293
293
  rules:
294
294
  - when: never
295
295
  if: $CI_PIPELINE_SOURCE == "trigger"
296
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
296
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
297
297
  needs: []
298
298
  retry: *a1
299
299
  interruptible: true
@@ -313,7 +313,7 @@ before_script:
313
313
  rules:
314
314
  - when: never
315
315
  if: $CI_PIPELINE_SOURCE == "trigger"
316
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
316
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
317
317
  needs: []
318
318
  retry: *a1
319
319
  interruptible: true
@@ -355,7 +355,7 @@ before_script:
355
355
  rules:
356
356
  - when: never
357
357
  if: $CI_PIPELINE_SOURCE == "trigger"
358
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
358
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
359
359
  needs: []
360
360
  retry: *a1
361
361
  interruptible: true
@@ -394,7 +394,7 @@ before_script:
394
394
  rules:
395
395
  - when: never
396
396
  if: $CI_PIPELINE_SOURCE == "trigger"
397
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
397
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
398
398
  needs: []
399
399
  retry: *a1
400
400
  interruptible: true
@@ -470,7 +470,7 @@ before_script:
470
470
  rules:
471
471
  - when: never
472
472
  if: $CI_PIPELINE_SOURCE == "trigger"
473
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
473
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
474
474
  needs: []
475
475
  retry: *a1
476
476
  interruptible: true
@@ -490,7 +490,7 @@ before_script:
490
490
  rules:
491
491
  - when: never
492
492
  if: $CI_PIPELINE_SOURCE == "trigger"
493
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
493
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
494
494
  needs: []
495
495
  retry: *a1
496
496
  interruptible: true
@@ -532,7 +532,7 @@ before_script:
532
532
  rules:
533
533
  - when: never
534
534
  if: $CI_PIPELINE_SOURCE == "trigger"
535
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
535
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
536
536
  needs: []
537
537
  retry: *a1
538
538
  interruptible: true
@@ -571,7 +571,7 @@ before_script:
571
571
  rules:
572
572
  - when: never
573
573
  if: $CI_PIPELINE_SOURCE == "trigger"
574
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
574
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
575
575
  needs: []
576
576
  retry: *a1
577
577
  interruptible: true
@@ -647,7 +647,7 @@ before_script:
647
647
  rules:
648
648
  - when: never
649
649
  if: $CI_PIPELINE_SOURCE == "trigger"
650
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
650
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
651
651
  needs: []
652
652
  retry: *a1
653
653
  interruptible: true
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -285,7 +285,7 @@ before_script:
285
285
  rules:
286
286
  - when: never
287
287
  if: $CI_PIPELINE_SOURCE == "trigger"
288
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
288
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
289
289
  needs: []
290
290
  retry: *a1
291
291
  interruptible: true
@@ -346,7 +346,7 @@ before_script:
346
346
  rules:
347
347
  - when: never
348
348
  if: $CI_PIPELINE_SOURCE == "trigger"
349
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
349
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
350
350
  needs:
351
351
  - 'www 🔨 app | dev '
352
352
  retry: *a1
@@ -443,7 +443,7 @@ before_script:
443
443
  - when: never
444
444
  if: $CI_PIPELINE_SOURCE == "trigger"
445
445
  - when: on_success
446
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
446
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
447
447
  needs:
448
448
  - job: 'www 👮 lint | dev '
449
449
  artifacts: false
@@ -483,7 +483,7 @@ before_script:
483
483
  - when: never
484
484
  if: $CI_PIPELINE_SOURCE == "trigger"
485
485
  - when: manual
486
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
486
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
487
487
  needs: []
488
488
  retry: *a1
489
489
  interruptible: true
@@ -537,7 +537,7 @@ before_script:
537
537
  rules:
538
538
  - when: never
539
539
  if: $CI_PIPELINE_SOURCE == "trigger"
540
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
540
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
541
541
  needs:
542
542
  - job: 'www 🚀 Deploy | dev '
543
543
  artifacts: false
@@ -66,7 +66,7 @@ workflow:
66
66
  variables:
67
67
  PIPELINE_ICON: 🐱📦
68
68
  PIPELINE_NAME: Release $CI_COMMIT_TAG
69
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
70
70
  variables:
71
71
  PIPELINE_ICON: 🐱🔨
72
72
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -120,7 +120,7 @@ before_script:
120
120
  rules:
121
121
  - when: never
122
122
  if: $CI_PIPELINE_SOURCE == "trigger"
123
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
123
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
124
124
  needs: []
125
125
  retry: &a1
126
126
  max: 2
@@ -163,7 +163,7 @@ before_script:
163
163
  rules:
164
164
  - when: never
165
165
  if: $CI_PIPELINE_SOURCE == "trigger"
166
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
166
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
167
167
  needs: []
168
168
  retry: *a1
169
169
  interruptible: true
@@ -202,7 +202,7 @@ before_script:
202
202
  rules:
203
203
  - when: never
204
204
  if: $CI_PIPELINE_SOURCE == "trigger"
205
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
205
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
206
206
  needs: []
207
207
  retry: *a1
208
208
  interruptible: true
@@ -286,7 +286,7 @@ before_script:
286
286
  rules:
287
287
  - when: never
288
288
  if: $CI_PIPELINE_SOURCE == "trigger"
289
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
289
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
290
290
  needs: []
291
291
  retry: *a1
292
292
  interruptible: true
@@ -347,7 +347,7 @@ before_script:
347
347
  rules:
348
348
  - when: never
349
349
  if: $CI_PIPELINE_SOURCE == "trigger"
350
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
350
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
351
351
  needs:
352
352
  - 'app 🔨 app | dev '
353
353
  retry: *a1
@@ -444,7 +444,7 @@ before_script:
444
444
  - when: never
445
445
  if: $CI_PIPELINE_SOURCE == "trigger"
446
446
  - when: on_success
447
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
447
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
448
448
  needs:
449
449
  - job: 'app 👮 lint | dev '
450
450
  artifacts: false
@@ -484,7 +484,7 @@ before_script:
484
484
  - when: never
485
485
  if: $CI_PIPELINE_SOURCE == "trigger"
486
486
  - when: manual
487
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
487
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
488
488
  needs: []
489
489
  retry: *a1
490
490
  interruptible: true
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -266,7 +266,7 @@ before_script:
266
266
  rules:
267
267
  - when: never
268
268
  if: $CI_PIPELINE_SOURCE == "trigger"
269
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
269
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
270
270
  needs: []
271
271
  retry: *a1
272
272
  interruptible: true
@@ -327,7 +327,7 @@ before_script:
327
327
  rules:
328
328
  - when: never
329
329
  if: $CI_PIPELINE_SOURCE == "trigger"
330
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
330
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
331
331
  needs:
332
332
  - 'api 🔨 app | dev '
333
333
  retry: *a1
@@ -459,7 +459,7 @@ before_script:
459
459
  - when: never
460
460
  if: $CI_PIPELINE_SOURCE == "trigger"
461
461
  - when: on_success
462
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
462
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
463
463
  needs:
464
464
  - job: 'api 👮 lint | dev '
465
465
  artifacts: false
@@ -517,7 +517,7 @@ before_script:
517
517
  - when: never
518
518
  if: $CI_PIPELINE_SOURCE == "trigger"
519
519
  - when: manual
520
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
520
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
521
521
  needs: []
522
522
  retry: *a1
523
523
  interruptible: true
@@ -565,7 +565,7 @@ before_script:
565
565
  - when: never
566
566
  if: $CI_PIPELINE_SOURCE == "trigger"
567
567
  - when: manual
568
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
568
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
569
569
  needs: []
570
570
  retry: *a1
571
571
  interruptible: true
@@ -65,7 +65,7 @@ workflow:
65
65
  variables:
66
66
  PIPELINE_ICON: 🐱📦
67
67
  PIPELINE_NAME: Release $CI_COMMIT_TAG
68
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
68
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
71
  PIPELINE_NAME: Main - $CI_COMMIT_TITLE
@@ -119,7 +119,7 @@ before_script:
119
119
  rules:
120
120
  - when: never
121
121
  if: $CI_PIPELINE_SOURCE == "trigger"
122
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
122
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
123
123
  needs: []
124
124
  retry: &a1
125
125
  max: 2
@@ -162,7 +162,7 @@ before_script:
162
162
  rules:
163
163
  - when: never
164
164
  if: $CI_PIPELINE_SOURCE == "trigger"
165
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
165
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
166
166
  needs: []
167
167
  retry: *a1
168
168
  interruptible: true
@@ -201,7 +201,7 @@ before_script:
201
201
  rules:
202
202
  - when: never
203
203
  if: $CI_PIPELINE_SOURCE == "trigger"
204
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
204
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
205
205
  needs: []
206
206
  retry: *a1
207
207
  interruptible: true
@@ -268,7 +268,7 @@ before_script:
268
268
  rules:
269
269
  - when: never
270
270
  if: $CI_PIPELINE_SOURCE == "trigger"
271
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
271
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
272
272
  needs: []
273
273
  retry: *a1
274
274
  interruptible: true
@@ -329,7 +329,7 @@ before_script:
329
329
  rules:
330
330
  - when: never
331
331
  if: $CI_PIPELINE_SOURCE == "trigger"
332
- - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
332
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
333
333
  needs:
334
334
  - 'api 🔨 app | dev '
335
335
  retry: *a1
@@ -460,7 +460,7 @@ before_script:
460
460
  - when: never
461
461
  if: $CI_PIPELINE_SOURCE == "trigger"
462
462
  - when: on_success
463
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
463
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
464
464
  needs:
465
465
  - job: 'api 👮 lint | dev '
466
466
  artifacts: false
@@ -520,7 +520,7 @@ before_script:
520
520
  - when: never
521
521
  if: $CI_PIPELINE_SOURCE == "trigger"
522
522
  - when: manual
523
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
523
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
524
524
  needs: []
525
525
  retry: *a1
526
526
  interruptible: true
@@ -570,7 +570,7 @@ before_script:
570
570
  - when: never
571
571
  if: $CI_PIPELINE_SOURCE == "trigger"
572
572
  - when: manual
573
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
573
+ if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/ && $CI_PIPELINE_SOURCE != "push")
574
574
  needs: []
575
575
  retry: *a1
576
576
  interruptible: true