@ibm-cloud/cd-tools 1.15.17 → 1.15.19

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.
@@ -88,7 +88,7 @@ async function main(options) {
88
88
  if (LOG_DUMP) logger.createLogStream(`${LOGS_DIR}/copy-toolchain-${TIME_SUFFIX}.log`);
89
89
 
90
90
  // redact apikey option in logs
91
- const printOptions = options;
91
+ const printOptions = { ...options };
92
92
  printOptions.apikey ? printOptions.apikey = '<API KEY>' : delete printOptions.apikey;
93
93
  logger.dump(`Options: ${JSON.stringify(printOptions)}\n`);
94
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibm-cloud/cd-tools",
3
- "version": "1.15.17",
3
+ "version": "1.15.19",
4
4
  "description": "Tools and utilities for the IBM Cloud Continuous Delivery service and resources",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,6 +40,7 @@
40
40
  "node-pty": "^1.0.0"
41
41
  },
42
42
  "overrides": {
43
- "serialize-javascript": "^7.0.3"
43
+ "serialize-javascript": "^7.0.5",
44
+ "diff": "^8.0.0"
44
45
  }
45
46
  }
package/test/README.md CHANGED
@@ -13,14 +13,20 @@ Before running tests, ensure that you have completed the setup steps in the main
13
13
  ```bash
14
14
  npm install
15
15
  ```
16
- 3. **Test configuration**
16
+ 3. **Fix node-pty executable**
17
+
18
+ macOS only: There is a bug in one of the executables used by `node-pty`, the prebuilt binary is missing the executable flag, causing errors like `Error: posix_spawnp failed.`. You can fix this manually:
19
+ ```bash
20
+ chmod +x node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper
21
+ ```
22
+ 4. **Test configuration**
17
23
 
18
24
  Before running tests, create a local configuration file:
19
25
  ```bash
20
26
  cp test/config/local.template.json test/config/local.json
21
27
  ```
22
28
  Then open `test/config/local.json` and replace all placeholder values with your local or test environment settings.
23
- 4. **Running the tests**
29
+ 5. **Running the tests**
24
30
 
25
31
  To execute the test suite:
26
32
  ```bash
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Licensed Materials - Property of IBM
3
- * (c) Copyright IBM Corporation 2025. All Rights Reserved.
3
+ * (c) Copyright IBM Corporation 2025, 2026. All Rights Reserved.
4
4
  *
5
5
  * Note to U.S. Government Users Restricted Rights:
6
6
  * Use, duplication or disclosure restricted by GSA ADP Schedule
@@ -93,7 +93,7 @@ describe('copy-toolchain: Test import-terraform output', function () {
93
93
  ibm_cd_tekton_pipeline_trigger: 1,
94
94
  ibm_cd_tekton_pipeline_trigger_property: 1,
95
95
  ibm_cd_toolchain: 1,
96
- ibm_cd_toolchain_tool_custom: 1,
96
+ ibm_cd_toolchain_tool_cos: 1,
97
97
  ibm_cd_toolchain_tool_devopsinsights: 1,
98
98
  ibm_cd_toolchain_tool_hostedgit: 1,
99
99
  ibm_cd_toolchain_tool_pipeline: 1,
@@ -15,38 +15,28 @@ export const TEST_TOOLCHAINS = {
15
15
  },
16
16
  'misconfigured': {
17
17
  name: 'KEEP-MISCONFIGURED-TOOLCHAIN',
18
- crn: 'crn:v1:bluemix:public:toolchain:eu-es:a/9e8559fac61ee9fc74d3e595fa75d147:0ccfaa70-ca90-47db-8246-f4ecfc6ad8f3::',
19
- region: 'eu-es'
18
+ crn: 'crn:v1:bluemix:public:toolchain:eu-gb:a/9e8559fac61ee9fc74d3e595fa75d147:128b55a7-56c3-4cc0-87f7-abb24ff0fc6a::',
19
+ region: 'eu-gb'
20
20
  },
21
21
  '1pl-ghe-cc': {
22
22
  name: 'KEEP-1PL-GHE-CC',
23
- crn: 'crn:v1:bluemix:public:toolchain:eu-es:a/9e8559fac61ee9fc74d3e595fa75d147:9d51bb6b-f659-4ab7-9bc4-2eae1d61f4e7::',
24
- region: 'eu-es'
23
+ crn: 'crn:v1:bluemix:public:toolchain:eu-de:a/9e8559fac61ee9fc74d3e595fa75d147:6d75fa57-4eb0-4654-a664-58233ee2aad2::',
24
+ region: 'eu-de'
25
25
  },
26
26
  '1pl-ghe-cd': {
27
27
  name: 'KEEP-1PL-GHE-CD',
28
- crn: 'crn:v1:bluemix:public:toolchain:eu-es:a/9e8559fac61ee9fc74d3e595fa75d147:6a70313f-a927-4b0e-8471-70f17330998d::',
29
- region: 'eu-es'
28
+ crn: 'crn:v1:bluemix:public:toolchain:eu-de:a/9e8559fac61ee9fc74d3e595fa75d147:34df7ab1-bb87-4c34-bf72-1e83d04b0999::',
29
+ region: 'eu-de'
30
30
  },
31
31
  '1pl-ghe-ci': {
32
32
  name: 'KEEP-1PL-GHE-CI',
33
- crn: 'crn:v1:bluemix:public:toolchain:eu-es:a/9e8559fac61ee9fc74d3e595fa75d147:6b8e27ae-5924-4a38-8819-f405366cb900::',
34
- region: 'eu-es'
35
- },
36
- 'devsecops-grit-cc': {
37
- name: 'KEEP-DevSecOps-GRIT-CC',
38
- crn: 'crn:v1:bluemix:public:toolchain:eu-es:a/9e8559fac61ee9fc74d3e595fa75d147:920f6a94-4c1b-412b-b95c-baf823958744::',
39
- region: 'eu-es'
40
- },
41
- 'devsecops-grit-cd': {
42
- name: 'KEEP-DevSecOps-GRIT-CD',
43
- crn: 'crn:v1:bluemix:public:toolchain:eu-es:a/9e8559fac61ee9fc74d3e595fa75d147:8618565f-08fa-4cac-9250-029cac7b41ba::',
44
- region: 'eu-es'
33
+ crn: 'crn:v1:bluemix:public:toolchain:eu-de:a/9e8559fac61ee9fc74d3e595fa75d147:7769bb82-0ef5-4b5d-92c1-5089ac7ff385::',
34
+ region: 'eu-de'
45
35
  },
46
36
  'devsecops-grit-ci': {
47
37
  name: 'KEEP-DevSecOps-GRIT-CI',
48
- crn: 'crn:v1:bluemix:public:toolchain:eu-es:a/9e8559fac61ee9fc74d3e595fa75d147:cdc271bc-cc07-4a85-beb2-895e033319b0::',
49
- region: 'eu-es'
38
+ crn: 'crn:v1:bluemix:public:toolchain:eu-de:a/9e8559fac61ee9fc74d3e595fa75d147:1befe39f-e278-439b-a59a-fb16f14119c3::',
39
+ region: 'eu-de'
50
40
  },
51
41
  'single-pl': {
52
42
  name: 'KEEP-SINGLE-PIPELINE-TOOLCHAIN',