@datadog/datadog-ci 1.15.0 → 1.16.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 (55) hide show
  1. package/dist/commands/dsyms/upload.js +3 -3
  2. package/dist/commands/dsyms/upload.js.map +1 -1
  3. package/dist/commands/git-metadata/upload.js +3 -3
  4. package/dist/commands/git-metadata/upload.js.map +1 -1
  5. package/dist/commands/junit/upload.js +3 -3
  6. package/dist/commands/junit/upload.js.map +1 -1
  7. package/dist/commands/lambda/__tests__/instrument.test.js +84 -85
  8. package/dist/commands/lambda/__tests__/instrument.test.js.map +1 -1
  9. package/dist/commands/lambda/__tests__/prompt.test.js +1 -2
  10. package/dist/commands/lambda/__tests__/prompt.test.js.map +1 -1
  11. package/dist/commands/lambda/__tests__/uninstrument.test.js +23 -24
  12. package/dist/commands/lambda/__tests__/uninstrument.test.js.map +1 -1
  13. package/dist/commands/metric/__tests__/metric.test.js +7 -1
  14. package/dist/commands/metric/__tests__/metric.test.js.map +1 -1
  15. package/dist/commands/react-native/codepush.js +2 -2
  16. package/dist/commands/react-native/upload.js +3 -3
  17. package/dist/commands/react-native/upload.js.map +1 -1
  18. package/dist/commands/react-native/xcode.js +3 -3
  19. package/dist/commands/react-native/xcode.js.map +1 -1
  20. package/dist/commands/sourcemaps/upload.js +4 -4
  21. package/dist/commands/sourcemaps/upload.js.map +1 -1
  22. package/dist/commands/synthetics/__tests__/cli.test.js +35 -1
  23. package/dist/commands/synthetics/__tests__/cli.test.js.map +1 -1
  24. package/dist/commands/synthetics/__tests__/fixtures.js +1 -0
  25. package/dist/commands/synthetics/__tests__/fixtures.js.map +1 -1
  26. package/dist/commands/synthetics/__tests__/reporters/default.test.js +15 -0
  27. package/dist/commands/synthetics/__tests__/reporters/default.test.js.map +1 -1
  28. package/dist/commands/synthetics/__tests__/run-test.test.js +4 -4
  29. package/dist/commands/synthetics/__tests__/run-test.test.js.map +1 -1
  30. package/dist/commands/synthetics/__tests__/utils.test.js +34 -1
  31. package/dist/commands/synthetics/__tests__/utils.test.js.map +1 -1
  32. package/dist/commands/synthetics/command.d.ts +1 -0
  33. package/dist/commands/synthetics/command.js +9 -0
  34. package/dist/commands/synthetics/command.js.map +1 -1
  35. package/dist/commands/synthetics/errors.d.ts +1 -1
  36. package/dist/commands/synthetics/errors.js +1 -1
  37. package/dist/commands/synthetics/errors.js.map +1 -1
  38. package/dist/commands/synthetics/interfaces.d.ts +2 -1
  39. package/dist/commands/synthetics/reporters/default.d.ts +2 -0
  40. package/dist/commands/synthetics/reporters/default.js +8 -1
  41. package/dist/commands/synthetics/reporters/default.js.map +1 -1
  42. package/dist/commands/synthetics/run-test.js +1 -1
  43. package/dist/commands/synthetics/run-test.js.map +1 -1
  44. package/dist/commands/synthetics/utils.d.ts +1 -1
  45. package/dist/commands/synthetics/utils.js +17 -3
  46. package/dist/commands/synthetics/utils.js.map +1 -1
  47. package/dist/commands/tag/__tests__/tag.test.js +7 -1
  48. package/dist/commands/tag/__tests__/tag.test.js.map +1 -1
  49. package/dist/commands/trace/trace.js +3 -3
  50. package/dist/commands/trace/trace.js.map +1 -1
  51. package/dist/helpers/__tests__/ci.test.js +41 -0
  52. package/dist/helpers/__tests__/ci.test.js.map +1 -1
  53. package/dist/helpers/ci.js +22 -7
  54. package/dist/helpers/ci.js.map +1 -1
  55. package/package.json +1 -1
