@catladder/pipeline 1.75.4 → 1.76.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 (112) hide show
  1. package/dist/build/base/createBuildJob.js +5 -27
  2. package/dist/build/base/writeBuildInfo.js +0 -3
  3. package/dist/build/custom/buildJob.js +3 -23
  4. package/dist/build/custom/index.js +3 -10
  5. package/dist/build/docker.js +5 -40
  6. package/dist/build/index.js +0 -8
  7. package/dist/build/node/buildJob.js +3 -25
  8. package/dist/build/node/cache.js +3 -21
  9. package/dist/build/node/index.js +3 -16
  10. package/dist/build/node/meteor.js +3 -20
  11. package/dist/build/node/testJob.js +5 -22
  12. package/dist/build/node/yarn.js +5 -18
  13. package/dist/build/rails/build.js +2 -8
  14. package/dist/build/rails/index.js +3 -11
  15. package/dist/build/rails/test.js +5 -18
  16. package/dist/build/types.d.ts +0 -9
  17. package/dist/build/types.js +0 -4
  18. package/dist/bundles/catladder-gitlab/index.js +1 -1
  19. package/dist/catladder-gitlab.js +6 -24
  20. package/dist/config/{configruedEnvs.test.d.ts → __tests__/configruedEnvs.test.d.ts} +0 -0
  21. package/dist/config/{configruedEnvs.test.js → __tests__/configruedEnvs.test.js} +10 -12
  22. package/dist/config/configruedEnvs.js +7 -22
  23. package/dist/config/index.js +0 -4
  24. package/dist/config/readConfig.js +2 -13
  25. package/dist/constants.js +1 -1
  26. package/dist/context/{resolveReferences.test.d.ts → __tests__/resolveReferences.test.d.ts} +0 -0
  27. package/dist/context/{resolveReferences.test.js → __tests__/resolveReferences.test.js} +52 -103
  28. package/dist/context/getEnvConfig.js +0 -8
  29. package/dist/context/getEnvType.js +0 -5
  30. package/dist/context/getEnvironment.js +13 -49
  31. package/dist/context/getEnvironmentContext.js +0 -5
  32. package/dist/context/getEnvironmentVariables.js +20 -83
  33. package/dist/context/getLabels.js +2 -13
  34. package/dist/context/index.js +13 -58
  35. package/dist/context/resolveReferences.js +36 -126
  36. package/dist/deploy/base.js +4 -19
  37. package/dist/deploy/cloudRun/deployJob.js +19 -61
  38. package/dist/deploy/cloudRun/index.js +17 -39
  39. package/dist/deploy/cloudRun/utils/database.js +11 -29
  40. package/dist/deploy/cloudRun/utils/gcloudServiceAccountLoginCommands.js +0 -4
  41. package/dist/deploy/cloudRun/utils/jobName.js +0 -2
  42. package/dist/deploy/custom/deployJob.js +3 -18
  43. package/dist/deploy/custom/index.js +0 -2
  44. package/dist/deploy/dockerTag/deployJob.js +0 -9
  45. package/dist/deploy/dockerTag/index.js +0 -2
  46. package/dist/deploy/index.js +0 -11
  47. package/dist/deploy/kubernetes/additionalSecretKeys.js +0 -9
  48. package/dist/deploy/kubernetes/cloudSql/index.js +0 -12
  49. package/dist/deploy/kubernetes/deployJob.js +3 -24
  50. package/dist/deploy/kubernetes/index.js +7 -17
  51. package/dist/deploy/kubernetes/kubeEnv.d.ts +0 -1
  52. package/dist/deploy/kubernetes/kubeEnv.js +5 -23
  53. package/dist/deploy/kubernetes/kubeValues.js +6 -24
  54. package/dist/deploy/kubernetes/mongodb.js +0 -24
  55. package/dist/deploy/kubernetes/processSecretsAsFiles.js +2 -10
  56. package/dist/deploy/types/base.d.ts +0 -1
  57. package/dist/deploy/types/custom.d.ts +0 -6
  58. package/dist/deploy/types/googleCloudRun.d.ts +4 -12
  59. package/dist/deploy/types/index.js +0 -10
  60. package/dist/deploy/types/kubernetes.d.ts +0 -28
  61. package/dist/deploy/utils.js +0 -11
  62. package/dist/index.js +0 -10
  63. package/dist/pipeline/commitInfo/getBuildId.d.ts +1 -0
  64. package/dist/pipeline/{createChildPipeline.test.js → commitInfo/getBuildId.js} +25 -84
  65. package/dist/pipeline/commitInfo/getCommitInfo.d.ts +2 -0
  66. package/dist/{build/tests/storybook.test.js → pipeline/commitInfo/getCommitInfo.js} +30 -104
  67. package/dist/pipeline/createChildPipeline.js +19 -76
  68. package/dist/pipeline/createJobs.js +35 -135
  69. package/dist/pipeline/gitlab/makeGitlabJob.d.ts +1 -0
  70. package/dist/pipeline/gitlab/makeGitlabJob.js +13 -15
  71. package/dist/pipeline/index.js +0 -4
  72. package/dist/pipeline/packageManager.js +20 -173
  73. package/dist/pipeline/yarn/yarnUtils.d.ts +4 -0
  74. package/dist/pipeline/yarn/yarnUtils.js +193 -0
  75. package/dist/runner/index.js +0 -3
  76. package/dist/tsconfig.tsbuildinfo +1 -1
  77. package/dist/types/config.d.ts +0 -13
  78. package/dist/types/config.js +5 -15
  79. package/dist/types/context.d.ts +0 -2
  80. package/dist/types/environmentContext.d.ts +0 -1
  81. package/dist/types/gitlab-types.d.ts +0 -1
  82. package/dist/types/index.js +0 -6
  83. package/dist/types/jobs.d.ts +5 -15
  84. package/dist/utils/gitlab.js +3 -13
  85. package/dist/utils/index.js +5 -15
  86. package/examples/__snapshots__/cloud-run-with-sql.ts.snap +1765 -0
  87. package/examples/__snapshots__/custom-build-job.ts.snap +1174 -0
  88. package/examples/__snapshots__/custom-envs.ts.snap +261 -0
  89. package/examples/__snapshots__/wait-for-other-deploy.ts.snap +1626 -0
  90. package/examples/__utils__/helpers.ts +14 -0
  91. package/examples/{cloud-sql.ts → cloud-run-with-sql.ts} +12 -15
  92. package/examples/custom-build-job.ts +4 -1
  93. package/examples/custom-envs.ts +31 -0
  94. package/examples/wait-for-other-deploy.ts +36 -0
  95. package/package.json +2 -2
  96. package/src/config/{configruedEnvs.test.ts → __tests__/configruedEnvs.test.ts} +3 -3
  97. package/src/context/{resolveReferences.test.ts → __tests__/resolveReferences.test.ts} +3 -3
  98. package/src/deploy/cloudRun/index.ts +2 -1
  99. package/src/deploy/types/googleCloudRun.ts +5 -0
  100. package/src/pipeline/commitInfo/getBuildId.ts +6 -0
  101. package/src/pipeline/commitInfo/getCommitInfo.ts +12 -0
  102. package/src/pipeline/createChildPipeline.ts +6 -1
  103. package/src/pipeline/createJobs.ts +3 -10
  104. package/src/pipeline/gitlab/makeGitlabJob.ts +7 -1
  105. package/src/pipeline/packageManager.ts +4 -38
  106. package/src/pipeline/yarn/yarnUtils.ts +37 -0
  107. package/src/types/jobs.ts +2 -1
  108. package/tsconfig.json +1 -1
  109. package/dist/build/tests/storybook.test.d.ts +0 -1
  110. package/dist/pipeline/createChildPipeline.test.d.ts +0 -1
  111. package/src/build/tests/storybook.test.ts +0 -54
  112. package/src/pipeline/createChildPipeline.test.ts +0 -49
