@catladder/pipeline 3.23.0 → 3.24.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 (62) hide show
  1. package/dist/build/artifacts/createBuildJobArtifact.js +13 -5
  2. package/dist/build/types.d.ts +10 -0
  3. package/dist/constants.js +1 -1
  4. package/dist/pipeline/gitlab/createGitlabPipeline.js +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/examples/__snapshots__/automatic-releases.test.ts.snap +1 -1
  7. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +1 -1
  8. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +1 -1
  9. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +1 -1
  10. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +1 -1
  11. package/examples/__snapshots__/cloud-run-llama.test.ts.snap +1 -1
  12. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +1 -1
  13. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +1 -1
  14. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +1 -1
  15. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +1 -1
  16. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +1 -1
  17. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +1 -1
  18. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +1 -1
  19. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +1 -1
  20. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +1 -1
  21. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +1 -1
  22. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +1 -1
  23. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +1 -1
  24. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +1 -1
  25. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +1 -1
  26. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +1 -1
  27. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +1 -1
  28. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +1 -1
  29. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +1 -1
  30. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +1 -1
  31. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +1 -1
  32. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +1 -1
  33. package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +1 -1
  34. package/examples/__snapshots__/custom-build-job.test.ts.snap +1 -1
  35. package/examples/__snapshots__/custom-deploy.test.ts.snap +1 -1
  36. package/examples/__snapshots__/custom-envs.test.ts.snap +1 -1
  37. package/examples/__snapshots__/custom-sbom-java.test.ts.snap +1 -1
  38. package/examples/__snapshots__/custom-verify-job.test.ts.snap +1 -1
  39. package/examples/__snapshots__/git-submodule.test.ts.snap +1 -1
  40. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +1 -1
  41. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +1 -1
  42. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +1 -1
  43. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +1 -1
  44. package/examples/__snapshots__/local-dot-env.test.ts.snap +1 -1
  45. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +1 -1
  46. package/examples/__snapshots__/modify-generated-files.test.ts.snap +1 -1
  47. package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +1 -1
  48. package/examples/__snapshots__/multiline-var.test.ts.snap +1 -1
  49. package/examples/__snapshots__/native-app.test.ts.snap +1 -1
  50. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +1 -1
  51. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +1 -1
  52. package/examples/__snapshots__/override-secrets.test.ts.snap +1 -1
  53. package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +1 -1
  54. package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +1 -1
  55. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +1 -1
  56. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +1 -1
  57. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +1 -1
  58. package/examples/__snapshots__/workspace-api-www.test.ts.snap +1 -1
  59. package/package.json +1 -1
  60. package/src/build/artifacts/createBuildJobArtifact.ts +35 -7
  61. package/src/build/types.ts +11 -0
  62. package/src/pipeline/gitlab/createGitlabPipeline.ts +1 -1
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -84,7 +84,7 @@ workflow:
84
84
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
85
85
  variables:
86
86
  PIPELINE_ICON: 🐱🔨
87
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
87
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
88
88
  - when: always
89
89
  variables:
90
90
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -69,7 +69,7 @@ workflow:
69
69
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
70
70
  variables:
71
71
  PIPELINE_ICON: 🐱🔨
72
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
72
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
73
73
  - when: always
74
74
  variables:
75
75
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
@@ -68,7 +68,7 @@ workflow:
68
68
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
69
69
  variables:
70
70
  PIPELINE_ICON: 🐱🔨
71
- PIPELINE_NAME: Main - $CI_COMMIT_MESSAGE
71
+ PIPELINE_NAME: Main - $CI_COMMIT_TITLE
72
72
  - when: always
73
73
  variables:
74
74
  PIPELINE_ICON: 🐱❓
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  }
54
54
  ],
55
55
  "license": "MIT",
56
- "version": "3.23.0",
56
+ "version": "3.24.0",
57
57
  "scripts": {
58
58
  "build:tsc": "yarn tsc",
59
59
  "build": "yarn build:compile && yarn build:inline-variables",
@@ -15,11 +15,13 @@ export const createBuildJobArtifacts = (
15
15
  context.type === "workspace"
16
16
  ? context.components.flatMap((c) => getArtifactsPathForComponent(c))
17
17
  : getArtifactsPathForComponent(context, ["__build_info.json"]);
18
- // esxclude .env files if generated
18
+
19
19
  const exclude =
20
20
  context.type === "workspace"
21
- ? context.components.flatMap((c) => getDotEnvPathsForComponent(c))
22
- : getDotEnvPathsForComponent(context);
21
+ ? context.components.flatMap((c) =>
22
+ getAllArtifactExcludePathsForComponent(c),
23
+ )
24
+ : getAllArtifactExcludePathsForComponent(context);
23
25
  return {
24
26
  paths: uniq(paths).sort((a, b) => a.localeCompare(b)),
25
27
  ...(exclude.length > 0 ? { exclude } : {}),
@@ -36,14 +38,13 @@ export const createBuildJobArtifacts = (
36
38
  : {},
37
39
  };
38
40
  };
39
- const getArtifactsPathForComponent = (
41
+ const _getArtifactPathsForComponent = (
40
42
  c: ComponentContext,
43
+ configKey: "artifactsPaths" | "artifactsExcludePaths",
41
44
  additionalPaths?: string[],
42
45
  ): string[] => {
43
46
  return [
44
- ...(c.build.type !== "disabled"
45
- ? (c.build.config.artifactsPaths ?? [])
46
- : []),
47
+ ...(c.build.type !== "disabled" ? (c.build.config[configKey] ?? []) : []),
47
48
  ...(additionalPaths ?? []),
48
49
  ]?.flatMap((artifact) =>
49
50
  c.build
@@ -55,6 +56,33 @@ const getArtifactsPathForComponent = (
55
56
  );
56
57
  };
57
58
 
59
+ const getArtifactsPathForComponent = (
60
+ c: ComponentContext,
61
+ additionalPaths?: string[],
62
+ ): string[] => {
63
+ return _getArtifactPathsForComponent(c, "artifactsPaths", additionalPaths);
64
+ };
65
+
66
+ const getAllArtifactExcludePathsForComponent = (
67
+ c: ComponentContext,
68
+ ): string[] => {
69
+ return [
70
+ ...getDotEnvPathsForComponent(c), // always exclude .env files
71
+ ...getArtifactExcludePathsForComponent(c),
72
+ ];
73
+ };
74
+
75
+ const getArtifactExcludePathsForComponent = (
76
+ c: ComponentContext,
77
+ additionalPaths?: string[],
78
+ ): string[] => {
79
+ return _getArtifactPathsForComponent(
80
+ c,
81
+ "artifactsExcludePaths",
82
+ additionalPaths,
83
+ );
84
+ };
85
+
58
86
  const getDotEnvPathsForComponent = (c: ComponentContext): string[] => {
59
87
  if (componentContextNeedsBuildTimeDotEnv(c)) {
60
88
  return [join(c.build.dir, ".env")];