@@ -240,9 +240,9 @@ exports.UploadCommand = UploadCommand;
240
240
  UploadCommand.usage = clipanion_1.Command.Usage({
241
241
  description: 'Upload dSYM files to Datadog.',
242
242
  details: `
243
- This command will upload all dSYM files to Datadog in order to symbolicate crash reports received by Datadog.
244
- See README for details.
245
- `,
243
+ This command will upload all dSYM files to Datadog in order to symbolicate crash reports received by Datadog.\n
244
+ See README for details.
245
+ `,
246
246
  examples: [
247
247
  ['Upload all dSYM files in Derived Data path', 'datadog-ci dsyms upload ~/Library/Developer/Xcode/DerivedData'],
248
248
  [
@@ -1 +1 @@
1
- {"version":3,"file":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  description: 'Report the current commit details to Datadog.',
133
133
  details: `
134
- This command will upload the commit details to Datadog in order to create links to your repositories inside DataDog's UI.
135
- See README for details.
136
- `,
134
+ This command will upload the commit details to Datadog in order to create links to your repositories inside Datadog's UI.\n
135
+ See README for details.
136
+ `,
137
137
  examples: [['Upload the current commit details', 'datadog-ci report-commits upload']],
138
138
  });
139
139
  UploadCommand.addPath('git-metadata', 'upload');
