@datadog/datadog-ci 4.2.2 → 4.3.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 (2) hide show
  1. package/README.md +34 -6
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -109,6 +109,12 @@ The following `<scope>` and `<command>` values are available.
109
109
 
110
110
  <sub>**README:** [📚](/packages/plugin-gate) | **Documentation:** [🔗](https://docs.datadoghq.com/quality_gates/)</sub>
111
111
 
112
+ > [!WARNING]
113
+ >
114
+ > **Deprecated:** Datadog Quality Gates is being replaced by the new PR Gates in 2026. To start the migration, please fill out this form: https://forms.gle/qnhANsE1ABtHrjqz9
115
+ >
116
+ > Learn more about PR Gates: https://docs.datadoghq.com/pr_gates
117
+
112
118
  - `evaluate`: Evaluate Quality Gates rules in Datadog.
113
119
 
114
120
  #### `git-metadata`
@@ -235,41 +241,63 @@ The released `datadog-ci` binary now uses Node.js version 18 to be compatible wi
235
241
  Enable `datadog-ci` FIPS support if a FIPS validated provider is installed on the host system.
236
242
  If you do not have a FIPS provider installed, `datadog-ci` does not raise an error.
237
243
 
238
- ENV variable: `DATADOG_FIPS=true`
239
- CLI param: `--fips`
244
+ - ENV variable: `DATADOG_FIPS=true`
245
+ - CLI param: `--fips`
240
246
 
241
247
  #### `fips-ignore-error`
242
248
  Ignore Node.js errors if FIPS cannot be enabled on the host system.
243
249
 
244
250
  **Note**: the absence of an error doesn't indicate that FIPS is enabled successfully.
245
251
 
246
- ENV variable: `DATADOG_FIPS_IGNORE_ERROR=true`
247
- CLI param: `--fips-ignore-error`
252
+ - ENV variable: `DATADOG_FIPS_IGNORE_ERROR=true`
253
+ - CLI param: `--fips-ignore-error`
248
254
 
249
255
 
250
256
  ## More ways to install the CLI
251
257
 
252
258
  ### Standalone binary
253
259
 
254
- If installing NodeJS in the CI is an issue, standalone binaries are provided with [releases](https://github.com/DataDog/datadog-ci/releases). _linux-x64_, _linux-arm64_, _darwin-x64_, _darwin-arm64_ (MacOS) and _win-x64_ (Windows) are supported.
260
+ If installing NodeJS in the CI is an issue, standalone binaries are attached to each [GitHub release](https://github.com/DataDog/datadog-ci/releases).
261
+
262
+ Supported architectures:
263
+ - `linux-x64`
264
+ - `linux-arm64`
265
+ - `darwin-x64` (MacOS)
266
+ - `darwin-arm64` (MacOS)
267
+ - `win-x64` (Windows)
268
+
269
+ > [!WARNING]
270
+ > Using `strip` to remove debugging symbols from the standalone binary as an attempt to make it smaller may cause segmentation faults when running `datadog-ci`. See https://github.com/nodejs/postject/issues/90.
255
271
 
256
- To install:
272
+ > [!NOTE]
273
+ > To determine the version when unable to run `datadog-ci --version` (for example, because of segmentation faults or an architecture mismatch), run `grep --text STANDALONE_BINARY_VERSION path/to/datadog-ci`.
274
+
275
+ To install the standalone binary:
257
276
 
258
277
  #### Linux
259
278
 
260
279
  ```sh
280
+ # Linux x64
261
281
  curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_linux-x64" --output "/usr/local/bin/datadog-ci" && chmod +x /usr/local/bin/datadog-ci
282
+
283
+ # Linux arm64
284
+ curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_linux-arm64" --output "/usr/local/bin/datadog-ci" && chmod +x /usr/local/bin/datadog-ci
262
285
  ```
263
286
 
264
287
  #### MacOS
265
288
 
266
289
  ```sh
290
+ # MacOS x64
267
291
  curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_darwin-x64" --output "/usr/local/bin/datadog-ci" && chmod +x /usr/local/bin/datadog-ci
292
+
293
+ # MacOS arm64
294
+ curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_darwin-arm64" --output "/usr/local/bin/datadog-ci" && chmod +x /usr/local/bin/datadog-ci
268
295
  ```
269
296
 
270
297
  #### Windows
271
298
 
272
299
  ```sh
300
+ # Windows x64
273
301
  Invoke-WebRequest -Uri "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_win-x64" -OutFile "datadog-ci.exe"
274
302
  ```
275
303
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datadog/datadog-ci",
3
- "version": "4.2.2",
3
+ "version": "4.3.0",
4
4
  "description": "Use Datadog from your CI.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -40,13 +40,13 @@
40
40
  "prepack": "yarn package:clean-dist"
41
41
  },
42
42
  "dependencies": {
43
- "@datadog/datadog-ci-base": "4.2.2",
44
- "@datadog/datadog-ci-plugin-deployment": "4.2.2",
45
- "@datadog/datadog-ci-plugin-dora": "4.2.2",
46
- "@datadog/datadog-ci-plugin-gate": "4.2.2",
47
- "@datadog/datadog-ci-plugin-sarif": "4.2.2",
48
- "@datadog/datadog-ci-plugin-sbom": "4.2.2",
49
- "@datadog/datadog-ci-plugin-synthetics": "4.2.2",
43
+ "@datadog/datadog-ci-base": "4.3.0",
44
+ "@datadog/datadog-ci-plugin-deployment": "4.3.0",
45
+ "@datadog/datadog-ci-plugin-dora": "4.3.0",
46
+ "@datadog/datadog-ci-plugin-gate": "4.3.0",
47
+ "@datadog/datadog-ci-plugin-sarif": "4.3.0",
48
+ "@datadog/datadog-ci-plugin-sbom": "4.3.0",
49
+ "@datadog/datadog-ci-plugin-synthetics": "4.3.0",
50
50
  "axios": "^1.12.1",
51
51
  "chalk": "3.0.0",
52
52
  "clipanion": "^3.2.1",