@@ -4,22 +4,18 @@ export declare type DeployConfigKubernetesClusterGCloud = {
4
4
  /**
5
5
  * gcoud name of the cluster
6
6
  */
7
-
8
7
  name: string;
9
8
  /**
10
9
  * google cloud project id
11
10
  */
12
-
13
11
  projectId: string;
14
12
  /**
15
13
  * region
16
14
  */
17
-
18
15
  region: string;
19
16
  /**
20
17
  * domain of the cluster, for canonical domains without custom host (e.g. review and dev apps)
21
18
  */
22
-
23
19
  domainCanonical?: string;
24
20
  };
25
21
  export declare type DeployConfigKubernetesCluster = DeployConfigKubernetesClusterGCloud;
@@ -43,7 +39,6 @@ export declare type KubernetesAutoscale = {
43
39
  /**
44
40
  * declare a number of metrics (at least one). Usually you would use cpu as a metric
45
41
  */
46
-
47
42
  metrics: KubernetesAutoscaleMetric[];
48
43
  };
49
44
  export declare type KubernetesResourcesDef = {
@@ -83,7 +78,6 @@ export declare type KubernetesUpdateStrategy = {
83
78
  * can be absolute number or percentage
84
79
  * defaults to 0 (kube default is 25%)
85
80
  */
86
-
87
81
  maxUnavailable: number | string;
88
82
  };
89
83
  type: "RollingUpdate";
@@ -93,7 +87,6 @@ export declare type KubernetesWorkerDef = {
93
87
  /**
94
88
  * which command to run. defaults to `yarn start`
95
89
  */
96
-
97
90
  command?: string;
98
91
  resources?: KubernetesResourcesDef;
99
92
  service?: {
@@ -111,7 +104,6 @@ export declare type DeployConfigMongodbBase = {
111
104
  /**
112
105
  * size of the volume, defaults to 8Gi
113
106
  */
114
-
115
107
  size?: string;
116
108
  resources?: KubernetesResourcesDef;
117
109
  };
@@ -124,7 +116,6 @@ export declare type DeployConfigMongodbReplicaset = {
124
116
  /**
125
117
  * defaults to 2
126
118
  */
127
-
128
119
  replicaCount?: number;
129
120
  };
130
121
  export declare type DeployConfigMongodb = DeployConfigMongodbBase & (DeployConfigMongodbStandalone | DeployConfigMongodbReplicaset);
@@ -142,7 +133,6 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
142
133
  * enable mongodb. The mongodb is deployed using a helm chart.
143
134
  * See https://github.com/bitnami/charts/tree/master/bitnami/mongodb
144
135
  */
145
-
146
136
  mongodb?: DeployConfigMongodb;
147
137
  /**
148
138
  * enable mailhog. Mailhog is a virtual mail server that catches all outgoing mailsl and show them in a mailbox.
@@ -152,7 +142,6 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
152
142
  *
153
143
  * Turn it of for production.
154
144
  */
155
-
156
145
  mailhog?: {
157
146
  enabled: boolean;
158
147
  };
@@ -160,7 +149,6 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
160
149
  * post-install/upgrade jobs. These use the app image and have all env vars available.
161
150
  * Typically used for migrations and seeds
162
151
  */
163
-
164
152
  jobs?: Record<string, AllowUnknownProps<{
165
153
  /**
166
154
  * the command to execute
@@ -171,13 +159,11 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
171
159
  *
172
160
  * defaults to post-install,post-upgrade
173
161
  */
174
-
175
162
  hook?: string;
176
163
  }>>;
177
164
  /**
178
165
  * cronjobs that run periodically. These use the app image have all env vars available.
179
166
  */
180
-
181
167
  cronjobs?: Record<string, AllowUnknownProps<{
182
168
  schedule: string;
183
169
  command: string;
@@ -186,7 +172,6 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
186
172
  /**
187
173
  * configuration for the application ("Deployment" in kubernetes)
188
174
  */
189
-
190
175
  application?: false | AllowUnknownProps<{
191
176
  /**
192
177
  * enable, disable app deployment, defaults to true
@@ -195,34 +180,28 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
195
180
  /**
196
181
  * redirects
197
182
  */
198
-
199
183
  redirects?: AllowUnknownProps<{
200
184
  host: string;
201
185
  }>[];
202
186
  /**
203
187
  * Host aliases
204
188
  */
205
-
206
189
  hostAliases?: string[];
207
190
  /**
208
191
  * how many pods will be started
209
192
  */
210
-
211
193
  replicas?: number;
212
194
  /**
213
195
  * autoscale the pods horizontally
214
196
  */
215
-
216
197
  autoscale?: KubernetesAutoscale;
217
198
  /**
218
199
  * the update strategy, see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#rolling-update-deployment
219
200
  */
220
-
221
201
  updateStrategy?: KubernetesUpdateStrategy;
222
202
  /**
223
203
  * kubernetes resources
224
204
  */
225
-
226
205
  resources?: KubernetesResourcesDef;
227
206
  healthRoute?: string;
228
207
  startupProbe?: KubernetesHealthDef;
@@ -233,7 +212,6 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
233
212
  * The worker pod can use the same entry point as the app or a different one (specify command).
234
213
  * It has the same environment variables as the application and an additional IS_WORKER="true" variable
235
214
  */
236
-
237
215
  worker?: KubernetesWorkerDef;
238
216
  }>;
239
217
  /**
@@ -247,14 +225,12 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
247
225
  *
248
226
  * in all other cases use normal env var handling
249
227
  */
250
-
251
228
  secretsFromOtherComponent?: {
252
229
  [envVar: string]: string;
253
230
  };
254
231
  /**
255
232
  * map another services internal endpoint into a env var.
256
233
  */
257
-
258
234
  mapServiceUrlToEnv?: {
259
235
  [envVar: string]: string;
260
236
  };
@@ -264,7 +240,6 @@ export declare type DeployConfigKubernetesValues = AllowUnknownProps<{
264
240
  *
265
241
  * @deprecated this will be removed in the future, because its very niche and not used
266
242
  */
267
-
268
243
  secretsAsFile?: string[];
269
244
  }>;
270
245
  export declare type DeployConfigKubernetes = {
@@ -272,18 +247,15 @@ export declare type DeployConfigKubernetes = {
272
247
  /**
273
248
  * cluster config to use.
274
249
  */
275
-
276
250
  cluster: DeployConfigKubernetesCluster;
277
251
  /**
278
252
  * prints out debug info (helm --debug)
279
253
  */
280
-
281
254
  debug?: boolean;
282
255
  additionalHelmArgs?: string[];
283
256
  /**
284
257
  * values to configure the app
285
258
  */
286
-
287
259
  values?: DeployConfigKubernetesValues;
288
260
  } & DeployConfigBase;
289
261
  export {};
@@ -2,39 +2,28 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.contextIsStoppable = exports.getKubernetesNamespace = exports.getFullKubernetesClusterName = void 0;
5
-
6
5
  var types_1 = require("./types");
7
-
8
6
  var getFullKubernetesClusterName = function (cluster) {
9
7
  if (cluster.type === "gcloud") {
10
8
  return "gke_".concat(cluster.projectId, "_").concat(cluster.region, "_").concat(cluster.name);
11
9
  }
12
10
  };
13
-
14
11
  exports.getFullKubernetesClusterName = getFullKubernetesClusterName;
15
-
16
12
  var getKubernetesNamespace = function (config, env) {
17
13
  return "".concat(config.customerName, "-").concat(config.appName, "-").concat(env);
18
14
  };
19
-
20
15
  exports.getKubernetesNamespace = getKubernetesNamespace;
21
-
22
16
  var contextIsStoppable = function (context) {
23
17
  var deployConfig = context.componentConfig.deploy;
24
-
25
18
  if ((0, types_1.isOfDeployType)(deployConfig, "kubernetes")) {
26
19
  return true;
27
20
  }
28
-
29
21
  if ((0, types_1.isOfDeployType)(deployConfig, "google-cloudrun")) {
30
22
  return true;
31
23
  }
32
-
33
24
  if ((0, types_1.isOfDeployType)(deployConfig, "custom") && deployConfig.stopScript) {
34
25
  return true;
35
26
  }
36
-
37
27
  return false;
38
28
  };
39
-
40
29
  exports.contextIsStoppable = contextIsStoppable;
package/dist/index.js CHANGED
@@ -12,25 +12,15 @@ var __createBinding = this && this.__createBinding || (Object.create ? function
12
12
  if (k2 === undefined) k2 = k;
13
13
  o[k2] = m[k];
14
14
  });
15
-
16
15
  var __exportStar = this && this.__exportStar || function (m, exports) {
17
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
17
  };
19
-
20
18
  exports.__esModule = true;
21
-
22
19
  __exportStar(require("./pipeline/"), exports);
23
-
24
20
  __exportStar(require("./types"), exports);
25
-
26
21
  __exportStar(require("./rules"), exports);
27
-
28
22
  __exportStar(require("./runner"), exports);
29
-
30
23
  __exportStar(require("./config"), exports);
31
-
32
24
  __exportStar(require("./context"), exports);
33
-
34
25
  __exportStar(require("./build"), exports);
35
-
36
26
  __exportStar(require("./deploy"), exports);
@@ -0,0 +1 @@
1
+ export declare const getBuildId: () => Promise<string>;
@@ -6,7 +6,6 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
6
6
  resolve(value);
7
7
  });
8
8
  }
9
-
10
9
  return new (P || (P = Promise))(function (resolve, reject) {
11
10
  function fulfilled(value) {
12
11
  try {
@@ -15,7 +14,6 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
15
14
  reject(e);
16
15
  }
17
16
  }
18
-
19
17
  function rejected(value) {
20
18
  try {
21
19
  step(generator["throw"](value));
@@ -23,29 +21,26 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
23
21
  reject(e);
24
22
  }
25
23
  }
26
-
27
24
  function step(result) {
28
25
  result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
29
26
  }
30
-
31
27
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
28
  });
33
29
  };