@@ -1 +1 @@
1
- {"version":3,"file":"upload.js","sourceRoot":"","sources":["../../../src/commands/git-metadata/upload.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAyB;AACzB,yCAAiC;AAEjC,iDAAuD;AACvD,iDAA8D;AAC9D,yDAA8C;AAE9C,mDAAsD;AACtD,iDAAiD;AACjD,+CAAqD;AACrD,+BAAmD;AACnD,+BAAiD;AAEjD,uCAA0C;AAC1C,yCAOmB;AAEnB,MAAa,aAAc,SAAQ,mBAAO;IAkBxC;QACE,KAAK,EAAE,CAAA;QAND,WAAM,GAAG;YACf,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,eAAe;SACpC,CAAA;QACO,WAAM,GAAG,KAAK,CAAA;QAIpB,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAA;IAC5D,CAAC;IAEY,OAAO;;YAClB,MAAM,WAAW,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAA;YACxC,IAAI,IAAI,CAAC,MAAM,EAAE;gBACf,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,8BAAmB,EAAE,CAAC,CAAA;aACjD;YAED,MAAM,aAAa,GAAG,0BAAgB,CAAC;gBACrC,WAAW,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY;gBACrC,WAAW,EAAE,CAAC,eAAe,IAAI,CAAC,UAAU,EAAE,CAAC;gBAC/C,MAAM,EAAE,4BAA4B;aACrC,CAAC,CAAA;YACF,MAAM,eAAe,GAAG,2BAAkB,CAAC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G,mBAAO,CAAC,KAAK,CAAC;IAClC,WAAW,EAAE,+CAA+C;IAC5D,OAAO,EAAE;;;KAGR;IACD,QAAQ,EAAE,CAAC,CAAC,mCAAmC,EAAE,kCAAkC,CAAC,CAAC;CACtF,CAAC,CAAA;AAiHJ,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAA;AAC/C,aAAa,CAAC,SAAS,CAAC,QAAQ,EAAE,mBAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAA;AAC/D,aAAa,CAAC,SAAS,CAAC,eAAe,EAAE,mBAAO,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAA"}
@@ -165,9 +165,9 @@ exports.UploadJUnitXMLCommand = UploadJUnitXMLCommand;
165
165
  UploadJUnitXMLCommand.usage = clipanion_1.Command.Usage({
166
166
  description: 'Upload jUnit XML test reports files to Datadog.',
167
167
  details: `
168
- This command will upload to jUnit XML test reports files to Datadog.
169
- See README for details.
170
- `,
168
+ This command will upload to jUnit XML test reports files to Datadog.\n
169
+ See README for details.
170
+ `,
171
171
  examples: [
172
172
  ['Upload all jUnit XML test report files in current directory', 'datadog-ci junit upload --service my-service .'],
173
173
  [
@@ -1 +1 @@
1
- {"version":3,"file":"upload.js","sourceRoot":"","sources":["../../../src/commands/junit/upload.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAyB;AACzB,yCAAiC;AACjC,sEAAuC;AACvC,4CAAmB;AACnB,gDAAuB;AACvB,4CAAmB;AACnB,gDAAuB;AACvB,sEAAuC;AAGvC,+BAAoC;AAEpC,yCAOmB;AACnB,mCAAwC;AAExC,yCAA8C;AAC9C,iFAAqE;AACrE,+CAAgD;AAChD,6CAA4C;AAC5C,uEAAkE;AAClE,+CAA6C;AAE7C,MAAM,oBAAoB,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;AAEvC,MAAM,WAAW,GAAG,CAAC,WAAmB,EAAE,EAAE;IAC1C,MAAM,o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AC,CAAA;AACzE,qBAAqB,CAAC,SAAS,CAAC,gBAAgB,EAAE,mBAAO,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAA;AACtF,qBAAqB,CAAC,SAAS,CAAC,MAAM,EAAE,mBAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAA"}
@@ -36,7 +36,6 @@ jest.mock('fs');
36
36
  jest.mock('aws-sdk');
37
37
  jest.mock('../prompt');
38
38
  const aws_sdk_1 = require("aws-sdk");
39
- const chalk_1 = require("chalk");
40
39
  const advanced_1 = require("clipanion/lib/advanced");
41
40
  const fs = __importStar(require("fs"));
42
41
  const path_1 = __importDefault(require("path"));
@@ -92,10 +91,10 @@ describe('lambda', () => {
92
91
  const output = context.stdout.toString();
93
92
  expect(code).toBe(0);
94
93
  expect(output).toMatchInlineSnapshot(`
95
- "${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.
96
- \n${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
97
- \t- ${chalk_1.bold('arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world')}\n
98
- ${chalk_1.bold(chalk_1.cyan('[Dry Run] '))}Will apply the following updates:
94
+ "[Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.
95
+ \n[!] Functions to be updated:
96
+ \t- arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\n
97
+ [Dry Run] Will apply the following updates:
99
98
  UpdateFunctionConfiguration -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
100
99
  {
101
100
  \\"FunctionName\\": \\"arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\\",
@@ -168,10 +167,10 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
168
167
  const output = context.stdout.toString();
169
168
  expect(code).toBe(0);
170
169
  expect(output).toMatchInlineSnapshot(`
171
- "${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.
172
- \n${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
173
- \t- ${chalk_1.bold('arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world')}\n
174
- ${chalk_1.bold(chalk_1.cyan('[Dry Run] '))}Will apply the following updates:
170
+ "[Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.
171
+ \n[!] Functions to be updated:
172
+ \t- arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\n
173
+ [Dry Run] Will apply the following updates:
175
174
  UpdateFunctionConfiguration -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
176
175
  {
177
176
  \\"FunctionName\\": \\"arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\\",
@@ -237,10 +236,10 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
237
236
  const output = context.stdout.toString();
238
237
  expect(code).toBe(0);
239
238
  expect(output).toMatchInlineSnapshot(`
240
- "${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.
241
- \n${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
242
- \t- ${chalk_1.bold('arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world')}\n
243
- ${chalk_1.bold(chalk_1.cyan('[Dry Run] '))}Will apply the following updates:
239
+ "[Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.
240
+ \n[!] Functions to be updated:
241
+ \t- arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\n
242
+ [Dry Run] Will apply the following updates:
244
243
  UpdateFunctionConfiguration -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
245
244
  {
246
245
  \\"FunctionName\\": \\"arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\\",
@@ -303,10 +302,10 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
303
302
  const output = context.stdout.toString();
304
303
  expect(code).toBe(0);
305
304
  expect(output).toMatchInlineSnapshot(`
306
- "${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.
307
- \n${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
308
- \t- ${chalk_1.bold('arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world')}\n
309
- ${chalk_1.bold(chalk_1.cyan('[Dry Run] '))}Will apply the following updates:
305
+ "[Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.
306
+ \n[!] Functions to be updated:
307
+ \t- arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\n
308
+ [Dry Run] Will apply the following updates:
310
309
  UpdateFunctionConfiguration -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
311
310
  {
312
311
  \\"FunctionName\\": \\"arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\\",
@@ -484,9 +483,9 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
484
483
  ], context);
485
484
  const output = context.stdout.toString();
486
485
  expect(output).toMatchInlineSnapshot(`
487
- "${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.
488
- \n${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
489
- \t- ${chalk_1.bold('arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world')}\n
486
+ "[Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.
487
+ \n[!] Functions to be updated:
488
+ \t- arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world\n
490
489
  Will apply the following updates:
491
490
  UpdateFunctionConfiguration -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
492
491
  {
@@ -625,7 +624,7 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
625
624
  const output = context.stdout.toString();
626
625
  expect(code).toBe(1);
627
626
  expect(output).toMatchInlineSnapshot(`
628
- "${chalk_1.red('[Error]')} No functions specified for instrumentation.
627
+ "[Error] No functions specified for instrumentation.
629
628
  "
630
629
  `);
631
630
  }));
@@ -643,7 +642,7 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
643
642
  yield command['execute']();
644
643
  const output = command.context.stdout.toString();
645
644
  expect(output).toMatchInlineSnapshot(`
646
- "${chalk_1.red('[Error]')} No functions specified for instrumentation.
645
+ "[Error] No functions specified for instrumentation.
647
646
  "
648
647
  `);
649
648
  }));
@@ -702,7 +701,7 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
702
701
  const output = context.stdout.toString();
703
702
  expect(code).toBe(1);
704
703
  expect(output).toMatchInlineSnapshot(`
705
- "${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Can't instrument arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world, as current State is Failed (must be \\"Active\\") and Last Update Status is Unsuccessful (must be \\"Successful\\")
704
+ "[Error] Couldn't fetch Lambda functions. Error: Can't instrument arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world, as current State is Failed (must be \\"Active\\") and Last Update Status is Unsuccessful (must be \\"Successful\\")
706
705
  "
707
706
  `);
708
707
  }));
@@ -733,7 +732,7 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
733
732
  const output = context.stdout.toString();
734
733
  expect(code).toBe(1);
735
734
  expect(output).toMatchInlineSnapshot(`
736
- "${chalk_1.red('[Error]')} \\"extensionVersion\\" and \\"forwarder\\" should not be used at the same time.
735
+ "[Error] \\"extensionVersion\\" and \\"forwarder\\" should not be used at the same time.
737
736
  "
738
737
  `);
739
738
  }));
