@datadog/datadog-ci-base 3.21.4 → 3.22.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 (157) hide show
  1. package/dist/cli.d.ts +13 -37
  2. package/dist/cli.js +26 -38
  3. package/dist/cli.js.map +1 -1
  4. package/dist/commands/aas/cli.d.ts +2 -0
  5. package/dist/commands/aas/cli.js +12 -0
  6. package/dist/commands/aas/cli.js.map +1 -0
  7. package/dist/commands/aas/common.d.ts +2 -2
  8. package/dist/commands/aas/common.js +2 -1
  9. package/dist/commands/aas/common.js.map +1 -1
  10. package/dist/commands/aas/instrument.d.ts +1 -1
  11. package/dist/commands/aas/instrument.js +5 -5
  12. package/dist/commands/aas/instrument.js.map +1 -1
  13. package/dist/commands/aas/uninstrument.d.ts +1 -1
  14. package/dist/commands/aas/uninstrument.js +5 -5
  15. package/dist/commands/aas/uninstrument.js.map +1 -1
  16. package/dist/commands/cloud-run/cli.d.ts +4 -0
  17. package/dist/commands/cloud-run/cli.js +14 -0
  18. package/dist/commands/cloud-run/cli.js.map +1 -0
  19. package/dist/commands/cloud-run/flare.d.ts +2 -2
  20. package/dist/commands/cloud-run/flare.js +2 -1
  21. package/dist/commands/cloud-run/flare.js.map +1 -1
  22. package/dist/commands/cloud-run/instrument.d.ts +2 -2
  23. package/dist/commands/cloud-run/instrument.js +6 -5
  24. package/dist/commands/cloud-run/instrument.js.map +1 -1
  25. package/dist/commands/cloud-run/uninstrument.d.ts +2 -2
  26. package/dist/commands/cloud-run/uninstrument.js +6 -5
  27. package/dist/commands/cloud-run/uninstrument.js.map +1 -1
  28. package/dist/commands/deployment/cli.d.ts +5 -0
  29. package/dist/commands/deployment/cli.js +16 -0
  30. package/dist/commands/deployment/cli.js.map +1 -0
  31. package/dist/commands/deployment/{correlate-image-command.d.ts → correlate-image.d.ts} +2 -2
  32. package/dist/commands/deployment/{correlate-image-command.js → correlate-image.js} +3 -2
  33. package/dist/commands/deployment/correlate-image.js.map +1 -0
  34. package/dist/commands/deployment/{correlate-command.d.ts → correlate.d.ts} +2 -2
  35. package/dist/commands/deployment/{correlate-command.js → correlate.js} +3 -2
  36. package/dist/commands/deployment/correlate.js.map +1 -0
  37. package/dist/commands/deployment/{gate-command.d.ts → gate.d.ts} +2 -2
  38. package/dist/commands/deployment/{gate-command.js → gate.js} +3 -2
  39. package/dist/commands/deployment/gate.js.map +1 -0
  40. package/dist/commands/deployment/{mark-command.d.ts → mark.d.ts} +2 -2
  41. package/dist/commands/deployment/{mark-command.js → mark.js} +3 -2
  42. package/dist/commands/deployment/mark.js.map +1 -0
  43. package/dist/commands/dora/cli.d.ts +2 -0
  44. package/dist/commands/dora/cli.js +10 -0
  45. package/dist/commands/dora/cli.js.map +1 -0
  46. package/dist/commands/dora/{deployment-command.d.ts → deployment.d.ts} +2 -2
  47. package/dist/commands/dora/{deployment-command.js → deployment.js} +7 -6
  48. package/dist/commands/dora/deployment.js.map +1 -0
  49. package/dist/commands/gate/cli.d.ts +2 -0
  50. package/dist/commands/gate/cli.js +10 -0
  51. package/dist/commands/gate/cli.js.map +1 -0
  52. package/dist/commands/gate/{evaluate-command.d.ts → evaluate.d.ts} +2 -2
  53. package/dist/commands/gate/{evaluate-command.js → evaluate.js} +3 -2
  54. package/dist/commands/gate/evaluate.js.map +1 -0
  55. package/dist/commands/git-metadata/cli.d.ts +2 -0
  56. package/dist/commands/git-metadata/cli.js +10 -0
  57. package/dist/commands/git-metadata/cli.js.map +1 -0
  58. package/dist/commands/git-metadata/upload.d.ts +2 -2
  59. package/dist/commands/git-metadata/upload.js +6 -5
  60. package/dist/commands/git-metadata/upload.js.map +1 -1
  61. package/dist/commands/lambda/cli.d.ts +4 -0
  62. package/dist/commands/lambda/cli.js +14 -0
  63. package/dist/commands/lambda/cli.js.map +1 -0
  64. package/dist/commands/lambda/flare.d.ts +2 -2
  65. package/dist/commands/lambda/flare.js +2 -1
  66. package/dist/commands/lambda/flare.js.map +1 -1
  67. package/dist/commands/lambda/instrument.d.ts +2 -2
  68. package/dist/commands/lambda/instrument.js +6 -5
  69. package/dist/commands/lambda/instrument.js.map +1 -1
  70. package/dist/commands/lambda/uninstrument.d.ts +2 -2
  71. package/dist/commands/lambda/uninstrument.js +6 -5
  72. package/dist/commands/lambda/uninstrument.js.map +1 -1
  73. package/dist/commands/plugin/check.d.ts +8 -0
  74. package/dist/commands/plugin/{check-command.js → check.js} +12 -19
  75. package/dist/commands/plugin/check.js.map +1 -0
  76. package/dist/commands/plugin/cli.d.ts +3 -0
  77. package/dist/commands/plugin/cli.js +14 -0
  78. package/dist/commands/plugin/cli.js.map +1 -0
  79. package/dist/commands/plugin/install.d.ts +7 -0
  80. package/dist/commands/plugin/install.js +42 -0
  81. package/dist/commands/plugin/install.js.map +1 -0
  82. package/dist/commands/plugin/list.d.ts +8 -0
  83. package/dist/commands/plugin/list.js +67 -0
  84. package/dist/commands/plugin/list.js.map +1 -0
  85. package/dist/commands/sarif/cli.d.ts +2 -0
  86. package/dist/commands/sarif/cli.js +10 -0
  87. package/dist/commands/sarif/cli.js.map +1 -0
  88. package/dist/commands/sarif/{upload-command.d.ts → upload.d.ts} +2 -2
  89. package/dist/commands/sarif/{upload-command.js → upload.js} +3 -2
  90. package/dist/commands/sarif/upload.js.map +1 -0
  91. package/dist/commands/sbom/cli.d.ts +2 -0
  92. package/dist/commands/sbom/cli.js +10 -0
  93. package/dist/commands/sbom/cli.js.map +1 -0
  94. package/dist/commands/sbom/{upload-command.d.ts → upload.d.ts} +2 -2
  95. package/dist/commands/sbom/{upload-command.js → upload.js} +3 -2
  96. package/dist/commands/sbom/upload.js.map +1 -0
  97. package/dist/commands/stepfunctions/cli.d.ts +3 -0
  98. package/dist/commands/stepfunctions/cli.js +12 -0
  99. package/dist/commands/stepfunctions/cli.js.map +1 -0
  100. package/dist/commands/stepfunctions/instrument.d.ts +2 -2
  101. package/dist/commands/stepfunctions/instrument.js +6 -5
  102. package/dist/commands/stepfunctions/instrument.js.map +1 -1
  103. package/dist/commands/stepfunctions/uninstrument.d.ts +2 -2
  104. package/dist/commands/stepfunctions/uninstrument.js +6 -5
  105. package/dist/commands/stepfunctions/uninstrument.js.map +1 -1
  106. package/dist/commands/synthetics/cli.d.ts +5 -0
  107. package/dist/commands/synthetics/cli.js +16 -0
  108. package/dist/commands/synthetics/cli.js.map +1 -0
  109. package/dist/commands/synthetics/{deploy-tests-command.d.ts → deploy-tests.d.ts} +2 -2
  110. package/dist/commands/synthetics/{deploy-tests-command.js → deploy-tests.js} +7 -6
  111. package/dist/commands/synthetics/deploy-tests.js.map +1 -0
  112. package/dist/commands/synthetics/{import-tests-command.d.ts → import-tests.d.ts} +2 -2
  113. package/dist/commands/synthetics/{import-tests-command.js → import-tests.js} +7 -6
  114. package/dist/commands/synthetics/import-tests.js.map +1 -0
  115. package/dist/commands/synthetics/{run-tests-command.d.ts → run-tests.d.ts} +2 -2
  116. package/dist/commands/synthetics/{run-tests-command.js → run-tests.js} +7 -6
  117. package/dist/commands/synthetics/run-tests.js.map +1 -0
  118. package/dist/commands/synthetics/{upload-application-command.d.ts → upload-application.d.ts} +2 -2
  119. package/dist/commands/synthetics/{upload-application-command.js → upload-application.js} +7 -6
  120. package/dist/commands/synthetics/upload-application.js.map +1 -0
  121. package/dist/commands/tag/cli.d.ts +2 -1
  122. package/dist/commands/tag/cli.js +7 -2
  123. package/dist/commands/tag/cli.js.map +1 -1
  124. package/dist/commands/tag/{tag-command.d.ts → tag.d.ts} +2 -2
  125. package/dist/commands/tag/{tag-command.js → tag.js} +3 -2
  126. package/dist/commands/tag/tag.js.map +1 -0
  127. package/dist/helpers/git/source-code-integration.js +1 -1
  128. package/dist/helpers/git/source-code-integration.js.map +1 -1
  129. package/dist/helpers/interfaces.d.ts +2 -2
  130. package/dist/helpers/is-standalone-binary.d.ts +1 -1
  131. package/dist/helpers/is-standalone-binary.js +0 -1
  132. package/dist/helpers/is-standalone-binary.js.map +1 -1
  133. package/dist/helpers/plugin.d.ts +4 -1
  134. package/dist/helpers/plugin.js +89 -12
  135. package/dist/helpers/plugin.js.map +1 -1
  136. package/dist/index.d.ts +9 -0
  137. package/dist/index.js +11 -0
  138. package/dist/index.js.map +1 -0
  139. package/dist/version.d.ts +1 -1
  140. package/dist/version.js +2 -2
  141. package/dist/version.js.map +1 -1
  142. package/package.json +16 -11
  143. package/dist/commands/deployment/correlate-command.js.map +0 -1
  144. package/dist/commands/deployment/correlate-image-command.js.map +0 -1
  145. package/dist/commands/deployment/gate-command.js.map +0 -1
  146. package/dist/commands/deployment/mark-command.js.map +0 -1
  147. package/dist/commands/dora/deployment-command.js.map +0 -1
  148. package/dist/commands/gate/evaluate-command.js.map +0 -1
  149. package/dist/commands/plugin/check-command.d.ts +0 -7
  150. package/dist/commands/plugin/check-command.js.map +0 -1
  151. package/dist/commands/sarif/upload-command.js.map +0 -1
  152. package/dist/commands/sbom/upload-command.js.map +0 -1
  153. package/dist/commands/synthetics/deploy-tests-command.js.map +0 -1
  154. package/dist/commands/synthetics/import-tests-command.js.map +0 -1
  155. package/dist/commands/synthetics/run-tests-command.js.map +0 -1
  156. package/dist/commands/synthetics/upload-application-command.js.map +0 -1
  157. package/dist/commands/tag/tag-command.js.map +0 -1
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.PluginListCommand = void 0;
16
+ const chalk_1 = __importDefault(require("chalk"));
17
+ const clipanion_1 = require("clipanion");
18
+ const logger_1 = require("../../helpers/logger");
19
+ const plugin_1 = require("../../helpers/plugin");
20
+ const __1 = require("../..");
21
+ class PluginListCommand extends __1.BaseCommand {
22
+ constructor() {
23
+ super(...arguments);
24
+ // Positional
25
+ this.json = clipanion_1.Option.Boolean('--json', { required: false });
26
+ this.logger = new logger_1.Logger((s) => {
27
+ this.context.stdout.write(s);
28
+ }, logger_1.LogLevel.INFO);
29
+ }
30
+ execute() {
31
+ return __awaiter(this, void 0, void 0, function* () {
32
+ const allPlugins = (0, plugin_1.listAllPlugins)();
33
+ const builtinPlugins = new Set(this.context.builtinPlugins);
34
+ const installablePlugins = allPlugins.filter((plugin) => !builtinPlugins.has(plugin));
35
+ if (this.json) {
36
+ this.logger.info(JSON.stringify(installablePlugins.map((plugin) => ({
37
+ name: plugin,
38
+ scope: getScope(plugin),
39
+ }))));
40
+ return 0;
41
+ }
42
+ if (installablePlugins.length === 0) {
43
+ this.logger.info('All plugins are currently built-in. We will start splitting them in next major release.');
44
+ return 0;
45
+ }
46
+ this.logger.info(`The following plugins are available:\n`);
47
+ this.logger.info(installablePlugins
48
+ .map((plugin) => ` - ${chalk_1.default.bold.magenta(plugin)} (install with ${chalk_1.default.bold.cyan(`datadog-ci plugin install ${getScope(plugin)}`)})`)
49
+ .join('\n'));
50
+ return 0;
51
+ });
52
+ }
53
+ }
54
+ exports.PluginListCommand = PluginListCommand;
55
+ PluginListCommand.paths = [['plugin', 'list']];
56
+ PluginListCommand.usage = clipanion_1.Command.Usage({
57
+ category: 'Plugins',
58
+ description: 'List the available plugins.',
59
+ details: `
60
+ This command lists the plugins that can be installed with the \`datadog-ci plugin install\` command.
61
+
62
+ All other plugins are **built-in** and are not listed here.
63
+ `,
64
+ examples: [['List the available plugins', 'datadog-ci plugin list']],
65
+ });
66
+ const getScope = (plugin) => plugin.replace('@datadog/datadog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AC,IAAI,CAAC,yFAAyF,CAAC,CAAA;gBAE3G,OAAO,CAAC,CAAA;aACT;YAED,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,wCAAwC,CAAC,CAAA;YAC1D,IAAI,CAAC,MAAM,CAAC,IAAI,CACd,kBAAkB;iBACf,GAAG,CACF,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,eAAK,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,kBAAkB,eAAK,CAAC,IAAI,CAAC,IAAI,CAAC,6BAA6B,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CACxH;iBACA,IAAI,CAAC,IAAI,CAAC,CACd,CAAA;YAED,OAAO,CAAC,CAAA;QACV,CAAC;KAAA;;AAxDH,8CAyDC;AAxDe,uBAAK,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,AAAvB,CAAuB;AAE5B,uBAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,6BAA6B;IAC1C,OAAO,EAAE;;;;KAIR;IACD,QAAQ,EAAE,CAAC,CAAC,4BAA4B,EAAE,wBAAwB,CAAC,CAAC;CACrE,CAAC,AATiB,CASjB;AA+CJ,MAAM,QAAQ,GAAG,CAAC,MAAc,EAAU,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { SarifUploadCommand } from './upload';
2
+ export declare const commands: (typeof SarifUploadCommand)[];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commands = void 0;
4
+ /* eslint-disable import-x/order */
5
+ const upload_1 = require("./upload");
6
+ // prettier-ignore
7
+ exports.commands = [
8
+ upload_1.SarifUploadCommand,
9
+ ];
10
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/commands/sarif/cli.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,qCAA2C;AAE3C,kBAAkB;AACL,QAAA,QAAQ,GAAG;IACtB,2BAAkB;CACnB,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class SarifUploadCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class SarifUploadCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  protected fips: boolean;
@@ -13,7 +13,8 @@ exports.SarifUploadCommand = void 0;
13
13
  const clipanion_1 = require("clipanion");
14
14
  const plugin_1 = require("../../helpers/plugin");
15
15
  const validation_1 = require("../../helpers/validation");
16
- class SarifUploadCommand extends clipanion_1.Command {
16
+ const __1 = require("../..");
17
+ class SarifUploadCommand extends __1.BaseCommand {
17
18
  constructor() {
18
19
  super(...arguments);
19
20
  this.fips = clipanion_1.Option.Boolean('--fips', false);
@@ -59,4 +60,4 @@ SarifUploadCommand.usage = clipanion_1.Command.Usage({
59
60
  ],
60
61
  ],
61
62
  });
62
- //# sourceMappingURL=upload-command.js.map
63
+ //# sourceMappingURL=upload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload.js","sourceRoot":"","sources":["../../../src/commands/sarif/upload.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAyC;AAEzC,iDAAyD;AACzD,yDAAkD;AAElD,6BAAiC;AAEjC,MAAa,kBAAmB,SAAQ,eAAW;IAAnD;;QA2BY,SAAI,GAAG,kBAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;QACtC,oBAAe,GAAG,kBAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAA;QAE9D,cAAS,GAAG,kBAAM,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,CAAC,EAAC,CAAC,CAAA;QACtC,WAAM,GAAG,kBAAM,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,CAAC,CAAA;QAC3C,QAAG,GAAG,kBAAM,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;QAClC,mBAAc,GAAG,kBAAM,CAAC,MAAM,CAAC,mBAAmB,EAAE,IAAI,EAAE,EAAC,SAAS,EAAE,IAAA,sBAAS,GAAE,EAAC,CAAC,CAAA;QACnF,mBAAc,GAAG,kBAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;QAC3C,SAAI,GAAG,kBAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;QAC7B,YAAO,GAAG,kBAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAA;QAC3C,aAAQ,GAAG,kBAAM,CAAC,OAAO,CAAC,aAAa,EAAE,KAAK,CAAC,CAAA;QAC/C,aAAQ,GAAG,kBAAM,CAAC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAA;IAK5D,CAAC;IAHc,OAAO;;YAClB,OAAO,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAA;QACnC,CAAC;KAAA;;AA1CH,gDA2CC;AA1Ce,wBAAK,GAAG,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,AAAxB,CAAwB;AAE7B,wBAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,wCAAwC;IACrD,OAAO,EAAE;;;KAGR;IACD,QAAQ,EAAE;QACR,CAAC,oDAAoD,EAAE,2BAA2B,CAAC;QACnF;YACE,kFAAkF;YAClF,qEAAqE;SACtE;QACD;YACE,gFAAgF;YAChF,iEAAiE;SAClE;QACD;YACE,6EAA6E;YAC7E,qDAAqD;SACtD;KACF;CACF,CAAC,AAtBiB,CAsBjB"}
@@ -0,0 +1,2 @@
1
+ import { SbomUploadCommand } from './upload';
2
+ export declare const commands: (typeof SbomUploadCommand)[];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commands = void 0;
4
+ /* eslint-disable import-x/order */
5
+ const upload_1 = require("./upload");
6
+ // prettier-ignore
7
+ exports.commands = [
8
+ upload_1.SbomUploadCommand,
9
+ ];
10
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/commands/sbom/cli.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,qCAA0C;AAE1C,kBAAkB;AACL,QAAA,QAAQ,GAAG;IACtB,0BAAiB;CAClB,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class SbomUploadCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class SbomUploadCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  protected fips: boolean;
@@ -12,7 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SbomUploadCommand = void 0;
13
13
  const clipanion_1 = require("clipanion");
14
14
  const plugin_1 = require("../../helpers/plugin");
15
- class SbomUploadCommand extends clipanion_1.Command {
15
+ const __1 = require("../..");
16
+ class SbomUploadCommand extends __1.BaseCommand {
16
17
  constructor() {
17
18
  super(...arguments);
18
19
  // BASE COMMAND START
@@ -43,4 +44,4 @@ SbomUploadCommand.usage = clipanion_1.Command.Usage({
43
44
  `,
44
45
  examples: [['Upload the SBOM file: sbom.json', 'datadog-ci sbom upload sbom.json']],
45
46
  });
46
- //# sourceMappingURL=upload-command.js.map
47
+ //# sourceMappingURL=upload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload.js","sourceRoot":"","sources":["../../../src/commands/sbom/upload.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAyC;AAEzC,iDAAyD;AAEzD,6BAAiC;AAEjC,MAAa,iBAAkB,SAAQ,eAAW;IAAlD;;QAYE,qBAAqB;QACX,SAAI,GAAG,kBAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;QACtC,oBAAe,GAAG,kBAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAA;QACxE,mBAAmB;QAET,aAAQ,GAAG,kBAAM,CAAC,MAAM,EAAE,CAAA;QAC1B,mBAAc,GAAG,kBAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;QAC3C,QAAG,GAAG,kBAAM,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;QAClC,SAAI,GAAG,kBAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;QAC7B,YAAO,GAAG,kBAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAA;QAC3C,UAAK,GAAG,kBAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;QACjC,aAAQ,GAAG,kBAAM,CAAC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAA;IAK5D,CAAC;IAHc,OAAO;;YAClB,OAAO,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAA;QACnC,CAAC;KAAA;;AA3BH,8CA4BC;AA3Be,uBAAK,GAAG,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,AAAvB,CAAuB;AAE5B,uBAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,+BAA+B;IAC5C,OAAO,EAAE;;KAER;IACD,QAAQ,EAAE,CAAC,CAAC,iCAAiC,EAAE,kCAAkC,CAAC,CAAC;CACpF,CAAC,AAPiB,CAOjB"}
@@ -0,0 +1,3 @@
1
+ import { StepfunctionsInstrumentCommand } from './instrument';
2
+ import { StepfunctionsUninstrumentCommand } from './uninstrument';
3
+ export declare const commands: (typeof StepfunctionsInstrumentCommand | typeof StepfunctionsUninstrumentCommand)[];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commands = void 0;
4
+ /* eslint-disable import-x/order */
5
+ const instrument_1 = require("./instrument");
6
+ const uninstrument_1 = require("./uninstrument");
7
+ // prettier-ignore
8
+ exports.commands = [
9
+ instrument_1.StepfunctionsInstrumentCommand,
10
+ uninstrument_1.StepfunctionsUninstrumentCommand,
11
+ ];
12
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/commands/stepfunctions/cli.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,6CAA2D;AAC3D,iDAA+D;AAE/D,kBAAkB;AACL,QAAA,QAAQ,GAAG;IACtB,2CAA8B;IAC9B,+CAAgC;CACjC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class InstrumentStepFunctionsCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class StepfunctionsInstrumentCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  protected dryRun: boolean;
@@ -9,10 +9,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.InstrumentStepFunctionsCommand = void 0;
12
+ exports.StepfunctionsInstrumentCommand = void 0;
13
13
  const clipanion_1 = require("clipanion");
14
14
  const plugin_1 = require("../../helpers/plugin");
15
- class InstrumentStepFunctionsCommand extends clipanion_1.Command {
15
+ const __1 = require("../..");
16
+ class StepfunctionsInstrumentCommand extends __1.BaseCommand {
16
17
  constructor() {
17
18
  super(...arguments);
18
19
  this.dryRun = clipanion_1.Option.Boolean('-d,--dry-run', false);
@@ -31,9 +32,9 @@ class InstrumentStepFunctionsCommand extends clipanion_1.Command {
31
32
  });
32
33
  }
33
34
  }
34
- exports.InstrumentStepFunctionsCommand = InstrumentStepFunctionsCommand;
35
- InstrumentStepFunctionsCommand.paths = [['stepfunctions', 'instrument']];
36
- InstrumentStepFunctionsCommand.usage = clipanion_1.Command.Usage({
35
+ exports.StepfunctionsInstrumentCommand = StepfunctionsInstrumentCommand;
36
+ StepfunctionsInstrumentCommand.paths = [['stepfunctions', 'instrument']];
37
+ StepfunctionsInstrumentCommand.usage = clipanion_1.Command.Usage({
37
38
  category: 'Serverless',
38
39
  description: 'Subscribe Step Function log groups to a Datadog Forwarder.',
39
40
  details: '--step-function expects a Step Function ARN\n--forwarder expects a Lambda ARN',
@@ -1 +1 @@
1
- {"version":3,"file":"instrument.js","sourceRoot":"","sources":["../../../src/commands/stepfunctions/instrument.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAyC;AAEzC,iDAAyD;AAEzD,MAAa,8BAA+B,SAAQ,mBAAO;IAA3D;;QAuBY,WAAM,GAAG,kBAAM,CAAC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAA;QAC9C,gBAAW,GAAG,kBAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;QACvC,iBAAY,GAAG,kBAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAA;QAC3C,YAAO,GAAG,kBAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;QACpC,qBAAgB,GAAG,kBAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAA;QACrD,qCAAgC,GAAG,kBAAM,CAAC,OAAO,CACzD,oEAAoE,EACpE,KAAK,CACN,CAAA;QACS,2BAAsB,GAAG,kBAAM,CAAC,OAAO,CAAC,4BAA4B,EAAE,KAAK,CAAC,CAAA;QAE5E,SAAI,GAAG,kBAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;QACtC,oBAAe,GAAG,kBAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAA;IAI1E,CAAC;IAHc,OAAO;;YAClB,OAAO,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAA;QACnC,CAAC;KAAA;;AAtCH,wEAuCC;AAtCe,oCAAK,GAAG,CAAC,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CAAC,CAAA;QACnC,CAAC;KAAA;;AAtCH,wEAuCC;AAtCe,oCAAK,GAAG,CAAC,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC,AAApC,CAAoC;AAEzC,oCAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,4DAA4D;IACzE,OAAO,EAAE,+EAA+E;IACxF,QAAQ,EAAE;QACR;YACE,sFAAsF;YACtF,mPAAmP;SACpP;QACD;YACE,4EAA4E;YAC5E,6PAA6P;SAC9P;QACD;YACE,8FAA8F;YAC9F,4UAA4U;SAC7U;KACF;CACF,CAAC,AAlBiB,CAkBjB"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class UninstrumentStepFunctionsCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class StepfunctionsUninstrumentCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  protected dryRun: boolean;
@@ -9,10 +9,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UninstrumentStepFunctionsCommand = void 0;
12
+ exports.StepfunctionsUninstrumentCommand = void 0;
13
13
  const clipanion_1 = require("clipanion");
14
14
  const plugin_1 = require("../../helpers/plugin");
15
- class UninstrumentStepFunctionsCommand extends clipanion_1.Command {
15
+ const __1 = require("../..");
16
+ class StepfunctionsUninstrumentCommand extends __1.BaseCommand {
16
17
  constructor() {
17
18
  super(...arguments);
18
19
  this.dryRun = clipanion_1.Option.Boolean('-d,--dry-run', false);
@@ -32,9 +33,9 @@ class UninstrumentStepFunctionsCommand extends clipanion_1.Command {
32
33
  });
33
34
  }
34
35
  }
35
- exports.UninstrumentStepFunctionsCommand = UninstrumentStepFunctionsCommand;
36
- UninstrumentStepFunctionsCommand.paths = [['stepfunctions', 'uninstrument']];
37
- UninstrumentStepFunctionsCommand.usage = clipanion_1.Command.Usage({
36
+ exports.StepfunctionsUninstrumentCommand = StepfunctionsUninstrumentCommand;
37
+ StepfunctionsUninstrumentCommand.paths = [['stepfunctions', 'uninstrument']];
38
+ StepfunctionsUninstrumentCommand.usage = clipanion_1.Command.Usage({
38
39
  category: 'Serverless',
39
40
  description: 'Remove Step Function log groups subscription filter created by datadog-ci.',
40
41
  details: '--stepfunction expects a Step Function ARN',
@@ -1 +1 @@
1
- {"version":3,"file":"uninstrument.js","sourceRoot":"","sources":["../../../src/commands/stepfunctions/uninstrument.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAyC;AAEzC,iDAAyD;AAEzD,MAAa,gCAAiC,SAAQ,mBAAO;IAA7D;;QAuBY,WAAM,GAAG,kBAAM,CAAC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,CAAA;QAC9C,qBAAgB,GAAG,kBAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAA;QAE/D,uIAAuI;QACvI,mDAAmD;QACzC,gBAAW,GAAG,kBAAM,CAAC,MAAM,CAAC,UAAU,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC,CAAA;QACvD,iBAAY,GAAG,kBAAM,CAAC,MAAM,CAAC,aAAa,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC,CAAA;QAC3D,YAAO,GAAG,kBAAM,CAAC,MAAM,CAAC,WAAW,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC,CAAA;QACpD,qCAAgC,GAAG,kBAAM,CAAC,OAAO,CACzD,oEAAoE,EACpE,KAAK,EACL,EAAC,MAAM,EAAE,IAAI,EAAC,CACf,CAAA;QAES,SAAI,GAAG,kBAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;QACtC,oBAAe,GAAG,kBAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAA;IAI1E,CAAC;IAHc,OAAO;;YAClB,OAAO,IAAA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,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;QACtC,oBAAe,GAAG,kBAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAA;IAI1E,CAAC;IAHc,OAAO;;YAClB,OAAO,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAA;QACnC,CAAC;KAAA;;AAzCH,4EA0CC;AAzCe,sCAAK,GAAG,CAAC,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC,AAAtC,CAAsC;AAE3C,sCAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,4EAA4E;IACzF,OAAO,EAAE,4CAA4C;IACrD,QAAQ,EAAE;QACR;YACE,uGAAuG;YACvG,8HAA8H;SAC/H;QACD;YACE,6FAA6F;YAC7F,wIAAwI;SACzI;QACD;YACE,uGAAuG;YACvG,uNAAuN;SACxN;KACF;CACF,CAAC,AAlBiB,CAkBjB"}
@@ -0,0 +1,5 @@
1
+ import { SyntheticsDeployTestsCommand } from './deploy-tests';
2
+ import { SyntheticsImportTestsCommand } from './import-tests';
3
+ import { SyntheticsRunTestsCommand } from './run-tests';
4
+ import { SyntheticsUploadApplicationCommand } from './upload-application';
5
+ export declare const commands: (typeof SyntheticsDeployTestsCommand | typeof SyntheticsImportTestsCommand | typeof SyntheticsRunTestsCommand | typeof SyntheticsUploadApplicationCommand)[];
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commands = void 0;
4
+ /* eslint-disable import-x/order */
5
+ const deploy_tests_1 = require("./deploy-tests");
6
+ const import_tests_1 = require("./import-tests");
7
+ const run_tests_1 = require("./run-tests");
8
+ const upload_application_1 = require("./upload-application");
9
+ // prettier-ignore
10
+ exports.commands = [
11
+ deploy_tests_1.SyntheticsDeployTestsCommand,
12
+ import_tests_1.SyntheticsImportTestsCommand,
13
+ run_tests_1.SyntheticsRunTestsCommand,
14
+ upload_application_1.SyntheticsUploadApplicationCommand,
15
+ ];
16
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/commands/synthetics/cli.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,iDAA2D;AAC3D,iDAA2D;AAC3D,2CAAqD;AACrD,6DAAuE;AAEvE,kBAAkB;AACL,QAAA,QAAQ,GAAG;IACtB,2CAA4B;IAC5B,2CAA4B;IAC5B,qCAAyB;IACzB,uDAAkC;CACnC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class DeployTestsCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class SyntheticsDeployTestsCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  protected apiKey: string | undefined;
@@ -9,11 +9,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.DeployTestsCommand = void 0;
12
+ exports.SyntheticsDeployTestsCommand = void 0;
13
13
  /* eslint-disable @typescript-eslint/member-ordering */
14
14
  const clipanion_1 = require("clipanion");
15
15
  const plugin_1 = require("../../helpers/plugin");
16
16
  const utils_1 = require("../../helpers/utils");
17
+ const __1 = require("../..");
17
18
  const datadogDocsBaseUrl = 'https://docs.datadoghq.com';
18
19
  // BASE COMMAND START
19
20
  const $B1 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/account_management/api-app-keys`);
@@ -21,7 +22,7 @@ const $B2 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/continuous_test
21
22
  const $B3 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/getting_started/site/#access-the-datadog-site`);
22
23
  // BASE COMMAND END
23
24
  const $1 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/continuous_testing/cicd_integrations/configuration#test-files`);
24
- class DeployTestsCommand extends clipanion_1.Command {
25
+ class SyntheticsDeployTestsCommand extends __1.BaseCommand {
25
26
  constructor() {
26
27
  super(...arguments);
27
28
  // BASE COMMAND START
@@ -57,9 +58,9 @@ class DeployTestsCommand extends clipanion_1.Command {
57
58
  });
58
59
  }
59
60
  }
60
- exports.DeployTestsCommand = DeployTestsCommand;
61
- DeployTestsCommand.paths = [['synthetics', 'deploy-tests']];
62
- DeployTestsCommand.usage = clipanion_1.Command.Usage({
61
+ exports.SyntheticsDeployTestsCommand = SyntheticsDeployTestsCommand;
62
+ SyntheticsDeployTestsCommand.paths = [['synthetics', 'deploy-tests']];
63
+ SyntheticsDeployTestsCommand.usage = clipanion_1.Command.Usage({
63
64
  category: 'Synthetics',
64
65
  description: 'Deploy Local Test Definitions as Main Test Definitions in Datadog.',
65
66
  details: `
@@ -76,4 +77,4 @@ DeployTestsCommand.usage = clipanion_1.Command.Usage({
76
77
  ],
77
78
  ],
78
79
  });
79
- //# sourceMappingURL=deploy-tests-command.js.map
80
+ //# sourceMappingURL=deploy-tests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deploy-tests.js","sourceRoot":"","sources":["../../../src/commands/synthetics/deploy-tests.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAuD;AACvD,yCAAyC;AAEzC,iDAAyD;AACzD,+CAAoD;AAEpD,6BAAiC;AAEjC,MAAM,kBAAkB,GAAG,4BAA4B,CAAA;AAEvD,qBAAqB;AACrB,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAAC,GAAG,kBAAkB,kCAAkC,CAAC,CAAA;AACrF,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAC1B,GAAG,kBAAkB,+EAA+E,CACrG,CAAA;AACD,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAAC,GAAG,kBAAkB,gDAAgD,CAAC,CAAA;AACnG,mBAAmB;AAEnB,MAAM,EAAE,GAAG,IAAA,wBAAgB,EAAC,GAAG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,OAAO,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAA;QACnC,CAAC;KAAA;;AAtDH,oEAuDC;AAtDe,kCAAK,GAAG,CAAC,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC,AAAnC,CAAmC;AAExC,kCAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,oEAAoE;IACjF,OAAO,EAAE;;KAER;IACD,QAAQ,EAAE;QACR;YACE,yDAAyD;YACzD,oFAAoF;SACrF;QACD;YACE,mCAAmC;YACnC,gHAAgH;SACjH;KACF;CACF,CAAC,AAhBiB,CAgBjB"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class ImportTestsCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class SyntheticsImportTestsCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  protected apiKey: string | undefined;
@@ -9,11 +9,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ImportTestsCommand = void 0;
12
+ exports.SyntheticsImportTestsCommand = void 0;
13
13
  /* eslint-disable @typescript-eslint/member-ordering */
14
14
  const clipanion_1 = require("clipanion");
15
15
  const plugin_1 = require("../../helpers/plugin");
16
16
  const utils_1 = require("../../helpers/utils");
17
+ const __1 = require("../..");
17
18
  const datadogDocsBaseUrl = 'https://docs.datadoghq.com';
18
19
  const datadogAppBaseUrl = 'https://app.datadoghq.com';
19
20
  // BASE COMMAND START
@@ -24,7 +25,7 @@ const $B3 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/getting_started
24
25
  const $1 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/continuous_testing/cicd_integrations/configuration#test-files`);
25
26
  const $2 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/synthetics/explore/#search`);
26
27
  const $3 = (0, utils_1.makeTerminalLink)(`${datadogAppBaseUrl}/synthetics/tests`);
27
- class ImportTestsCommand extends clipanion_1.Command {
28
+ class SyntheticsImportTestsCommand extends __1.BaseCommand {
28
29
  constructor() {
29
30
  super(...arguments);
30
31
  // BASE COMMAND START
@@ -58,9 +59,9 @@ class ImportTestsCommand extends clipanion_1.Command {
58
59
  });
59
60
  }
60
61
  }
61
- exports.ImportTestsCommand = ImportTestsCommand;
62
- ImportTestsCommand.paths = [['synthetics', 'import-tests']];
63
- ImportTestsCommand.usage = clipanion_1.Command.Usage({
62
+ exports.SyntheticsImportTestsCommand = SyntheticsImportTestsCommand;
63
+ SyntheticsImportTestsCommand.paths = [['synthetics', 'import-tests']];
64
+ SyntheticsImportTestsCommand.usage = clipanion_1.Command.Usage({
64
65
  category: 'Synthetics',
65
66
  description: 'Import the Main Test Definition from a Datadog scheduled test as a Local Test Definition.',
66
67
  details: `
@@ -74,4 +75,4 @@ ImportTestsCommand.usage = clipanion_1.Command.Usage({
74
75
  ['Override the default glob pattern', 'datadog-ci synthetics import-tests -f test-file.synthetics.json'],
75
76
  ],
76
77
  });
77
- //# sourceMappingURL=import-tests-command.js.map
78
+ //# sourceMappingURL=import-tests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-tests.js","sourceRoot":"","sources":["../../../src/commands/synthetics/import-tests.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAuD;AACvD,yCAAyC;AAEzC,iDAAyD;AACzD,+CAAoD;AAEpD,6BAAiC;AAEjC,MAAM,kBAAkB,GAAG,4BAA4B,CAAA;AACvD,MAAM,iBAAiB,GAAG,2BAA2B,CAAA;AAErD,qBAAqB;AACrB,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAAC,GAAG,kBAAkB,kCAAkC,CAAC,CAAA;AACrF,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAC1B,GAAG,kBAAkB,+EAA+E,CACrG,CAAA;AACD,MAAM,GAAG,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,KAAK,CAAC,gBAAgB,EAAE,EAAC,WAAW,EAAE,0CAA0C,EAAC,CAAC,CAAA;QACrG,oBAAe,GAAG,kBAAM,CAAC,MAAM,CAAC,aAAa,EAAE;YACpD,WAAW,EAAE,SAAS,EAAE,CAAA,cAAc,uDAAuD,EAAE,CAAA,wCAAwC,+CAA+C;SACvL,CAAC,CAAA;IAKJ,CAAC;IAHc,OAAO;;YAClB,OAAO,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAA;QACnC,CAAC;KAAA;;AA/CH,oEAgDC;AA/Ce,kCAAK,GAAG,CAAC,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC,AAAnC,CAAmC;AAExC,kCAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,2FAA2F;IACxG,OAAO,EAAE;;KAER;IACD,QAAQ,EAAE;QACR;YACE,0CAA0C;YAC1C,oFAAoF;SACrF;QACD,CAAC,mCAAmC,EAAE,iEAAiE,CAAC;KACzG;CACF,CAAC,AAbiB,CAajB"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class RunTestsCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class SyntheticsRunTestsCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  jUnitReport: string | undefined;
@@ -32,12 +32,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
32
32
  });
33
33
  };
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
- exports.RunTestsCommand = void 0;
35
+ exports.SyntheticsRunTestsCommand = void 0;
36
36
  /* eslint-disable @typescript-eslint/member-ordering */
37
37
  const clipanion_1 = require("clipanion");
38
38
  const plugin_1 = require("../../helpers/plugin");
39
39
  const utils_1 = require("../../helpers/utils");
40
40
  const validation = __importStar(require("../../helpers/validation"));
41
+ const __1 = require("../..");
41
42
  const datadogDocsBaseUrl = 'https://docs.datadoghq.com';
42
43
  const datadogAppBaseUrl = 'https://app.datadoghq.com';
43
44
  // BASE COMMAND START
@@ -51,7 +52,7 @@ const $3 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/synthetics/explo
51
52
  const $4 = (0, utils_1.makeTerminalLink)(`${datadogAppBaseUrl}/synthetics/tests`);
52
53
  const $5 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/continuous_testing/environments/proxy_firewall_vpn#what-is-the-testing-tunnel`);
53
54
  const $6 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/synthetics/mobile_app_testing/`);
54
- class RunTestsCommand extends clipanion_1.Command {
55
+ class SyntheticsRunTestsCommand extends __1.BaseCommand {
55
56
  constructor() {
56
57
  super(...arguments);
57
58
  // JUnit options
@@ -127,12 +128,12 @@ class RunTestsCommand extends clipanion_1.Command {
127
128
  });
128
129
  }
129
130
  }
130
- exports.RunTestsCommand = RunTestsCommand;
131
- RunTestsCommand.paths = [
131
+ exports.SyntheticsRunTestsCommand = SyntheticsRunTestsCommand;
132
+ SyntheticsRunTestsCommand.paths = [
132
133
  ['synthetics', 'run-tests'],
133
134
  ['synthetics', 'build-and-test'],
134
135
  ];
135
- RunTestsCommand.usage = clipanion_1.Command.Usage({
136
+ SyntheticsRunTestsCommand.usage = clipanion_1.Command.Usage({
136
137
  category: 'Synthetics',
137
138
  description: 'Run Synthetic tests with Datadog.',
138
139
  details: `
@@ -155,4 +156,4 @@ RunTestsCommand.usage = clipanion_1.Command.Usage({
155
156
  ],
156
157
  ],
157
158
  });
158
- //# sourceMappingURL=run-tests-command.js.map
159
+ //# sourceMappingURL=run-tests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-tests.js","sourceRoot":"","sources":["../../../src/commands/synthetics/run-tests.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAuD;AACvD,yCAAyC;AAEzC,iDAAyD;AACzD,+CAAoD;AACp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,EAAE,gBAAgB,CAAC;CACjC,AAHkB,CAGlB;AAEa,+BAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,mCAAmC;IAChD,OAAO,EAAE;;;KAGR;IACD,QAAQ,EAAE;QACR;YACE,0CAA0C;YAC1C,iFAAiF;SAClF;QACD,CAAC,oCAAoC,EAAE,0DAA0D,CAAC;QAClG;YACE,gEAAgE;YAChE,6GAA6G;SAC9G;QACD;YACE,qEAAqE;YACrE,uGAAuG;SACxG;KACF;CACF,CAAC,AAtBiB,CAsBjB"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class UploadApplicationCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class SyntheticsUploadApplicationCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  protected apiKey: string | undefined;
@@ -9,18 +9,19 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UploadApplicationCommand = void 0;
12
+ exports.SyntheticsUploadApplicationCommand = void 0;
13
13
  /* eslint-disable @typescript-eslint/member-ordering */
14
14
  const clipanion_1 = require("clipanion");
15
15
  const plugin_1 = require("../../helpers/plugin");
16
16
  const utils_1 = require("../../helpers/utils");
17
+ const __1 = require("../..");
17
18
  const datadogDocsBaseUrl = 'https://docs.datadoghq.com';
18
19
  // BASE COMMAND START
19
20
  const $B1 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/account_management/api-app-keys`);
20
21
  const $B2 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/continuous_testing/cicd_integrations/configuration#global-configuration-file`);
21
22
  const $B3 = (0, utils_1.makeTerminalLink)(`${datadogDocsBaseUrl}/getting_started/site/#access-the-datadog-site`);
22
23
  // BASE COMMAND END
23
- class UploadApplicationCommand extends clipanion_1.Command {
24
+ class SyntheticsUploadApplicationCommand extends __1.BaseCommand {
24
25
  constructor() {
25
26
  super(...arguments);
26
27
  // BASE COMMAND START
@@ -58,9 +59,9 @@ class UploadApplicationCommand extends clipanion_1.Command {
58
59
  });
59
60
  }
60
61
  }
61
- exports.UploadApplicationCommand = UploadApplicationCommand;
62
- UploadApplicationCommand.paths = [['synthetics', 'upload-application']];
63
- UploadApplicationCommand.usage = clipanion_1.Command.Usage({
62
+ exports.SyntheticsUploadApplicationCommand = SyntheticsUploadApplicationCommand;
63
+ SyntheticsUploadApplicationCommand.paths = [['synthetics', 'upload-application']];
64
+ SyntheticsUploadApplicationCommand.usage = clipanion_1.Command.Usage({
64
65
  category: 'Synthetics',
65
66
  description: 'Upload a new version to an existing mobile application in Datadog.',
66
67
  details: `
@@ -74,4 +75,4 @@ UploadApplicationCommand.usage = clipanion_1.Command.Usage({
74
75
  ],
75
76
  ],
76
77
  });
77
- //# sourceMappingURL=upload-application-command.js.map
78
+ //# sourceMappingURL=upload-application.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upload-application.js","sourceRoot":"","sources":["../../../src/commands/synthetics/upload-application.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAuD;AACvD,yCAAyC;AAEzC,iDAAyD;AACzD,+CAAoD;AAEpD,6BAAiC;AAEjC,MAAM,kBAAkB,GAAG,4BAA4B,CAAA;AAEvD,qBAAqB;AACrB,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAAC,GAAG,kBAAkB,kCAAkC,CAAC,CAAA;AACrF,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAC1B,GAAG,kBAAkB,+EAA+E,CACrG,CAAA;AACD,MAAM,GAAG,GAAG,IAAA,wBAAgB,EAAC,GAAG,kBAAkB,gDAAgD,CAAC,CAAA;AACnG,mBAAmB;AAEnB,MAAa,kCAAmC,SAAQ,eAAW;IAAnE;;QAkBE,qBAAqB;QACX,WAAM,GAAG,kBAAM,CAAC,MAAM,CAAC,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AyC;AAE9C,wCAAK,GAAG,mBAAO,CAAC,KAAK,CAAC;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,oEAAoE;IACjF,OAAO,EAAE;;;KAGR;IACD,QAAQ,EAAE;QACR;YACE,oDAAoD;YACpD,uKAAuK;SACxK;KACF;CACF,CAAC,AAbiB,CAajB"}
@@ -1 +1,2 @@
1
- export {};
1
+ import { TagCommand } from './tag';
2
+ export declare const commands: (typeof TagCommand)[];
@@ -1,5 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tag_command_1 = require("./tag-command");
4
- module.exports = [tag_command_1.TagCommand];
3
+ exports.commands = void 0;
4
+ /* eslint-disable import-x/order */
5
+ const tag_1 = require("./tag");
6
+ // prettier-ignore
7
+ exports.commands = [
8
+ tag_1.TagCommand,
9
+ ];
5
10
  //# sourceMappingURL=cli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/commands/tag/cli.ts"],"names":[],"mappings":";;AAAA,+CAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,CAAC,wBAAU,CAAC,CAAA"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/commands/tag/cli.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,+BAAgC;AAEhC,kBAAkB;AACL,QAAA,QAAQ,GAAG;IACtB,gBAAU;CACX,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Command } from 'clipanion';
2
- export declare class TagCommand extends Command {
1
+ import { BaseCommand } from '../..';
2
+ export declare class TagCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  static usage: import("clipanion").Usage;
5
5
  private level;
@@ -22,7 +22,8 @@ const fips_1 = require("../../helpers/fips");
22
22
  const retry_1 = require("../../helpers/retry");
23
23
  const tags_1 = require("../../helpers/tags");
24
24
  const utils_1 = require("../../helpers/utils");
25
- class TagCommand extends clipanion_1.Command {
25
+ const __1 = require("../..");
26
+ class TagCommand extends __1.BaseCommand {
26
27
  constructor() {
27
28
  var _a, _b;
28
29
  super(...arguments);
@@ -159,4 +160,4 @@ TagCommand.usage = clipanion_1.Command.Usage({
159
160
  ['Add tags in bulk using a JSON file', 'datadog-ci tag --level job --tags-file my_tags.json'],
160
161
  ],
161
162
  });
162
- //# sourceMappingURL=tag-command.js.map
163
+ //# sourceMappingURL=tag.js.map