34
-
35
30
  var __generator = this && this.__generator || function (thisArg, body) {
36
31
  var _ = {
37
- label: 0,
38
- sent: function () {
39
- if (t[0] & 1) throw t[1];
40
- return t[1];
32
+ label: 0,
33
+ sent: function () {
34
+ if (t[0] & 1) throw t[1];
35
+ return t[1];
36
+ },
37
+ trys: [],
38
+ ops: []
41
39
  },
42
- trys: [],
43
- ops: []
44
- },
45
- f,
46
- y,
47
- t,
48
- g;
40
+ f,
41
+ y,
42
+ t,
43
+ g;
49
44
  return g = {
50
45
  next: verb(0),
51
46
  "throw": verb(1),
@@ -53,78 +48,59 @@ var __generator = this && this.__generator || function (thisArg, body) {
53
48
  }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
54
49
  return this;
55
50
  }), g;
56
-
57
51
  function verb(n) {
58
52
  return function (v) {
59
53
  return step([n, v]);
60
54
  };
61
55
  }
62
-
63
56
  function step(op) {
64
57
  if (f) throw new TypeError("Generator is already executing.");
65
-
66
58
  while (_) try {
67
59
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
68
60
  if (y = 0, t) op = [op[0] & 2, t.value];
69
-
70
61
  switch (op[0]) {
71
62
  case 0:
72
63
  case 1:
73
64
  t = op;
74
65
  break;
75
-
76
66
  case 4:
77
67
  _.label++;
78
68
  return {
79
69
  value: op[1],
80
70
  done: false
81
71
  };
82
-
83
72
  case 5:
84
73
  _.label++;
85
74
  y = op[1];
86
75
  op = [0];
87
76
  continue;
88
-
89
77
  case 7:
90
78
  op = _.ops.pop();
91
-
92
79
  _.trys.pop();
93
-
94
80
  continue;
95
-
96
81
  default:
97
82
  if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
98
83
  _ = 0;
99
84
  continue;
100
85
  }
101
-
102
86
  if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
103
87
  _.label = op[1];
104
88
  break;
105
89
  }
106
-
107
90
  if (op[0] === 6 && _.label < t[1]) {
108
91
  _.label = t[1];
109
92
  t = op;
110
93
  break;
111
94
  }
112
-
113
95
  if (t && _.label < t[2]) {
114
96
  _.label = t[2];
115
-
116
97
  _.ops.push(op);
117
-
118
98
  break;
119
99
  }
120
-
121
100
  if (t[2]) _.ops.pop();
122
-
123
101
  _.trys.pop();
124
-
125
102
  continue;
126
103
  }
