@datadog/datadog-ci 2.4.1 → 2.5.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 (185) hide show
  1. package/dist/commands/dsyms/upload.js +2 -1
  2. package/dist/commands/dsyms/upload.js.map +1 -1
  3. package/dist/commands/flutter-symbols/helpers.js +1 -1
  4. package/dist/commands/flutter-symbols/helpers.js.map +1 -1
  5. package/dist/commands/flutter-symbols/upload.js +1 -1
  6. package/dist/commands/flutter-symbols/upload.js.map +1 -1
  7. package/dist/commands/lambda/instrument.js +1 -1
  8. package/dist/commands/lambda/instrument.js.map +1 -1
  9. package/dist/commands/lambda/uninstrument.js +1 -1
  10. package/dist/commands/lambda/uninstrument.js.map +1 -1
  11. package/dist/commands/react-native/upload.js +2 -2
  12. package/dist/commands/react-native/upload.js.map +1 -1
  13. package/dist/commands/react-native/xcode.js +5 -0
  14. package/dist/commands/react-native/xcode.js.map +1 -1
  15. package/dist/commands/synthetics/api.d.ts +2 -1
  16. package/dist/commands/synthetics/api.js +7 -0
  17. package/dist/commands/synthetics/api.js.map +1 -1
  18. package/dist/commands/synthetics/command.js +11 -2
  19. package/dist/commands/synthetics/command.js.map +1 -1
  20. package/dist/commands/synthetics/interfaces.d.ts +4 -1
  21. package/dist/commands/synthetics/reporters/default.d.ts +3 -2
  22. package/dist/commands/synthetics/reporters/default.js +19 -5
  23. package/dist/commands/synthetics/reporters/default.js.map +1 -1
  24. package/dist/commands/synthetics/reporters/junit.d.ts +2 -2
  25. package/dist/commands/synthetics/reporters/junit.js +1 -1
  26. package/dist/commands/synthetics/reporters/junit.js.map +1 -1
  27. package/dist/commands/synthetics/run-test.js +9 -1
  28. package/dist/commands/synthetics/run-test.js.map +1 -1
  29. package/dist/commands/synthetics/utils.d.ts +4 -2
  30. package/dist/commands/synthetics/utils.js +14 -5
  31. package/dist/commands/synthetics/utils.js.map +1 -1
  32. package/dist/helpers/utils.d.ts +2 -2
  33. package/dist/helpers/utils.js +9 -5
  34. package/dist/helpers/utils.js.map +1 -1
  35. package/package.json +3 -3
  36. package/dist/commands/dsyms/__tests__/upload.test.d.ts +0 -1
  37. package/dist/commands/dsyms/__tests__/upload.test.js +0 -297
  38. package/dist/commands/dsyms/__tests__/upload.test.js.map +0 -1
  39. package/dist/commands/dsyms/__tests__/utils.test.d.ts +0 -1
  40. package/dist/commands/dsyms/__tests__/utils.test.js +0 -99
  41. package/dist/commands/dsyms/__tests__/utils.test.js.map +0 -1
  42. package/dist/commands/flutter-symbols/__tests__/upload.test.d.ts +0 -1
  43. package/dist/commands/flutter-symbols/__tests__/upload.test.js +0 -538
  44. package/dist/commands/flutter-symbols/__tests__/upload.test.js.map +0 -1
  45. package/dist/commands/git-metadata/__tests__/git.test.d.ts +0 -1
  46. package/dist/commands/git-metadata/__tests__/git.test.js +0 -148
  47. package/dist/commands/git-metadata/__tests__/git.test.js.map +0 -1
  48. package/dist/commands/git-metadata/__tests__/library.test.d.ts +0 -1
  49. package/dist/commands/git-metadata/__tests__/library.test.js +0 -103
  50. package/dist/commands/git-metadata/__tests__/library.test.js.map +0 -1
  51. package/dist/commands/git-metadata/__tests__/upload.test.d.ts +0 -1
  52. package/dist/commands/git-metadata/__tests__/upload.test.js +0 -60
  53. package/dist/commands/git-metadata/__tests__/upload.test.js.map +0 -1
  54. package/dist/commands/junit/__tests__/api.test.d.ts +0 -1
  55. package/dist/commands/junit/__tests__/api.test.js +0 -9
  56. package/dist/commands/junit/__tests__/api.test.js.map +0 -1
  57. package/dist/commands/junit/__tests__/upload.test.d.ts +0 -1
  58. package/dist/commands/junit/__tests__/upload.test.js +0 -283
  59. package/dist/commands/junit/__tests__/upload.test.js.map +0 -1
  60. package/dist/commands/lambda/__tests__/fixtures.d.ts +0 -49
  61. package/dist/commands/lambda/__tests__/fixtures.js +0 -88
  62. package/dist/commands/lambda/__tests__/fixtures.js.map +0 -1
  63. package/dist/commands/lambda/__tests__/functions/commons.test.d.ts +0 -1
  64. package/dist/commands/lambda/__tests__/functions/commons.test.js +0 -716
  65. package/dist/commands/lambda/__tests__/functions/commons.test.js.map +0 -1
  66. package/dist/commands/lambda/__tests__/functions/instrument.part1.test.d.ts +0 -1
  67. package/dist/commands/lambda/__tests__/functions/instrument.part1.test.js +0 -350
  68. package/dist/commands/lambda/__tests__/functions/instrument.part1.test.js.map +0 -1
  69. package/dist/commands/lambda/__tests__/functions/instrument.part2.test.d.ts +0 -1
  70. package/dist/commands/lambda/__tests__/functions/instrument.part2.test.js +0 -583
  71. package/dist/commands/lambda/__tests__/functions/instrument.part2.test.js.map +0 -1
  72. package/dist/commands/lambda/__tests__/functions/uninstrument.test.d.ts +0 -1
  73. package/dist/commands/lambda/__tests__/functions/uninstrument.test.js +0 -477
  74. package/dist/commands/lambda/__tests__/functions/uninstrument.test.js.map +0 -1
  75. package/dist/commands/lambda/__tests__/functions/versionChecker.test.d.ts +0 -1
  76. package/dist/commands/lambda/__tests__/functions/versionChecker.test.js +0 -33
  77. package/dist/commands/lambda/__tests__/functions/versionChecker.test.js.map +0 -1
  78. package/dist/commands/lambda/__tests__/instrument.test.d.ts +0 -1
  79. package/dist/commands/lambda/__tests__/instrument.test.js +0 -1478
  80. package/dist/commands/lambda/__tests__/instrument.test.js.map +0 -1
  81. package/dist/commands/lambda/__tests__/loggroup.test.d.ts +0 -1
  82. package/dist/commands/lambda/__tests__/loggroup.test.js +0 -332
  83. package/dist/commands/lambda/__tests__/loggroup.test.js.map +0 -1
  84. package/dist/commands/lambda/__tests__/prompt.test.d.ts +0 -1
  85. package/dist/commands/lambda/__tests__/prompt.test.js +0 -235
  86. package/dist/commands/lambda/__tests__/prompt.test.js.map +0 -1
  87. package/dist/commands/lambda/__tests__/tags.test.d.ts +0 -1
  88. package/dist/commands/lambda/__tests__/tags.test.js +0 -253
  89. package/dist/commands/lambda/__tests__/tags.test.js.map +0 -1
  90. package/dist/commands/lambda/__tests__/uninstrument.test.d.ts +0 -1
  91. package/dist/commands/lambda/__tests__/uninstrument.test.js +0 -679
  92. package/dist/commands/lambda/__tests__/uninstrument.test.js.map +0 -1
  93. package/dist/commands/metric/__tests__/metric.test.d.ts +0 -1
  94. package/dist/commands/metric/__tests__/metric.test.js +0 -97
  95. package/dist/commands/metric/__tests__/metric.test.js.map +0 -1
  96. package/dist/commands/react-native/__tests__/codepush.test.d.ts +0 -1
  97. package/dist/commands/react-native/__tests__/codepush.test.js +0 -153
  98. package/dist/commands/react-native/__tests__/codepush.test.js.map +0 -1
  99. package/dist/commands/react-native/__tests__/interfaces.test.d.ts +0 -1
  100. package/dist/commands/react-native/__tests__/interfaces.test.js +0 -52
  101. package/dist/commands/react-native/__tests__/interfaces.test.js.map +0 -1
  102. package/dist/commands/react-native/__tests__/upload.test.d.ts +0 -1
  103. package/dist/commands/react-native/__tests__/upload.test.js +0 -176
  104. package/dist/commands/react-native/__tests__/upload.test.js.map +0 -1
  105. package/dist/commands/react-native/__tests__/xcode.test.d.ts +0 -1
  106. package/dist/commands/react-native/__tests__/xcode.test.js +0 -417
  107. package/dist/commands/react-native/__tests__/xcode.test.js.map +0 -1
  108. package/dist/commands/sourcemaps/__tests__/upload.test.d.ts +0 -1
  109. package/dist/commands/sourcemaps/__tests__/upload.test.js +0 -270
  110. package/dist/commands/sourcemaps/__tests__/upload.test.js.map +0 -1
  111. package/dist/commands/sourcemaps/__tests__/utils.test.d.ts +0 -1
  112. package/dist/commands/sourcemaps/__tests__/utils.test.js +0 -31
  113. package/dist/commands/sourcemaps/__tests__/utils.test.js.map +0 -1
  114. package/dist/commands/synthetics/__tests__/api.test.d.ts +0 -1
  115. package/dist/commands/synthetics/__tests__/api.test.js +0 -273
  116. package/dist/commands/synthetics/__tests__/api.test.js.map +0 -1
  117. package/dist/commands/synthetics/__tests__/cli.test.d.ts +0 -1
  118. package/dist/commands/synthetics/__tests__/cli.test.js +0 -391
  119. package/dist/commands/synthetics/__tests__/cli.test.js.map +0 -1
  120. package/dist/commands/synthetics/__tests__/fixtures.d.ts +0 -119
  121. package/dist/commands/synthetics/__tests__/fixtures.js +0 -386
  122. package/dist/commands/synthetics/__tests__/fixtures.js.map +0 -1
  123. package/dist/commands/synthetics/__tests__/mobile.test.d.ts +0 -1
  124. package/dist/commands/synthetics/__tests__/mobile.test.js +0 -228
  125. package/dist/commands/synthetics/__tests__/mobile.test.js.map +0 -1
  126. package/dist/commands/synthetics/__tests__/reporters/default.test.d.ts +0 -1
  127. package/dist/commands/synthetics/__tests__/reporters/default.test.js +0 -202
  128. package/dist/commands/synthetics/__tests__/reporters/default.test.js.map +0 -1
  129. package/dist/commands/synthetics/__tests__/reporters/junit.test.d.ts +0 -1
  130. package/dist/commands/synthetics/__tests__/reporters/junit.test.js +0 -339
  131. package/dist/commands/synthetics/__tests__/reporters/junit.test.js.map +0 -1
  132. package/dist/commands/synthetics/__tests__/run-test.test.d.ts +0 -1
  133. package/dist/commands/synthetics/__tests__/run-test.test.js +0 -419
  134. package/dist/commands/synthetics/__tests__/run-test.test.js.map +0 -1
  135. package/dist/commands/synthetics/__tests__/tunnel/crypto.test.d.ts +0 -1
  136. package/dist/commands/synthetics/__tests__/tunnel/crypto.test.js +0 -21
  137. package/dist/commands/synthetics/__tests__/tunnel/crypto.test.js.map +0 -1
  138. package/dist/commands/synthetics/__tests__/tunnel/tunnel.test.d.ts +0 -1
  139. package/dist/commands/synthetics/__tests__/tunnel/tunnel.test.js +0 -80
  140. package/dist/commands/synthetics/__tests__/tunnel/tunnel.test.js.map +0 -1
  141. package/dist/commands/synthetics/__tests__/tunnel/websocket.test.d.ts +0 -1
  142. package/dist/commands/synthetics/__tests__/tunnel/websocket.test.js +0 -111
  143. package/dist/commands/synthetics/__tests__/tunnel/websocket.test.js.map +0 -1
  144. package/dist/commands/synthetics/__tests__/utils.test.d.ts +0 -1
  145. package/dist/commands/synthetics/__tests__/utils.test.js +0 -933
  146. package/dist/commands/synthetics/__tests__/utils.test.js.map +0 -1
  147. package/dist/commands/tag/__tests__/tag.test.d.ts +0 -1
  148. package/dist/commands/tag/__tests__/tag.test.js +0 -77
  149. package/dist/commands/tag/__tests__/tag.test.js.map +0 -1
  150. package/dist/commands/trace/__tests__/trace.test.d.ts +0 -1
  151. package/dist/commands/trace/__tests__/trace.test.js +0 -64
  152. package/dist/commands/trace/__tests__/trace.test.js.map +0 -1
  153. package/dist/helpers/__tests__/ci.test.d.ts +0 -1
  154. package/dist/helpers/__tests__/ci.test.js +0 -197
  155. package/dist/helpers/__tests__/ci.test.js.map +0 -1
  156. package/dist/helpers/__tests__/plist.test.d.ts +0 -1
  157. package/dist/helpers/__tests__/plist.test.js +0 -31
  158. package/dist/helpers/__tests__/plist.test.js.map +0 -1
  159. package/dist/helpers/__tests__/retry.test.d.ts +0 -1
  160. package/dist/helpers/__tests__/retry.test.js +0 -99
  161. package/dist/helpers/__tests__/retry.test.js.map +0 -1
  162. package/dist/helpers/__tests__/tags.test.d.ts +0 -1
  163. package/dist/helpers/__tests__/tags.test.js +0 -17
  164. package/dist/helpers/__tests__/tags.test.js.map +0 -1
  165. package/dist/helpers/__tests__/upload.test.d.ts +0 -1
  166. package/dist/helpers/__tests__/upload.test.js +0 -185
  167. package/dist/helpers/__tests__/upload.test.js.map +0 -1
  168. package/dist/helpers/__tests__/user-provided-git.test.d.ts +0 -1
  169. package/dist/helpers/__tests__/user-provided-git.test.js +0 -119
  170. package/dist/helpers/__tests__/user-provided-git.test.js.map +0 -1
  171. package/dist/helpers/__tests__/utils.test.d.ts +0 -1
  172. package/dist/helpers/__tests__/utils.test.js +0 -382
  173. package/dist/helpers/__tests__/utils.test.js.map +0 -1
  174. package/dist/helpers/__tests__/validation.test.d.ts +0 -1
  175. package/dist/helpers/__tests__/validation.test.js +0 -21
  176. package/dist/helpers/__tests__/validation.test.js.map +0 -1
  177. package/dist/helpers/git/__tests__/format-git-sourcemaps-data.test.d.ts +0 -1
  178. package/dist/helpers/git/__tests__/format-git-sourcemaps-data.test.js +0 -106
  179. package/dist/helpers/git/__tests__/format-git-sourcemaps-data.test.js.map +0 -1
  180. package/dist/helpers/git/__tests__/format-git-span-data.test.d.ts +0 -1
  181. package/dist/helpers/git/__tests__/format-git-span-data.test.js +0 -67
  182. package/dist/helpers/git/__tests__/format-git-span-data.test.js.map +0 -1
  183. package/dist/helpers/git/__tests__/get-git-data.test.d.ts +0 -1
  184. package/dist/helpers/git/__tests__/get-git-data.test.js +0 -60
  185. package/dist/helpers/git/__tests__/get-git-data.test.js.map +0 -1