@@ -785,7 +784,7 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
785
784
  command['regExPattern'] = 'valid-pattern';
786
785
  yield command['execute']();
787
786
  const output = command.context.stdout.toString();
788
- expect(output).toMatch(`${chalk_1.red('[Error]')} No default region specified. Use \`-r\`, \`--region\`.\n`);
787
+ expect(output).toMatch('[Error] No default region specified. Use `-r`, `--region`.\n');
789
788
  }));
790
789
  test('aborts if the regEx pattern is an ARN', () => __awaiter(void 0, void 0, void 0, function* () {
791
790
  ;
@@ -864,17 +863,17 @@ TagResource -> arn:aws:lambda:us-east-1:123456789012:function:lambda-hello-world
864
863
  const output = context.stdout.toString();
865
864
  expect(code).toBe(0);
866
865
  expect(output).toMatchInlineSnapshot(`
867
- "${chalk_1.bold(chalk_1.yellow('[!]'))} No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
868
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure AWS region.
869
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure Datadog settings.
866
+ "[!] No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
867
+ [!] Configure AWS region.
868
+ [!] Configure Datadog settings.
870
869
  Fetching Lambda functions, this might take a while.
871
- ${chalk_1.bold(chalk_1.yellow('[Warning]'))} The environment, service and version tags have not been configured. Learn more about Datadog unified service tagging: ${chalk_1.underline(chalk_1.blueBright('https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.'))}
872
- ${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.\n
873
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
874
- \t- ${chalk_1.bold('arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world')}
875
- \t${chalk_1.bold(chalk_1.yellow('[Warning]'))} At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.
876
- \t- ${chalk_1.bold('arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world-2')}
877
- \t${chalk_1.bold(chalk_1.yellow('[Warning]'))} At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.\n
870
+ [Warning] The environment, service and version tags have not been configured. Learn more about Datadog unified service tagging: https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.
871
+ [Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.\n
872
+ [!] Functions to be updated:
873
+ \t- arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
874
+ \t[Warning] At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.
875
+ \t- arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world-2
876
+ \t[Warning] At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.\n
878
877
  Will apply the following updates:
879
878
  UpdateFunctionConfiguration -> arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
880
879
  {
@@ -924,8 +923,8 @@ TagResource -> arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
924
923
  {
925
924
  \\"dd_sls_ci\\": \\"v${version}\\"
926
925
  }
927
- ${chalk_1.yellow('[!]')} Confirmation needed.
928
- ${chalk_1.yellow('[!]')} Instrumenting functions.
926
+ [!] Confirmation needed.
927
+ [!] Instrumenting functions.
929
928
  "
930
929
  `);
931
930
  }));
