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