@@ -1,417 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
22
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
23
- return new (P || (P = Promise))(function (resolve, reject) {
24
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
25
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
26
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
27
- step((generator = generator.apply(thisArg, _arguments || [])).next());
28
- });
29
- };
30
- Object.defineProperty(exports, "__esModule", { value: true });
31
- const advanced_1 = require("clipanion/lib/advanced");
32
- const formatGitSourcemapsData = __importStar(require("../../../helpers/git/format-git-sourcemaps-data"));
33
- const utils = __importStar(require("../utils"));
34
- const xcode_1 = require("../xcode");
35
- beforeEach(() => {
36
- delete process.env.CONFIGURATION;
37
- delete process.env.CONFIGURATION_BUILD_DIR;
38
- delete process.env.CURRENT_PROJECT_VERSION;
39
- delete process.env.DATADOG_API_KEY;
40
- delete process.env.EXTRA_PACKAGER_ARGS;
41
- delete process.env.INFOPLIST_FILE;
42
- delete process.env.MARKETING_VERSION;
43
- delete process.env.PODS_PODFILE_DIR_PATH;
44
- delete process.env.PRODUCT_BUNDLE_IDENTIFIER;
45
- delete process.env.PROJECT_DIR;
46
- delete process.env.SERVICE_NAME_IOS;
47
- delete process.env.SOURCEMAP_FILE;
48
- delete process.env.UNLOCALIZED_RESOURCES_FOLDER_PATH;
49
- delete process.env.USE_HERMES;
50
- reactNativeVersionSpy.mockClear();
51
- });
52
- const makeCli = () => {
53
- const cli = new advanced_1.Cli();
54
- cli.register(xcode_1.XCodeCommand);
55
- return cli;
56
- };
57
- const reactNativeVersionSpy = jest.spyOn(utils, 'getReactNativeVersion').mockReturnValue(undefined);
58
- const createMockContext = () => {
59
- let data = '';
60
- let errorData = '';
61
- return {
62
- stderr: {
63
- toString: () => errorData,
64
- write: (input) => {
65
- errorData += input;
66
- },
67
- },
68
- stdout: {
69
- toString: () => data,
70
- write: (input) => {
71
- data += input;
72
- },
73
- },
74
- };
75
- };
76
- const basicEnvironment = {
77
- CONFIGURATION: 'Release',
78
- CONFIGURATION_BUILD_DIR: './src/commands/react-native/__tests__/fixtures/basic-ios',
79
- CURRENT_PROJECT_VERSION: '000020',
80
- MARKETING_VERSION: '0.0.2',
81
- PRODUCT_BUNDLE_IDENTIFIER: 'com.myapp.test',
82
- SOURCEMAP_FILE: './src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle.map',
83
- };
84
- const runCLI = (script, options) => __awaiter(void 0, void 0, void 0, function* () {
85
- const cli = makeCli();
86
- const context = createMockContext();
87
- process.env = Object.assign(Object.assign({}, process.env), { DATADOG_API_KEY: 'PLACEHOLDER' });
88
- const command = ['react-native', 'xcode', script, '--dry-run'];
89
- if (options === null || options === void 0 ? void 0 : options.force) {
90
- command.push('--force');
91
- }
92
- if (options === null || options === void 0 ? void 0 : options.disableGit) {
93
- command.push('--disable-git');
94
- }
95
- if (options === null || options === void 0 ? void 0 : options.configPath) {
96
- command.push('--config', options.configPath);
97
- }
98
- if (options === null || options === void 0 ? void 0 : options.repositoryURL) {
99
- command.push('--repository-url', options.repositoryURL);
100
- }
101
- if (options === null || options === void 0 ? void 0 : options.infoPlistPath) {
102
- command.push('--info-plist-path', options.infoPlistPath);
103
- }
104
- if (options === null || options === void 0 ? void 0 : options.service) {
105
- command.push('--service');
106
- command.push(options.service);
107
- }
108
- if (options === null || options === void 0 ? void 0 : options.composeSourcemapsPath) {
109
- command.push('--compose-sourcemaps-path');
110
- command.push(options.composeSourcemapsPath);
111
- }
112
- const code = yield cli.run(command, context);
113
- return { context, code };
114
- });
115
- describe('xcode', () => {
116
- describe('getBundleLocation', () => {
117
- test('should return the location from CONFIGURATION_BUILD_DIR', () => {
118
- process.env.CONFIGURATION_BUILD_DIR = './src/commands/react-native/__tests__/fixtures/basic-ios';
119
- const command = new xcode_1.XCodeCommand();
120
- expect(command['getBundleLocation']()).toBe('./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle');
121
- });
122
- test('should return null if no CONFIGURATION_BUILD_DIR is specified', () => {
123
- const command = new xcode_1.XCodeCommand();
124
- expect(command['getBundleLocation']()).toBeNull();
125
- });
126
- });
127
- describe('getSourcemapsLocation', () => {
128
- test('should return the location from SOURCEMAP_FILE', () => {
129
- process.env.SOURCEMAP_FILE = './main.jsbundle.map';
130
- const command = new xcode_1.XCodeCommand();
131
- expect(command['getSourcemapsLocation']()).toMatch('./main.jsbundle.map');
132
- });
133
- test('should return the location from EXTRA_PACKAGER_ARGS', () => {
134
- process.env.EXTRA_PACKAGER_ARGS = '--bundle-output ./main.jsbundle --sourcemap-output ./main.jsbundle.map';
135
- const command = new xcode_1.XCodeCommand();
136
- expect(command['getSourcemapsLocation']()).toBe('./main.jsbundle.map');
137
- });
138
- test('should return null if no location is in EXTRA_PACKAGER_ARGS and SOURCEMAP_FILE is undefined', () => {
139
- process.env.EXTRA_PACKAGER_ARGS = '--bundle-output ./main.jsbundle';
140
- const command = new xcode_1.XCodeCommand();
141
- expect(command['getSourcemapsLocation']()).toBeNull();
142
- });
143
- test('should return null if EXTRA_PACKAGER_ARGS and SOURCEMAP_FILE are undefined', () => {
144
- const command = new xcode_1.XCodeCommand();
145
- expect(command['getSourcemapsLocation']()).toBeNull();
146
- });
147
- });
148
- describe('execute', () => {
149
- test('should run the provided script and upload sourcemaps', () => __awaiter(void 0, void 0, void 0, function* () {
150
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
151
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
152
- // Uncomment these lines for debugging failing script
153
- // console.log(context.stdout.toString())
154
- // console.log(context.stderr.toString())
155
- expect(code).toBe(0);
156
- const output = context.stdout.toString();
157
- expect(output).toContain('Upload of ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle.map for bundle ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle on platform ios');
158
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.myapp.test');
159
- }));
160
- test('should run the provided script, compose and upload sourcemaps when using hermes', () => __awaiter(void 0, void 0, void 0, function* () {
161
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { CONFIGURATION_BUILD_DIR: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps', UNLOCALIZED_RESOURCES_FOLDER_PATH: 'MyApp.app', USE_HERMES: 'true' });
162
- reactNativeVersionSpy.mockReturnValue('0.69.0');
163
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh', {
164
- composeSourcemapsPath: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps/compose-sourcemaps.js',
165
- });
166
- // Uncomment these lines for debugging failing script
167
- // console.log(context.stdout.toString())
168
- // console.log(context.stderr.toString())
169
- expect(code).toBe(0);
170
- const output = context.stdout.toString();
171
- expect(output).toContain('Hermes detected, composing sourcemaps');
172
- expect(output).toContain('Successfully ran the compose script for ./src/commands/react-native/__tests__/fixtures/compose-sourcemaps/main.jsbundle.map ./src/commands/react-native/__tests__/fixtures/compose-sourcemaps/MyApp.app/main.jsbundle.map ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle.map');
173
- expect(output).toContain('Upload of ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle.map for bundle ./src/commands/react-native/__tests__/fixtures/compose-sourcemaps/main.jsbundle on platform ios');
174
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.myapp.test');
175
- }));
176
- test('should set the USE_HERMES env variable for RN 0.70 projects using hermes', () => __awaiter(void 0, void 0, void 0, function* () {
177
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { CONFIGURATION_BUILD_DIR: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps', UNLOCALIZED_RESOURCES_FOLDER_PATH: 'MyApp.app', PODS_PODFILE_DIR_PATH: './src/commands/react-native/__tests__/fixtures/podfile-lock/with-hermes' });
178
- reactNativeVersionSpy.mockReturnValue('0.70.0');
179
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/echo_env_script.sh', {
180
- composeSourcemapsPath: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps/compose-sourcemaps.js',
181
- });
182
- // Uncomment these lines for debugging failing script
183
- // console.log(context.stdout.toString())
184
- // console.log(context.stderr.toString())
185
- expect(code).toBe(0);
186
- const output = context.stdout.toString();
187
- expect(output).toContain('USE_HERMES=true');
188
- expect(output).toContain('Hermes detected, composing sourcemaps');
189
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.myapp.test');
190
- }));
191
- test('should not set the USE_HERMES env variable for RN 0.70 projects not using hermes', () => __awaiter(void 0, void 0, void 0, function* () {
192
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { CONFIGURATION_BUILD_DIR: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps', UNLOCALIZED_RESOURCES_FOLDER_PATH: 'MyApp.app', PODS_PODFILE_DIR_PATH: './src/commands/react-native/__tests__/fixtures/podfile-lock/without-hermes' });
193
- reactNativeVersionSpy.mockReturnValue('0.70.0');
194
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/echo_env_script.sh', {
195
- composeSourcemapsPath: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps/compose-sourcemaps.js',
196
- });
197
- // Uncomment these lines for debugging failing script
198
- // console.log(context.stdout.toString())
199
- // console.log(context.stderr.toString())
200
- expect(code).toBe(0);
201
- const output = context.stdout.toString();
202
- expect(output).not.toContain('USE_HERMES=true');
203
- expect(output).not.toContain('Hermes detected, composing sourcemaps');
204
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.myapp.test');
205
- }));
206
- test('should not compose hermes sourcemaps for RN 0.71 projects', () => __awaiter(void 0, void 0, void 0, function* () {
207
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { CONFIGURATION_BUILD_DIR: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps', UNLOCALIZED_RESOURCES_FOLDER_PATH: 'MyApp.app', PODS_PODFILE_DIR_PATH: './src/commands/react-native/__tests__/fixtures/podfile-lock/with-hermes' });
208
- reactNativeVersionSpy.mockReturnValue('0.71.0');
209
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/echo_env_script.sh', {
210
- composeSourcemapsPath: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps/compose-sourcemaps.js',
211
- });
212
- // Uncomment these lines for debugging failing script
213
- // console.log(context.stdout.toString())
214
- // console.log(context.stderr.toString())
215
- expect(code).toBe(0);
216
- const output = context.stdout.toString();
217
- expect(output).not.toContain('Hermes detected, composing sourcemaps');
218
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.myapp.test');
219
- }));
220
- test('should not compose sourcemaps when using hermes and source maps are not uploaded', () => __awaiter(void 0, void 0, void 0, function* () {
221
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { CONFIGURATION_BUILD_DIR: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps', UNLOCALIZED_RESOURCES_FOLDER_PATH: 'MyApp.app', USE_HERMES: 'true', CONFIGURATION: 'Debug' });
222
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh', {
223
- composeSourcemapsPath: './src/commands/react-native/__tests__/fixtures/compose-sourcemaps/compose-sourcemaps.js',
224
- });
225
- // Uncomment these lines for debugging failing script
226
- // console.log(context.stdout.toString())
227
- // console.log(context.stderr.toString())
228
- expect(code).toBe(0);
229
- const output = context.stdout.toString();
230
- expect(output).toContain('Build configuration Debug is not Release, skipping sourcemaps upload');
231
- expect(output).not.toContain('Hermes detected, composing sourcemaps');
232
- }));
233
- test('should not bundle nor upload sourcemaps when the build configuration is Debug', () => __awaiter(void 0, void 0, void 0, function* () {
234
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { CONFIGURATION: 'Debug' });
235
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
236
- // Uncomment these lines for debugging failing script
237
- // console.log(context.stdout.toString())
238
- // console.log(context.stderr.toString())
239
- expect(code).toBe(0);
240
- const output = context.stdout.toString();
241
- expect(output).toContain('Build configuration Debug is not Release, skipping sourcemaps upload');
242
- expect(output).not.toContain('Starting successful script');
243
- }));
244
- test('should run the provided script and upload sourcemaps when the build configuration is Debug with force option', () => __awaiter(void 0, void 0, void 0, function* () {
245
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { CONFIGURATION: 'Debug' });
246
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh', {
247
- force: true,
248
- });
249
- // Uncomment these lines for debugging failing script
250
- // console.log(context.stdout.toString())
251
- // console.log(context.stderr.toString())
252
- expect(code).toBe(0);
253
- const output = context.stdout.toString();
254
- expect(output).toContain('Force upload for configuration Debug');
255
- expect(output).toContain('Upload of ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle.map for bundle ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle on platform ios');
256
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.myapp.test');
257
- }));
258
- test('should run the provided script and upload sourcemaps when a custom service is specified', () => __awaiter(void 0, void 0, void 0, function* () {
259
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
260
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh', {
261
- service: 'com.custom',
262
- });
263
- // Uncomment these lines for debugging failing script
264
- // console.log(context.stdout.toString())
265
- // console.log(context.stderr.toString())
266
- expect(code).toBe(0);
267
- const output = context.stdout.toString();
268
- expect(output).toContain('Upload of ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle.map for bundle ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle on platform ios');
269
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.custom');
270
- }));
271
- test.each([['PRODUCT_BUNDLE_IDENTIFIER'], ['CONFIGURATION']])('should provide a custom message when %s xcode environment variable is missing', (variable) => __awaiter(void 0, void 0, void 0, function* () {
272
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
273
- delete process.env[variable];
274
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
275
- // Uncomment these lines for debugging failing script
276
- // console.log(context.stdout.toString())
277
- // console.log(context.stderr.toString())
278
- expect(code).toBe(1);
279
- const output = context.stderr.toString();
280
- expect(output).toContain(`Environment variable ${variable} is missing for Datadog sourcemaps upload.`);
281
- }));
282
- test('should provide a clear error message when the release version cannot be found', () => __awaiter(void 0, void 0, void 0, function* () {
283
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
284
- delete process.env.MARKETING_VERSION;
285
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
286
- // Uncomment these lines for debugging failing script
287
- // console.log(context.stdout.toString())
288
- // console.log(context.stderr.toString())
289
- expect(code).toBe(1);
290
- const output = context.stderr.toString();
291
- expect(output).toContain(`Version could not be found.`);
292
- }));
293
- test('should provide a clear error message when the build version cannot be found', () => __awaiter(void 0, void 0, void 0, function* () {
294
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
295
- delete process.env.CURRENT_PROJECT_VERSION;
296
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
297
- // Uncomment these lines for debugging failing script
298
- // console.log(context.stdout.toString())
299
- // console.log(context.stderr.toString())
300
- expect(code).toBe(1);
301
- const output = context.stderr.toString();
302
- expect(output).toContain(`Build version could not be found.`);
303
- }));
304
- test('should get versions from plist file even if env variables are defined', () => __awaiter(void 0, void 0, void 0, function* () {
305
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { PROJECT_DIR: 'src/commands/react-native/__tests__', INFOPLIST_FILE: 'fixtures/info-plist/Info.plist' });
306
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
307
- // Uncomment these lines for debugging failing script
308
- // console.log(context.stdout.toString())
309
- // console.log(context.stderr.toString())
310
- expect(code).toBe(0);
311
- const output = context.stdout.toString();
312
- expect(output).toContain('version: 1.0.4 build: 12');
313
- }));
314
- test('should get versions from plist file through argument if env variables are not defined', () => __awaiter(void 0, void 0, void 0, function* () {
315
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
316
- delete process.env.CURRENT_PROJECT_VERSION;
317
- delete process.env.MARKETING_VERSION;
318
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh', {
319
- infoPlistPath: 'src/commands/react-native/__tests__/fixtures/info-plist/Info.plist',
320
- });
321
- // Uncomment these lines for debugging failing script
322
- // console.log(context.stdout.toString())
323
- // console.log(context.stderr.toString())
324
- expect(code).toBe(0);
325
- const output = context.stdout.toString();
326
- expect(output).toContain('version: 1.0.4 build: 12');
327
- }));
328
- test('should provide a clear error message when the script path is incorrect', () => __awaiter(void 0, void 0, void 0, function* () {
329
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
330
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/non_existent.sh');
331
- // Uncomment these lines for debugging failing script
332
- // console.log(context.stdout.toString())
333
- // console.log(context.stderr.toString())
334
- expect(code).toBe(1);
335
- const output = context.stderr.toString();
336
- expect(output).toContain('Error running bundle script from datadog-ci xcode');
337
- expect(output).toContain('Error: spawn ./src/commands/react-native/__tests__/fixtures/bundle-script/non_existent.sh ENOENT');
338
- }));
339
- test('should forward the error message from the script when the script fails', () => __awaiter(void 0, void 0, void 0, function* () {
340
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
341
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/failing_script.sh');
342
- // Uncomment these lines for debugging failing script
343
- // console.log(context.stdout.toString())
344
- // console.log(context.stderr.toString())
345
- expect(code).toBe(1);
346
- const output = context.stdout.toString();
347
- expect(output).toContain('[bundle script]: Starting failing script');
348
- const errorOutput = context.stderr.toString();
349
- expect(errorOutput).toContain('Error running bundle script from datadog-ci xcode.');
350
- expect(errorOutput).toContain('[bundle script]: Custom error message from script');
351
- }));
352
- test('should provide a clear error message when no bundle file is present', () => __awaiter(void 0, void 0, void 0, function* () {
353
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
354
- delete process.env.CONFIGURATION_BUILD_DIR;
355
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
356
- // Uncomment these lines for debugging failing script
357
- // console.log(context.stdout.toString())
358
- // console.log(context.stderr.toString())
359
- expect(code).toBe(1);
360
- const errorOutput = context.stderr.toString();
361
- expect(errorOutput).toContain('No bundle file output has been specified');
362
- }));
363
- test('should provide a clear error message when no sourcemap file is present', () => __awaiter(void 0, void 0, void 0, function* () {
364
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
365
- delete process.env.SOURCEMAP_FILE;
366
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
367
- // Uncomment these lines for debugging failing script
368
- // console.log(context.stdout.toString())
369
- // console.log(context.stderr.toString())
370
- expect(code).toBe(1);
371
- const errorOutput = context.stderr.toString();
372
- expect(errorOutput).toContain('No sourcemap output has been specified');
373
- }));
374
- test('should provide a clear error message when the upload fails', () => __awaiter(void 0, void 0, void 0, function* () {
375
- process.env = Object.assign(Object.assign(Object.assign({}, process.env), basicEnvironment), { CONFIGURATION_BUILD_DIR: 'src/commands/react-native/__tests__/fixtures/non-existent' });
376
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh');
377
- // Uncomment these lines for debugging failing script
378
- // console.log(context.stdout.toString())
379
- // console.log(context.stderr.toString())
380
- expect(code).not.toBe(0);
381
- const output = context.stdout.toString();
382
- expect(output).toContain('Missing bundle file (src/commands/react-native/__tests__/fixtures/non-existent/main.jsbundle)');
383
- }));
384
- test('should forward arguments to upload command', () => __awaiter(void 0, void 0, void 0, function* () {
385
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
386
- const getRepositoryDataSpy = jest.spyOn(formatGitSourcemapsData, 'getRepositoryData');
387
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh', {
388
- configPath: './src/commands/react-native/__tests__/fixtures/config/config-with-api-key.json',
389
- repositoryURL: 'https://example.com',
390
- });
391
- // Uncomment these lines for debugging failing script
392
- // console.log(context.stdout.toString())
393
- // console.log(context.stderr.toString())
394
- expect(code).toBe(0);
395
- const output = context.stdout.toString();
396
- expect(output).toContain('Upload of ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle.map for bundle ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle on platform ios');
397
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.myapp.test');
398
- expect(getRepositoryDataSpy).toHaveBeenCalledWith(expect.anything(), 'https://example.com');
399
- }));
400
- test('should disable git in upload command', () => __awaiter(void 0, void 0, void 0, function* () {
401
- process.env = Object.assign(Object.assign({}, process.env), basicEnvironment);
402
- const getRepositoryDataSpy = jest.spyOn(formatGitSourcemapsData, 'getRepositoryData');
403
- const { context, code } = yield runCLI('./src/commands/react-native/__tests__/fixtures/bundle-script/successful_script.sh', {
404
- disableGit: true,
405
- });
406
- // Uncomment these lines for debugging failing script
407
- // console.log(context.stdout.toString())
408
- // console.log(context.stderr.toString())
409
- expect(code).toBe(0);
410
- const output = context.stdout.toString();
411
- expect(output).toContain('Upload of ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle.map for bundle ./src/commands/react-native/__tests__/fixtures/basic-ios/main.jsbundle on platform ios');
412
- expect(output).toContain('version: 0.0.2 build: 000020 service: com.myapp.test');
413
- expect(getRepositoryDataSpy).not.toHaveBeenCalled();
414
- }));
415
- });
416
- });
417
- //# sourceMappingURL=xcode.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"xcode.test.js","sourceRoot":"","sources":["../../../../src/commands/react-native/__tests__/xcode.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAA0C;AAE1C,yGAA0F;AAE1F,gDAAiC;AACjC,oCAAqC;AAErC,UAAU,CAAC,GAAG,EAAE;IACd,OAAO,OAAO,CAAC,GAAG,CAAC,aAAa,CAAA;IAChC,OAAO,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAA;IAC1C,OAAO,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAA;IAC1C,OAAO,OAAO,CAAC,GAAG,CAAC,eAAe,C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