127
-
128
104
  op = body.call(thisArg, _);
129
105
  } catch (e) {
130
106
  op = [6, e];
@@ -132,7 +108,6 @@ var __generator = this && this.__generator || function (thisArg, body) {
132
108
  } finally {
133
109
  f = t = 0;
134
110
  }
135
-
136
111
  if (op[0] & 5) throw op[1];
137
112
  return {
138
113
  value: op[0] ? op[1] : void 0,
@@ -140,55 +115,21 @@ var __generator = this && this.__generator || function (thisArg, body) {
140
115
  };
141
116
  }
142
117
  };
143
-
144
118
  exports.__esModule = true;
145
-
146
- var createChildPipeline_1 = require("./createChildPipeline");
147
-
148
- describe("createChildPipeline", function () {
149
- describe("node-app to kuberntes", function () {
150
- var config = {
151
- appName: "test",
152
- customerName: "pan",
153
- components: {
154
- "my-app": {
155
- dir: "myapp",
156
- build: {
157
- type: "node"
158
- },
159
- deploy: {
160
- type: "kubernetes",
161
- cluster: {
162
- type: "gcloud",
163
- name: "mega-cluster",
164
- projectId: "super-google-project",
165
- region: "ch-blabla"
166
- }
167
- }
168
- }
119
+ exports.getBuildId = void 0;
120
+ var child_process_promise_1 = require("child-process-promise");
121
+ var getBuildId = function () {
122
+ return __awaiter(void 0, void 0, void 0, function () {
123
+ return __generator(this, function (_a) {
124
+ switch (_a.label) {
125
+ case 0:
126
+ return [4 /*yield*/, (0, child_process_promise_1.exec)("git describe --tags || git rev-parse HEAD").then(function (s) {
127
+ return s.stdout.trim();
128
+ })];
129
+ case 1:
130
+ return [2 /*return*/, _a.sent()];
169
131
  }
170
- };
171
- it("creates a pipeline for a single app on the main branch", function () {
172
- return __awaiter(void 0, void 0, void 0, function () {
173
- var _a, image, jobs;
174
-
175
- return __generator(this, function (_b) {
176
- switch (_b.label) {
177
- case 0:
178
- return [4
179
- /*yield*/
180
- , (0, createChildPipeline_1.createChildPipeline)("gitlab", "mainBranch", config)];
181
-
182
- case 1:
183
- _a = _b.sent(), image = _a.image, jobs = _a.jobs;
184
- expect(image).toEqual("git.panter.ch:5001/catladder/catladder/base-pipeline:");
185
- expect(Object.keys(jobs)).toEqual(["my-app audit", "my-app lint", "my-app test", "dev my-app app-build", "dev my-app docker-build", "dev my-app deploy-to-kubernetes", "dev my-app kubernetes-stop"]);
186
- return [2
187
- /*return*/
188
- ];
189
- }
190
- });
191
- });
192
132
  });
193
133
  });
194
- });
134
+ };
135
+ exports.getBuildId = getBuildId;
@@ -0,0 +1,2 @@
1
+ import type { CommitInfo } from "../../types";
2
+ export declare const getBaseCommitInfo: () => Promise<Omit<CommitInfo, "trigger">>;