@@ -997,16 +996,16 @@ ${chalk_1.yellow('[!]')} Instrumenting functions.
997
996
  const output = context.stdout.toString();
998
997
  expect(code).toBe(0);
999
998
  expect(output).toMatchInlineSnapshot(`
1000
- "${chalk_1.bold(chalk_1.yellow('[!]'))} No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
1001
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure AWS region.
1002
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure Datadog settings.
1003
- ${chalk_1.bold(chalk_1.yellow('[Warning]'))} The environment, service and version tags have not been configured. Learn more about Datadog unified service tagging: ${chalk_1.underline(chalk_1.blueBright('https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.'))}
1004
- ${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.\n
1005
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
1006
- \t- ${chalk_1.bold('arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world')}
1007
- \t${chalk_1.bold(chalk_1.yellow('[Warning]'))} At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.
1008
- \t- ${chalk_1.bold('arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world-2')}
1009
- \t${chalk_1.bold(chalk_1.yellow('[Warning]'))} At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.\n
999
+ "[!] No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
1000
+ [!] Configure AWS region.
1001
+ [!] Configure Datadog settings.
1002
+ [Warning] The environment, service and version tags have not been configured. Learn more about Datadog unified service tagging: https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.
1003
+ [Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.\n
1004
+ [!] Functions to be updated:
1005
+ \t- arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
1006
+ \t[Warning] At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.
1007
+ \t- arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world-2
1008
+ \t[Warning] At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.\n
1010
1009
  Will apply the following updates:
1011
1010
  UpdateFunctionConfiguration -> arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
1012
1011
  {
@@ -1056,8 +1055,8 @@ TagResource -> arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
1056
1055
  {
1057
1056
  \\"dd_sls_ci\\": \\"v${version}\\"
1058
1057
  }
1059
- ${chalk_1.yellow('[!]')} Confirmation needed.
1060
- ${chalk_1.yellow('[!]')} Instrumenting functions.
1058
+ [!] Confirmation needed.
1059
+ [!] Instrumenting functions.
1061
1060
  "
1062
1061
  `);
