@payfit/nx-core 4.22.2 → 4.22.3-ephemeral-a1277ec.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payfit/nx-core",
3
- "version": "4.22.2",
3
+ "version": "4.22.3-ephemeral-a1277ec.0",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -25,6 +25,30 @@ references:
25
25
  error-on-no-successful-workflow: false
26
26
  main-branch-name: main
27
27
  workflow-name: build-test-release
28
+ <% if (keepContinuationJobs) { %>
29
+ only_main_and_deploy_branches: &only_main_and_deploy_branches
30
+ branches:
31
+ only:
32
+ - main
33
+ - /^deploy.*/
34
+
35
+
36
+ parameters:
37
+ affected-list:
38
+ description: Path to the file where the affected list of apps is generated
39
+ type: string
40
+ default: affected-list.txt
41
+ shared-config:
42
+ description: |
43
+ Path to the config providing shared resources
44
+ (such as prerequisite jobs and common commands)
45
+ type: string
46
+ default: .circleci/shared-config.yml
47
+ continue-config:
48
+ description: Path to the internally-used config for continuation
49
+ type: string
50
+ default: .circleci/continue-config.yml
51
+ <% } %>
28
52
 
29
53
  jobs:
30
54
  install_packages:
@@ -236,6 +260,26 @@ workflows:
236
260
  <% } %>
237
261
 
238
262
  <% if (keepContinuationJobs) { %>
263
+ - payfit-nx/affected-apps:
264
+ name: affected-apps
265
+ output-file: << pipeline.parameters.affected-list >>
266
+ main-branch-name: main
267
+ allow-on-hold-workflow: true
268
+ nx-ci-execution-id: $CIRCLE_WORKFLOW_ID
269
+ context: GLOBAL_ORG
270
+ requires:
271
+ - install-dependencies
272
+ filters: *only_main_and_deploy_branches
273
+
274
+ - payfit-nx/merge-circle-config:
275
+ name: merge-configs
276
+ shared-config-file: << pipeline.parameters.shared-config >>
277
+ affected-list-file: << pipeline.parameters.affected-list >>
278
+ config-output: << pipeline.parameters.continue-config >>
279
+ requires:
280
+ - affected-apps
281
+ filters: *only_main_and_deploy_branches
282
+
239
283
  - continuation:
240
284
  requires:
241
285
  - build