1063
1062
  }));
@@ -1071,8 +1070,8 @@ ${chalk_1.yellow('[!]')} Instrumenting functions.
1071
1070
  const output = context.stdout.toString();
1072
1071
  expect(code).toBe(1);
1073
1072
  expect(output).toMatchInlineSnapshot(`
1074
- "${chalk_1.bold(chalk_1.yellow('[!]'))} No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
1075
- ${chalk_1.red('[Error]')} Unexpected error
1073
+ "[!] No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
1074
+ [Error] Unexpected error
1076
1075
  "
1077
1076
  `);
1078
1077
  }));
@@ -1090,9 +1089,9 @@ ${chalk_1.red('[Error]')} Unexpected error
1090
1089
  const output = context.stdout.toString();
1091
1090
  expect(code).toBe(1);
1092
1091
  expect(output).toMatchInlineSnapshot(`
1093
- "${chalk_1.bold(chalk_1.yellow('[!]'))} Configure AWS region.
1094
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure Datadog settings.
1095
- ${chalk_1.red('[Error]')} Unexpected error
1092
+ "[!] Configure AWS region.
1093
+ [!] Configure Datadog settings.
1094
+ [Error] Unexpected error
1096
1095
  "
1097
1096
  `);
1098
1097
  }));
@@ -1141,15 +1140,15 @@ ${chalk_1.red('[Error]')} Unexpected error
1141
1140
  const output = context.stdout.toString();
1142
1141
  expect(code).toBe(0);
1143
1142
  expect(output).toMatchInlineSnapshot(`
1144
- "${chalk_1.bold(chalk_1.yellow('[!]'))} No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
1145
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure AWS region.
1146
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure Datadog settings.
1143
+ "[!] No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
1144
+ [!] Configure AWS region.
1145
+ [!] Configure Datadog settings.
1147
1146
  Fetching Lambda functions, this might take a while.
1148
- ${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.
1147
+ [Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.
1149
1148
 
1150
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
1151
- \t- ${chalk_1.bold('arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world')}
1152
- \t${chalk_1.bold(chalk_1.yellow('[Warning]'))} At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.
1149
+ [!] Functions to be updated:
1150
+ \t- arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
1151
+ \t[Warning] At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.
1153
1152
 
1154
1153
  Will apply the following updates:
1155
1154
  UpdateFunctionConfiguration -> arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
@@ -1179,8 +1178,8 @@ TagResource -> arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
1179
1178
  {
1180
1179
  \\"dd_sls_ci\\": \\"v${version}\\"
1181
1180
  }
1182
- ${chalk_1.yellow('[!]')} Confirmation needed.
1183
- ${chalk_1.yellow('[!]')} Instrumenting functions.
1181
+ [!] Confirmation needed.
1182
+ [!] Instrumenting functions.
1184
1183
  "
1185
1184
  `);
1186
1185
  }));
@@ -1229,16 +1228,16 @@ ${chalk_1.yellow('[!]')} Instrumenting functions.
1229
1228
  const output = context.stdout.toString();
1230
1229
  expect(code).toBe(0);
1231
1230
  expect(output).toMatchInlineSnapshot(`
1232
- "${chalk_1.bold(chalk_1.yellow('[!]'))} No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
1233
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure AWS region.
1234
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Configure Datadog settings.
1231
+ "[!] No AWS credentials found, let's set them up! Or you can re-run the command and supply the AWS credentials in the same way when you invoke the AWS CLI.
1232
+ [!] Configure AWS region.
1233
+ [!] Configure Datadog settings.
1235
1234
  Fetching Lambda functions, this might take a while.
1236
- ${chalk_1.bold(chalk_1.yellow('[Warning]'))} The environment, service and version tags have not been configured. Learn more about Datadog unified service tagging: ${chalk_1.underline(chalk_1.blueBright('https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.'))}
1237
- ${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.
1235
+ [Warning] The environment, service and version tags have not been configured. Learn more about Datadog unified service tagging: https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.
1236
+ [Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.
1238
1237
 
1239
- ${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
1240
- \t- ${chalk_1.bold('arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world')}
1241
- \t${chalk_1.bold(chalk_1.yellow('[Warning]'))} At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.
1238
+ [!] Functions to be updated:
1239
+ \t- arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
1240
+ \t[Warning] At least one latest layer version is being used. Ensure to lock in versions for production applications using \`--layerVersion\` and \`--extensionVersion\`.
1242
1241
 
1243
1242
  Will apply the following updates:
1244
1243
  UpdateFunctionConfiguration -> arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
@@ -1265,8 +1264,8 @@ TagResource -> arn:aws:lambda:sa-east-1:123456789012:function:lambda-hello-world
1265
1264
  {
1266
1265
  \\"dd_sls_ci\\": \\"v${version}\\"
1267
1266
  }
1268
- ${chalk_1.yellow('[!]')} Confirmation needed.
1269
- ${chalk_1.yellow('[!]')} Instrumenting functions.
1267
+ [!] Confirmation needed.
1268
+ [!] Instrumenting functions.
1270
1269
  "
1271
1270
  `);
1272
1271
  }));
@@ -1286,9 +1285,9 @@ ${chalk_1.yellow('[!]')} Instrumenting functions.
1286
1285
  const output = context.stdout.toString();
1287
1286
  expect(code).toBe(1);
1288
1287
  expect(output).toMatchInlineSnapshot(`
1289
- "${chalk_1.bold(chalk_1.yellow('[!]'))} Configure AWS region.
1288
+ "[!] Configure AWS region.
1290
1289
  Fetching Lambda functions, this might take a while.
1291
- ${chalk_1.red('[Error]')} Couldn't find any Lambda functions in the specified region.
1290
+ [Error] Couldn't find any Lambda functions in the specified region.
1292
1291
  "
1293
1292
  `);
1294
1293
  }));
@@ -1310,9 +1309,9 @@ ${chalk_1.red('[Error]')} Couldn't find any Lambda functions in the specified re
1310
1309
  const output = context.stdout.toString();
1311
1310
  expect(code).toBe(1);
1312
1311
  expect(output).toMatchInlineSnapshot(`
1313
- "${chalk_1.bold(chalk_1.yellow('[!]'))} Configure AWS region.
1312
+ "[!] Configure AWS region.
1314
1313
  Fetching Lambda functions, this might take a while.
1315
- ${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Max retry count exceeded. ListFunctionsError
1314
+ [Error] Couldn't fetch Lambda functions. Error: Max retry count exceeded. ListFunctionsError
1316
1315
  "
1317
1316
  `);
1318
1317
  }));
@@ -1349,7 +1348,7 @@ ${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Max retry coun
1349
1348
  const output = context.stdout.toString();
1350
1349
  expect(code).toBe(1);
1351
1350
  expect(output).toMatchInlineSnapshot(`
1352
- "${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Only the --extension-version argument should be set for the ruby2.7 runtime. Please remove the --layer-version argument from the instrument command.
1351
+ "[Error] Couldn't fetch Lambda functions. Error: Only the --extension-version argument should be set for the ruby2.7 runtime. Please remove the --layer-version argument from the instrument command.
1353
1352
  "
1354
1353
  `);
1355
1354
  }));
@@ -1386,7 +1385,7 @@ ${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Max retry coun
1386
1385
  const output = context.stdout.toString();
1387
1386
  expect(code).toBe(1);
1388
1387
  expect(output).toMatchInlineSnapshot(`
1389
- "${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Only the --extension-version argument should be set for the provided.al2 runtime. Please remove the --layer-version argument from the instrument command.
1388
+ "[Error] Couldn't fetch Lambda functions. Error: Only the --extension-version argument should be set for the provided.al2 runtime. Please remove the --layer-version argument from the instrument command.
1390
1389
  "
1391
1390
  `);
1392
1391
  }));
@@ -1424,7 +1423,7 @@ ${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Max retry coun
1424
1423
  const output = context.stdout.toString();
1425
1424
  expect(code).toBe(1);
1426
1425
  expect(output).toMatchInlineSnapshot(`
1427
- "${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Instrumenting arm64 architecture is not supported for the given dd-extension version. Please choose the latest dd-extension version or use x86_64 architecture.
1426
+ "[Error] Couldn't fetch Lambda functions. Error: Instrumenting arm64 architecture is not supported for the given dd-extension version. Please choose the latest dd-extension version or use x86_64 architecture.
1428
1427
  "
1429
1428
  `);
1430
1429
  }));
@@ -1574,7 +1573,7 @@ ${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Max retry coun
1574
1573
  command['config']['functions'] = ['arn:aws:lambda:ap-southeast-1:123456789012:function:lambda-hello-world'];
1575
1574
  yield command['getSettings']();
1576
1575
  let output = command.context.stdout.toString();
1577
- expect(output).toMatch(`${chalk_1.bold(chalk_1.yellow('[Warning]'))} The environment, service and version tags have not been configured. Learn more about Datadog unified service tagging: ${chalk_1.underline(chalk_1.blueBright('https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.'))}\n`);
1576
+ expect(output).toMatch('[Warning] The environment, service and version tags have not been configured. Learn more about Datadog unified service tagging: https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.\n');
1578
1577
  command = fixtures_1.createCommand(instrument_1.InstrumentCommand);
1579
1578
  command['config']['region'] = 'ap-southeast-1';
1580
1579
  command['config']['functions'] = ['arn:aws:lambda:ap-southeast-1:123456789012:function:lambda-hello-world'];
@@ -1582,7 +1581,7 @@ ${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Max retry coun
1582
1581
  command['config']['service'] = 'middletier';
1583
1582
  yield command['getSettings']();
1584
1583
  output = command.context.stdout.toString();
1585
- expect(output).toMatch(`${chalk_1.bold(chalk_1.yellow('[Warning]'))} The version tag has not been configured. Learn more about Datadog unified service tagging: ${chalk_1.underline(chalk_1.blueBright('https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.'))}\n`);
1584
+ expect(output).toMatch('[Warning] The version tag has not been configured. Learn more about Datadog unified service tagging: https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging/#serverless-environment.\n');
1586
1585
  }));
1587
1586
  test('aborts early if extraTags do not comply with expected key:value list', () => __awaiter(void 0, void 0, void 0, function* () {
1588
1587
  ;
@@ -1629,9 +1628,9 @@ ${chalk_1.red('[Error]')} Couldn't fetch Lambda functions. Error: Max retry coun
1629
1628
  ]);
1630
1629
  const output = command.context.stdout.toString();
1631
1630
  expect(output).toMatchInlineSnapshot(`
1632
- "${chalk_1.bold(chalk_1.yellow('[Warning]'))} Instrument your ${chalk_1.hex('#FF9900').bold('Lambda')} functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`${chalk_1.bold('uninstrument')}\` with the same arguments to revert the changes.
1633
- \n${chalk_1.bold(chalk_1.yellow('[!]'))} Functions to be updated:
1634
- \t- ${chalk_1.bold('my-func')}\n
1631
+ "[Warning] Instrument your Lambda functions in a dev or staging environment first. Should the instrumentation result be unsatisfactory, run \`uninstrument\` with the same arguments to revert the changes.
1632
+ \n[!] Functions to be updated:
1633
+ \t- my-func\n
1635
1634
  Will apply the following updates:
1636
1635
  CreateLogGroup -> my-log-group
1637
1636
  {