@dagger.io/dagger 0.3.1 → 0.3.3
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.
- package/dist/api/client.gen.d.ts +164 -35
- package/dist/api/client.gen.d.ts.map +1 -1
- package/dist/api/client.gen.js +209 -2
- package/dist/common/errors/DaggerSDKError.d.ts +1 -1
- package/dist/common/errors/DaggerSDKError.d.ts.map +1 -1
- package/dist/common/errors/{EngineSessionEOFErrorOptions.d.ts → EngineSessionErrorOptions.d.ts} +5 -5
- package/dist/common/errors/EngineSessionErrorOptions.d.ts.map +1 -0
- package/dist/common/errors/{EngineSessionEOFErrorOptions.js → EngineSessionErrorOptions.js} +3 -3
- package/dist/common/errors/errors-codes.d.ts +2 -2
- package/dist/common/errors/errors-codes.js +2 -2
- package/dist/common/errors/index.d.ts +1 -1
- package/dist/common/errors/index.d.ts.map +1 -1
- package/dist/common/errors/index.js +1 -1
- package/dist/connect.js +1 -1
- package/dist/provisioning/bin.d.ts +4 -0
- package/dist/provisioning/bin.d.ts.map +1 -1
- package/dist/provisioning/bin.js +29 -10
- package/dist/provisioning/default.d.ts +1 -1
- package/dist/provisioning/default.d.ts.map +1 -1
- package/dist/provisioning/default.js +1 -1
- package/package.json +6 -7
- package/dist/common/errors/EngineSessionEOFErrorOptions.d.ts.map +0 -1
package/dist/api/client.gen.d.ts
CHANGED
|
@@ -39,7 +39,27 @@ export type BuildArg = {
|
|
|
39
39
|
/**
|
|
40
40
|
* A global cache volume identifier.
|
|
41
41
|
*/
|
|
42
|
-
export type CacheID = string
|
|
42
|
+
export type CacheID = string & {
|
|
43
|
+
__CacheID: never;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Sharing mode of the cache volume.
|
|
47
|
+
*/
|
|
48
|
+
export declare enum CacheSharingMode {
|
|
49
|
+
/**
|
|
50
|
+
* Shares the cache volume amongst many build pipelines,
|
|
51
|
+
* but will serialize the writes
|
|
52
|
+
*/
|
|
53
|
+
Locked = 0,
|
|
54
|
+
/**
|
|
55
|
+
* Keeps a cache volume for a single build pipeline
|
|
56
|
+
*/
|
|
57
|
+
Private = 1,
|
|
58
|
+
/**
|
|
59
|
+
* Shares the cache volume amongst many build pipelines
|
|
60
|
+
*/
|
|
61
|
+
Shared = 2
|
|
62
|
+
}
|
|
43
63
|
export type ContainerBuildOpts = {
|
|
44
64
|
/**
|
|
45
65
|
* Path to the Dockerfile to use.
|
|
@@ -50,6 +70,10 @@ export type ContainerBuildOpts = {
|
|
|
50
70
|
* Additional build arguments.
|
|
51
71
|
*/
|
|
52
72
|
buildArgs?: BuildArg[];
|
|
73
|
+
/**
|
|
74
|
+
* Target build stage to build.
|
|
75
|
+
*/
|
|
76
|
+
target?: string;
|
|
53
77
|
};
|
|
54
78
|
export type ContainerExecOpts = {
|
|
55
79
|
/**
|
|
@@ -80,14 +104,17 @@ export type ContainerExportOpts = {
|
|
|
80
104
|
* Identifiers for other platform specific containers.
|
|
81
105
|
* Used for multi-platform image.
|
|
82
106
|
*/
|
|
83
|
-
platformVariants?:
|
|
107
|
+
platformVariants?: Container[];
|
|
108
|
+
};
|
|
109
|
+
export type ContainerPipelineOpts = {
|
|
110
|
+
description?: string;
|
|
84
111
|
};
|
|
85
112
|
export type ContainerPublishOpts = {
|
|
86
113
|
/**
|
|
87
114
|
* Identifiers for other platform specific containers.
|
|
88
115
|
* Used for multi-platform image.
|
|
89
116
|
*/
|
|
90
|
-
platformVariants?:
|
|
117
|
+
platformVariants?: Container[];
|
|
91
118
|
};
|
|
92
119
|
export type ContainerWithDefaultArgsOpts = {
|
|
93
120
|
args?: string[];
|
|
@@ -120,7 +147,14 @@ export type ContainerWithFileOpts = {
|
|
|
120
147
|
permissions?: number;
|
|
121
148
|
};
|
|
122
149
|
export type ContainerWithMountedCacheOpts = {
|
|
123
|
-
|
|
150
|
+
/**
|
|
151
|
+
* Directory to use as the cache volume's root.
|
|
152
|
+
*/
|
|
153
|
+
source?: Directory;
|
|
154
|
+
/**
|
|
155
|
+
* Sharing mode of the cache volume.
|
|
156
|
+
*/
|
|
157
|
+
sharing?: CacheSharingMode;
|
|
124
158
|
};
|
|
125
159
|
export type ContainerWithNewFileOpts = {
|
|
126
160
|
contents?: string;
|
|
@@ -129,23 +163,40 @@ export type ContainerWithNewFileOpts = {
|
|
|
129
163
|
/**
|
|
130
164
|
* A unique container identifier. Null designates an empty container (scratch).
|
|
131
165
|
*/
|
|
132
|
-
export type ContainerID = string
|
|
166
|
+
export type ContainerID = string & {
|
|
167
|
+
__ContainerID: never;
|
|
168
|
+
};
|
|
133
169
|
/**
|
|
134
170
|
* The `DateTime` scalar type represents a DateTime. The DateTime is serialized as an RFC 3339 quoted string
|
|
135
171
|
*/
|
|
136
|
-
export type DateTime = string
|
|
172
|
+
export type DateTime = string & {
|
|
173
|
+
__DateTime: never;
|
|
174
|
+
};
|
|
137
175
|
export type DirectoryDockerBuildOpts = {
|
|
138
176
|
/**
|
|
139
177
|
* Path to the Dockerfile to use.
|
|
140
178
|
* Defaults to './Dockerfile'.
|
|
141
179
|
*/
|
|
142
180
|
dockerfile?: string;
|
|
181
|
+
/**
|
|
182
|
+
* The platform to build.
|
|
183
|
+
*/
|
|
143
184
|
platform?: Platform;
|
|
185
|
+
/**
|
|
186
|
+
* Additional build arguments.
|
|
187
|
+
*/
|
|
144
188
|
buildArgs?: BuildArg[];
|
|
189
|
+
/**
|
|
190
|
+
* Target build stage to build.
|
|
191
|
+
*/
|
|
192
|
+
target?: string;
|
|
145
193
|
};
|
|
146
194
|
export type DirectoryEntriesOpts = {
|
|
147
195
|
path?: string;
|
|
148
196
|
};
|
|
197
|
+
export type DirectoryPipelineOpts = {
|
|
198
|
+
description?: string;
|
|
199
|
+
};
|
|
149
200
|
export type DirectoryWithDirectoryOpts = {
|
|
150
201
|
/**
|
|
151
202
|
* Exclude artifacts that match the given pattern.
|
|
@@ -170,14 +221,18 @@ export type DirectoryWithNewFileOpts = {
|
|
|
170
221
|
/**
|
|
171
222
|
* A content-addressed directory identifier.
|
|
172
223
|
*/
|
|
173
|
-
export type DirectoryID = string
|
|
224
|
+
export type DirectoryID = string & {
|
|
225
|
+
__DirectoryID: never;
|
|
226
|
+
};
|
|
174
227
|
/**
|
|
175
228
|
* A file identifier.
|
|
176
229
|
*/
|
|
177
|
-
export type FileID = string
|
|
230
|
+
export type FileID = string & {
|
|
231
|
+
__FileID: never;
|
|
232
|
+
};
|
|
178
233
|
export type GitRefTreeOpts = {
|
|
179
234
|
sshKnownHosts?: string;
|
|
180
|
-
sshAuthSocket?:
|
|
235
|
+
sshAuthSocket?: Socket;
|
|
181
236
|
};
|
|
182
237
|
export type HostDirectoryOpts = {
|
|
183
238
|
exclude?: string[];
|
|
@@ -190,33 +245,44 @@ export type HostWorkdirOpts = {
|
|
|
190
245
|
/**
|
|
191
246
|
* The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.
|
|
192
247
|
*/
|
|
193
|
-
export type ID = string
|
|
248
|
+
export type ID = string & {
|
|
249
|
+
__ID: never;
|
|
250
|
+
};
|
|
194
251
|
/**
|
|
195
252
|
* The platform config OS and architecture in a Container.
|
|
196
|
-
* The format is
|
|
253
|
+
* The format is [os]/[platform]/[version] (e.g. darwin/arm64/v7, windows/amd64, linux/arm64).
|
|
197
254
|
*/
|
|
198
|
-
export type Platform = string
|
|
255
|
+
export type Platform = string & {
|
|
256
|
+
__Platform: never;
|
|
257
|
+
};
|
|
199
258
|
export type ClientContainerOpts = {
|
|
200
|
-
id?: ContainerID
|
|
259
|
+
id?: ContainerID;
|
|
201
260
|
platform?: Platform;
|
|
202
261
|
};
|
|
203
262
|
export type ClientDirectoryOpts = {
|
|
204
|
-
id?: DirectoryID
|
|
263
|
+
id?: DirectoryID;
|
|
205
264
|
};
|
|
206
265
|
export type ClientGitOpts = {
|
|
207
266
|
keepGitDir?: boolean;
|
|
208
267
|
};
|
|
268
|
+
export type ClientPipelineOpts = {
|
|
269
|
+
description?: string;
|
|
270
|
+
};
|
|
209
271
|
export type ClientSocketOpts = {
|
|
210
|
-
id?: SocketID
|
|
272
|
+
id?: SocketID;
|
|
211
273
|
};
|
|
212
274
|
/**
|
|
213
275
|
* A unique identifier for a secret.
|
|
214
276
|
*/
|
|
215
|
-
export type SecretID = string
|
|
277
|
+
export type SecretID = string & {
|
|
278
|
+
__SecretID: never;
|
|
279
|
+
};
|
|
216
280
|
/**
|
|
217
281
|
* A content-addressed socket identifier.
|
|
218
282
|
*/
|
|
219
|
-
export type SocketID = string
|
|
283
|
+
export type SocketID = string & {
|
|
284
|
+
__SocketID: never;
|
|
285
|
+
};
|
|
220
286
|
export type __TypeEnumValuesOpts = {
|
|
221
287
|
includeDeprecated?: boolean;
|
|
222
288
|
};
|
|
@@ -239,8 +305,9 @@ export declare class Container extends BaseClient {
|
|
|
239
305
|
* @param opts.dockerfile Path to the Dockerfile to use.
|
|
240
306
|
Defaults to './Dockerfile'.
|
|
241
307
|
* @param opts.buildArgs Additional build arguments.
|
|
308
|
+
* @param opts.target Target build stage to build.
|
|
242
309
|
*/
|
|
243
|
-
build(context:
|
|
310
|
+
build(context: Directory, opts?: ContainerBuildOpts): Container;
|
|
244
311
|
/**
|
|
245
312
|
* Retrieves default arguments for future commands.
|
|
246
313
|
*/
|
|
@@ -294,7 +361,7 @@ export declare class Container extends BaseClient {
|
|
|
294
361
|
/**
|
|
295
362
|
* Initializes this container from the base image published at the given address.
|
|
296
363
|
* @param address Image's address from its registry.
|
|
297
|
-
Formatted as
|
|
364
|
+
Formatted as [host]/[user]/[repo]:[tag] (e.g. docker.io/dagger/dagger:main).
|
|
298
365
|
*/
|
|
299
366
|
from(address: string): Container;
|
|
300
367
|
/**
|
|
@@ -306,10 +373,22 @@ export declare class Container extends BaseClient {
|
|
|
306
373
|
* A unique identifier for this container.
|
|
307
374
|
*/
|
|
308
375
|
id(): Promise<ContainerID>;
|
|
376
|
+
/**
|
|
377
|
+
* Retrieves the value of the specified label.
|
|
378
|
+
*/
|
|
379
|
+
label(name: string): Promise<string>;
|
|
380
|
+
/**
|
|
381
|
+
* Retrieves the list of labels passed to container.
|
|
382
|
+
*/
|
|
383
|
+
labels(): Promise<Label[]>;
|
|
309
384
|
/**
|
|
310
385
|
* Retrieves the list of paths where a directory is mounted.
|
|
311
386
|
*/
|
|
312
387
|
mounts(): Promise<string[]>;
|
|
388
|
+
/**
|
|
389
|
+
* Creates a named sub-pipeline
|
|
390
|
+
*/
|
|
391
|
+
pipeline(name: string, opts?: ContainerPipelineOpts): Container;
|
|
313
392
|
/**
|
|
314
393
|
* The platform this container executes and publishes as.
|
|
315
394
|
*/
|
|
@@ -317,7 +396,7 @@ export declare class Container extends BaseClient {
|
|
|
317
396
|
/**
|
|
318
397
|
* Publishes this container as a new image to the specified address, for the platformVariants, returning a fully qualified ref.
|
|
319
398
|
* @param address Registry's address to publish the image to.
|
|
320
|
-
Formatted as
|
|
399
|
+
Formatted as [host]/[user]/[repo]:[tag] (e.g. docker.io/dagger/dagger:main).
|
|
321
400
|
* @param opts.platformVariants Identifiers for other platform specific containers.
|
|
322
401
|
Used for multi-platform image.
|
|
323
402
|
*/
|
|
@@ -347,7 +426,7 @@ export declare class Container extends BaseClient {
|
|
|
347
426
|
/**
|
|
348
427
|
* Retrieves this container plus a directory written at the given path.
|
|
349
428
|
*/
|
|
350
|
-
withDirectory(path: string, directory:
|
|
429
|
+
withDirectory(path: string, directory: Directory, opts?: ContainerWithDirectoryOpts): Container;
|
|
351
430
|
/**
|
|
352
431
|
* Retrieves this container but with a different command entrypoint.
|
|
353
432
|
*/
|
|
@@ -371,27 +450,35 @@ export declare class Container extends BaseClient {
|
|
|
371
450
|
* Initializes this container from this DirectoryID.
|
|
372
451
|
* @deprecated Replaced by withRootfs.
|
|
373
452
|
*/
|
|
374
|
-
withFS(id:
|
|
453
|
+
withFS(id: Directory): Container;
|
|
375
454
|
/**
|
|
376
455
|
* Retrieves this container plus the contents of the given file copied to the given path.
|
|
377
456
|
*/
|
|
378
|
-
withFile(path: string, source:
|
|
457
|
+
withFile(path: string, source: File, opts?: ContainerWithFileOpts): Container;
|
|
458
|
+
/**
|
|
459
|
+
* Retrieves this container plus the given label.
|
|
460
|
+
*/
|
|
461
|
+
withLabel(name: string, value: string): Container;
|
|
379
462
|
/**
|
|
380
463
|
* Retrieves this container plus a cache volume mounted at the given path.
|
|
464
|
+
* @param path Path to mount the cache volume at.
|
|
465
|
+
* @param cache ID of the cache to mount.
|
|
466
|
+
* @param opts.source Directory to use as the cache volume's root.
|
|
467
|
+
* @param opts.sharing Sharing mode of the cache volume.
|
|
381
468
|
*/
|
|
382
|
-
withMountedCache(path: string, cache:
|
|
469
|
+
withMountedCache(path: string, cache: CacheVolume, opts?: ContainerWithMountedCacheOpts): Container;
|
|
383
470
|
/**
|
|
384
471
|
* Retrieves this container plus a directory mounted at the given path.
|
|
385
472
|
*/
|
|
386
|
-
withMountedDirectory(path: string, source:
|
|
473
|
+
withMountedDirectory(path: string, source: Directory): Container;
|
|
387
474
|
/**
|
|
388
475
|
* Retrieves this container plus a file mounted at the given path.
|
|
389
476
|
*/
|
|
390
|
-
withMountedFile(path: string, source:
|
|
477
|
+
withMountedFile(path: string, source: File): Container;
|
|
391
478
|
/**
|
|
392
479
|
* Retrieves this container plus a secret mounted into a file at the given path.
|
|
393
480
|
*/
|
|
394
|
-
withMountedSecret(path: string, source:
|
|
481
|
+
withMountedSecret(path: string, source: Secret): Container;
|
|
395
482
|
/**
|
|
396
483
|
* Retrieves this container plus a temporary directory mounted at the given path.
|
|
397
484
|
*/
|
|
@@ -400,18 +487,26 @@ export declare class Container extends BaseClient {
|
|
|
400
487
|
* Retrieves this container plus a new file written at the given path.
|
|
401
488
|
*/
|
|
402
489
|
withNewFile(path: string, opts?: ContainerWithNewFileOpts): Container;
|
|
490
|
+
/**
|
|
491
|
+
* Retrieves this container with a registry authentication for a given address.
|
|
492
|
+
* @param address Registry's address to bind the authentication to.
|
|
493
|
+
Formatted as [host]/[user]/[repo]:[tag] (e.g. docker.io/dagger/dagger:main).
|
|
494
|
+
* @param username The username of the registry's account (e.g., "Dagger").
|
|
495
|
+
* @param secret The API key, password or token to authenticate to this registry.
|
|
496
|
+
*/
|
|
497
|
+
withRegistryAuth(address: string, username: string, secret: Secret): Container;
|
|
403
498
|
/**
|
|
404
499
|
* Initializes this container from this DirectoryID.
|
|
405
500
|
*/
|
|
406
|
-
withRootfs(id:
|
|
501
|
+
withRootfs(id: Directory): Container;
|
|
407
502
|
/**
|
|
408
503
|
* Retrieves this container plus an env variable containing the given secret.
|
|
409
504
|
*/
|
|
410
|
-
withSecretVariable(name: string, secret:
|
|
505
|
+
withSecretVariable(name: string, secret: Secret): Container;
|
|
411
506
|
/**
|
|
412
507
|
* Retrieves this container plus a socket forwarded to the given Unix socket path.
|
|
413
508
|
*/
|
|
414
|
-
withUnixSocket(path: string, source:
|
|
509
|
+
withUnixSocket(path: string, source: Socket): Container;
|
|
415
510
|
/**
|
|
416
511
|
* Retrieves this containers with a different command user.
|
|
417
512
|
*/
|
|
@@ -424,10 +519,20 @@ export declare class Container extends BaseClient {
|
|
|
424
519
|
* Retrieves this container minus the given environment variable.
|
|
425
520
|
*/
|
|
426
521
|
withoutEnvVariable(name: string): Container;
|
|
522
|
+
/**
|
|
523
|
+
* Retrieves this container minus the given environment label.
|
|
524
|
+
*/
|
|
525
|
+
withoutLabel(name: string): Container;
|
|
427
526
|
/**
|
|
428
527
|
* Retrieves this container after unmounting everything at the given path.
|
|
429
528
|
*/
|
|
430
529
|
withoutMount(path: string): Container;
|
|
530
|
+
/**
|
|
531
|
+
* Retrieves this container without the registry authentication of a given address.
|
|
532
|
+
* @param address Registry's address to remove the authentication from.
|
|
533
|
+
Formatted as [host]/[user]/[repo]:[tag] (e.g. docker.io/dagger/dagger:main).
|
|
534
|
+
*/
|
|
535
|
+
withoutRegistryAuth(address: string): Container;
|
|
431
536
|
/**
|
|
432
537
|
* Retrieves this container with a previously added Unix socket removed.
|
|
433
538
|
*/
|
|
@@ -444,7 +549,7 @@ export declare class Directory extends BaseClient {
|
|
|
444
549
|
/**
|
|
445
550
|
* Gets the difference between this directory and an another directory.
|
|
446
551
|
*/
|
|
447
|
-
diff(other:
|
|
552
|
+
diff(other: Directory): Directory;
|
|
448
553
|
/**
|
|
449
554
|
* Retrieves a directory at the given path.
|
|
450
555
|
*/
|
|
@@ -453,6 +558,9 @@ export declare class Directory extends BaseClient {
|
|
|
453
558
|
* Builds a new Docker container from this directory.
|
|
454
559
|
* @param opts.dockerfile Path to the Dockerfile to use.
|
|
455
560
|
Defaults to './Dockerfile'.
|
|
561
|
+
* @param opts.platform The platform to build.
|
|
562
|
+
* @param opts.buildArgs Additional build arguments.
|
|
563
|
+
* @param opts.target Target build stage to build.
|
|
456
564
|
*/
|
|
457
565
|
dockerBuild(opts?: DirectoryDockerBuildOpts): Container;
|
|
458
566
|
/**
|
|
@@ -475,6 +583,10 @@ export declare class Directory extends BaseClient {
|
|
|
475
583
|
* load a project's metadata
|
|
476
584
|
*/
|
|
477
585
|
loadProject(configPath: string): Project;
|
|
586
|
+
/**
|
|
587
|
+
* Creates a named sub-pipeline.
|
|
588
|
+
*/
|
|
589
|
+
pipeline(name: string, opts?: DirectoryPipelineOpts): Directory;
|
|
478
590
|
/**
|
|
479
591
|
* Retrieves this directory plus a directory written at the given path.
|
|
480
592
|
* @param opts.exclude Exclude artifacts that match the given pattern.
|
|
@@ -482,11 +594,11 @@ export declare class Directory extends BaseClient {
|
|
|
482
594
|
* @param opts.include Include only artifacts that match the given pattern.
|
|
483
595
|
(e.g. ["app/", "package.*"]).
|
|
484
596
|
*/
|
|
485
|
-
withDirectory(path: string, directory:
|
|
597
|
+
withDirectory(path: string, directory: Directory, opts?: DirectoryWithDirectoryOpts): Directory;
|
|
486
598
|
/**
|
|
487
599
|
* Retrieves this directory plus the contents of the given file copied to the given path.
|
|
488
600
|
*/
|
|
489
|
-
withFile(path: string, source:
|
|
601
|
+
withFile(path: string, source: File, opts?: DirectoryWithFileOpts): Directory;
|
|
490
602
|
/**
|
|
491
603
|
* Retrieves this directory plus a new directory created at the given path.
|
|
492
604
|
*/
|
|
@@ -623,6 +735,19 @@ export declare class HostVariable extends BaseClient {
|
|
|
623
735
|
*/
|
|
624
736
|
value(): Promise<string>;
|
|
625
737
|
}
|
|
738
|
+
/**
|
|
739
|
+
* A simple key value object that represents a label.
|
|
740
|
+
*/
|
|
741
|
+
export declare class Label extends BaseClient {
|
|
742
|
+
/**
|
|
743
|
+
* The label name.
|
|
744
|
+
*/
|
|
745
|
+
name(): Promise<string>;
|
|
746
|
+
/**
|
|
747
|
+
* The label value.
|
|
748
|
+
*/
|
|
749
|
+
value(): Promise<string>;
|
|
750
|
+
}
|
|
626
751
|
/**
|
|
627
752
|
* A set of scripts and/or extensions
|
|
628
753
|
*/
|
|
@@ -675,7 +800,7 @@ export default class Client extends BaseClient {
|
|
|
675
800
|
/**
|
|
676
801
|
* Loads a file by ID.
|
|
677
802
|
*/
|
|
678
|
-
file(id: FileID
|
|
803
|
+
file(id: FileID): File;
|
|
679
804
|
/**
|
|
680
805
|
* Queries a git repository.
|
|
681
806
|
*/
|
|
@@ -688,6 +813,10 @@ export default class Client extends BaseClient {
|
|
|
688
813
|
* Returns a file containing an http remote url content.
|
|
689
814
|
*/
|
|
690
815
|
http(url: string): File;
|
|
816
|
+
/**
|
|
817
|
+
* Creates a named sub-pipeline
|
|
818
|
+
*/
|
|
819
|
+
pipeline(name: string, opts?: ClientPipelineOpts): Client;
|
|
691
820
|
/**
|
|
692
821
|
* Look up a project by name
|
|
693
822
|
*/
|
|
@@ -695,7 +824,7 @@ export default class Client extends BaseClient {
|
|
|
695
824
|
/**
|
|
696
825
|
* Loads a secret from its ID.
|
|
697
826
|
*/
|
|
698
|
-
secret(id: SecretID
|
|
827
|
+
secret(id: SecretID): Secret;
|
|
699
828
|
/**
|
|
700
829
|
* Loads a soc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QAAQ,CAAC;IAc1C;;OAEG;IACH,SAAS,CAAC,IAAI,CAAC,EAAE,mBAAmB,GAAG,SAAS;IAchD;;OAEG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IActB;;OAEG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,aAAa;IAcrD;;OAEG;IACH,IAAI,IAAI,IAAI;IAaZ;;OAEG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAcvB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,kBAAkB,GAAG,MAAM;IAczD;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAc9B;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,QAAQ,GAAG,MAAM;IAc5B;;OAEG;IACH,MAAM,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,MAAM;CAaxC;AAED;;GAEG;AACH,qBAAa,MAAO,SAAQ,UAAU;IACpC;;OAEG;IACG,EAAE,IAAI,OAAO,CAAC,QAAQ,CAAC;IAc7B;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC;CAanC;AAED,qBAAa,MAAO,SAAQ,UAAU;IACpC;;OAEG;IACG,EAAE,IAAI,OAAO,CAAC,QAAQ,CAAC;CAa9B"}
|
package/dist/api/client.gen.js
CHANGED
|
@@ -34,6 +34,25 @@ class BaseClient {
|
|
|
34
34
|
return this._queryTree;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Sharing mode of the cache volume.
|
|
39
|
+
*/
|
|
40
|
+
export var CacheSharingMode;
|
|
41
|
+
(function (CacheSharingMode) {
|
|
42
|
+
/**
|
|
43
|
+
* Shares the cache volume amongst many build pipelines,
|
|
44
|
+
* but will serialize the writes
|
|
45
|
+
*/
|
|
46
|
+
CacheSharingMode[CacheSharingMode["Locked"] = 0] = "Locked";
|
|
47
|
+
/**
|
|
48
|
+
* Keeps a cache volume for a single build pipeline
|
|
49
|
+
*/
|
|
50
|
+
CacheSharingMode[CacheSharingMode["Private"] = 1] = "Private";
|
|
51
|
+
/**
|
|
52
|
+
* Shares the cache volume amongst many build pipelines
|
|
53
|
+
*/
|
|
54
|
+
CacheSharingMode[CacheSharingMode["Shared"] = 2] = "Shared";
|
|
55
|
+
})(CacheSharingMode || (CacheSharingMode = {}));
|
|
37
56
|
/**
|
|
38
57
|
* A directory whose contents persist across runs.
|
|
39
58
|
*/
|
|
@@ -60,6 +79,7 @@ export class Container extends BaseClient {
|
|
|
60
79
|
* @param opts.dockerfile Path to the Dockerfile to use.
|
|
61
80
|
Defaults to './Dockerfile'.
|
|
62
81
|
* @param opts.buildArgs Additional build arguments.
|
|
82
|
+
* @param opts.target Target build stage to build.
|
|
63
83
|
*/
|
|
64
84
|
build(context, opts) {
|
|
65
85
|
return new Container({
|
|
@@ -225,7 +245,7 @@ export class Container extends BaseClient {
|
|
|
225
245
|
/**
|
|
226
246
|
* Initializes this container from the base image published at the given address.
|
|
227
247
|
* @param address Image's address from its registry.
|
|
228
|
-
Formatted as
|
|
248
|
+
Formatted as [host]/[user]/[repo]:[tag] (e.g. docker.io/dagger/dagger:main).
|
|
229
249
|
*/
|
|
230
250
|
from(address) {
|
|
231
251
|
return new Container({
|
|
@@ -270,6 +290,35 @@ export class Container extends BaseClient {
|
|
|
270
290
|
return response;
|
|
271
291
|
});
|
|
272
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* Retrieves the value of the specified label.
|
|
295
|
+
*/
|
|
296
|
+
label(name) {
|
|
297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
298
|
+
const response = yield computeQuery([
|
|
299
|
+
...this._queryTree,
|
|
300
|
+
{
|
|
301
|
+
operation: "label",
|
|
302
|
+
args: { name },
|
|
303
|
+
},
|
|
304
|
+
], this.client);
|
|
305
|
+
return response;
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Retrieves the list of labels passed to container.
|
|
310
|
+
*/
|
|
311
|
+
labels() {
|
|
312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
+
const response = yield computeQuery([
|
|
314
|
+
...this._queryTree,
|
|
315
|
+
{
|
|
316
|
+
operation: "labels",
|
|
317
|
+
},
|
|
318
|
+
], this.client);
|
|
319
|
+
return response;
|
|
320
|
+
});
|
|
321
|
+
}
|
|
273
322
|
/**
|
|
274
323
|
* Retrieves the list of paths where a directory is mounted.
|
|
275
324
|
*/
|
|
@@ -284,6 +333,22 @@ export class Container extends BaseClient {
|
|
|
284
333
|
return response;
|
|
285
334
|
});
|
|
286
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* Creates a named sub-pipeline
|
|
338
|
+
*/
|
|
339
|
+
pipeline(name, opts) {
|
|
340
|
+
return new Container({
|
|
341
|
+
queryTree: [
|
|
342
|
+
...this._queryTree,
|
|
343
|
+
{
|
|
344
|
+
operation: "pipeline",
|
|
345
|
+
args: Object.assign({ name }, opts),
|
|
346
|
+
},
|
|
347
|
+
],
|
|
348
|
+
host: this.clientHost,
|
|
349
|
+
sessionToken: this.sessionToken,
|
|
350
|
+
});
|
|
351
|
+
}
|
|
287
352
|
/**
|
|
288
353
|
* The platform this container executes and publishes as.
|
|
289
354
|
*/
|
|
@@ -301,7 +366,7 @@ export class Container extends BaseClient {
|
|
|
301
366
|
/**
|
|
302
367
|
* Publishes this container as a new image to the specified address, for the platformVariants, returning a fully qualified ref.
|
|
303
368
|
* @param address Registry's address to publish the image to.
|
|
304
|
-
Formatted as
|
|
369
|
+
Formatted as [host]/[user]/[repo]:[tag] (e.g. docker.io/dagger/dagger:main).
|
|
305
370
|
* @param opts.platformVariants Identifiers for other platform specific containers.
|
|
306
371
|
Used for multi-platform image.
|
|
307
372
|
*/
|
|
@@ -496,8 +561,28 @@ export class Container extends BaseClient {
|
|
|
496
561
|
sessionToken: this.sessionToken,
|
|
497
562
|
});
|
|
498
563
|
}
|
|
564
|
+
/**
|
|
565
|
+
* Retrieves this container plus the given label.
|
|
566
|
+
*/
|
|
567
|
+
withLabel(name, value) {
|
|
568
|
+
return new Container({
|
|
569
|
+
queryTree: [
|
|
570
|
+
...this._queryTree,
|
|
571
|
+
{
|
|
572
|
+
operation: "withLabel",
|
|
573
|
+
args: { name, value },
|
|
574
|
+
},
|
|
575
|
+
],
|
|
576
|
+
host: this.clientHost,
|
|
577
|
+
sessionToken: this.sessionToken,
|
|
578
|
+
});
|
|
579
|
+
}
|
|
499
580
|
/**
|
|
500
581
|
* Retrieves this container plus a cache volume mounted at the given path.
|
|
582
|
+
* @param path Path to mount the cache volume at.
|
|
583
|
+
* @param cache ID of the cache to mount.
|
|
584
|
+
* @param opts.source Directory to use as the cache volume's root.
|
|
585
|
+
* @param opts.sharing Sharing mode of the cache volume.
|
|
501
586
|
*/
|
|
502
587
|
withMountedCache(path, cache, opts) {
|
|
503
588
|
return new Container({
|
|
@@ -592,6 +677,26 @@ export class Container extends BaseClient {
|
|
|
592
677
|
sessionToken: this.sessionToken,
|
|
593
678
|
});
|
|
594
679
|
}
|
|
680
|
+
/**
|
|
681
|
+
* Retrieves this container with a registry authentication for a given address.
|
|
682
|
+
* @param address Registry's address to bind the authentication to.
|
|
683
|
+
Formatted as [host]/[user]/[repo]:[tag] (e.g. docker.io/dagger/dagger:main).
|
|
684
|
+
* @param username The username of the registry's account (e.g., "Dagger").
|
|
685
|
+
* @param secret The API key, password or token to authenticate to this registry.
|
|
686
|
+
*/
|
|
687
|
+
withRegistryAuth(address, username, secret) {
|
|
688
|
+
return new Container({
|
|
689
|
+
queryTree: [
|
|
690
|
+
...this._queryTree,
|
|
691
|
+
{
|
|
692
|
+
operation: "withRegistryAuth",
|
|
693
|
+
args: { address, username, secret },
|
|
694
|
+
},
|
|
695
|
+
],
|
|
696
|
+
host: this.clientHost,
|
|
697
|
+
sessionToken: this.sessionToken,
|
|
698
|
+
});
|
|
699
|
+
}
|
|
595
700
|
/**
|
|
596
701
|
* Initializes this container from this DirectoryID.
|
|
597
702
|
*/
|
|
@@ -688,6 +793,22 @@ export class Container extends BaseClient {
|
|
|
688
793
|
sessionToken: this.sessionToken,
|
|
689
794
|
});
|
|
690
795
|
}
|
|
796
|
+
/**
|
|
797
|
+
* Retrieves this container minus the given environment label.
|
|
798
|
+
*/
|
|
799
|
+
withoutLabel(name) {
|
|
800
|
+
return new Container({
|
|
801
|
+
queryTree: [
|
|
802
|
+
...this._queryTree,
|
|
803
|
+
{
|
|
804
|
+
operation: "withoutLabel",
|
|
805
|
+
args: { name },
|
|
806
|
+
},
|
|
807
|
+
],
|
|
808
|
+
host: this.clientHost,
|
|
809
|
+
sessionToken: this.sessionToken,
|
|
810
|
+
});
|
|
811
|
+
}
|
|
691
812
|
/**
|
|
692
813
|
* Retrieves this container after unmounting everything at the given path.
|
|
693
814
|
*/
|
|
@@ -704,6 +825,24 @@ export class Container extends BaseClient {
|
|
|
704
825
|
sessionToken: this.sessionToken,
|
|
705
826
|
});
|
|
706
827
|
}
|
|
828
|
+
/**
|
|
829
|
+
* Retrieves this container without the registry authentication of a given address.
|
|
830
|
+
* @param address Registry's address to remove the authentication from.
|
|
831
|
+
Formatted as [host]/[user]/[repo]:[tag] (e.g. docker.io/dagger/dagger:main).
|
|
832
|
+
*/
|
|
833
|
+
withoutRegistryAuth(address) {
|
|
834
|
+
return new Container({
|
|
835
|
+
queryTree: [
|
|
836
|
+
...this._queryTree,
|
|
837
|
+
{
|
|
838
|
+
operation: "withoutRegistryAuth",
|
|
839
|
+
args: { address },
|
|
840
|
+
},
|
|
841
|
+
],
|
|
842
|
+
host: this.clientHost,
|
|
843
|
+
sessionToken: this.sessionToken,
|
|
844
|
+
});
|
|
845
|
+
}
|
|
707
846
|
/**
|
|
708
847
|
* Retrieves this container with a previously added Unix socket removed.
|
|
709
848
|
*/
|
|
@@ -775,6 +914,9 @@ export class Directory extends BaseClient {
|
|
|
775
914
|
* Builds a new Docker container from this directory.
|
|
776
915
|
* @param opts.dockerfile Path to the Dockerfile to use.
|
|
777
916
|
Defaults to './Dockerfile'.
|
|
917
|
+
* @param opts.platform The platform to build.
|
|
918
|
+
* @param opts.buildArgs Additional build arguments.
|
|
919
|
+
* @param opts.target Target build stage to build.
|
|
778
920
|
*/
|
|
779
921
|
dockerBuild(opts) {
|
|
780
922
|
return new Container({
|
|
@@ -865,6 +1007,22 @@ export class Directory extends BaseClient {
|
|
|
865
1007
|
sessionToken: this.sessionToken,
|
|
866
1008
|
});
|
|
867
1009
|
}
|
|
1010
|
+
/**
|
|
1011
|
+
* Creates a named sub-pipeline.
|
|
1012
|
+
*/
|
|
1013
|
+
pipeline(name, opts) {
|
|
1014
|
+
return new Directory({
|
|
1015
|
+
queryTree: [
|
|
1016
|
+
...this._queryTree,
|
|
1017
|
+
{
|
|
1018
|
+
operation: "pipeline",
|
|
1019
|
+
args: Object.assign({ name }, opts),
|
|
1020
|
+
},
|
|
1021
|
+
],
|
|
1022
|
+
host: this.clientHost,
|
|
1023
|
+
sessionToken: this.sessionToken,
|
|
1024
|
+
});
|
|
1025
|
+
}
|
|
868
1026
|
/**
|
|
869
1027
|
* Retrieves this directory plus a directory written at the given path.
|
|
870
1028
|
* @param opts.exclude Exclude artifacts that match the given pattern.
|
|
@@ -1328,6 +1486,39 @@ export class HostVariable extends BaseClient {
|
|
|
1328
1486
|
});
|
|
1329
1487
|
}
|
|
1330
1488
|
}
|
|
1489
|
+
/**
|
|
1490
|
+
* A simple key value object that represents a label.
|
|
1491
|
+
*/
|
|
1492
|
+
export class Label extends BaseClient {
|
|
1493
|
+
/**
|
|
1494
|
+
* The label name.
|
|
1495
|
+
*/
|
|
1496
|
+
name() {
|
|
1497
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1498
|
+
const response = yield computeQuery([
|
|
1499
|
+
...this._queryTree,
|
|
1500
|
+
{
|
|
1501
|
+
operation: "name",
|
|
1502
|
+
},
|
|
1503
|
+
], this.client);
|
|
1504
|
+
return response;
|
|
1505
|
+
});
|
|
1506
|
+
}
|
|
1507
|
+
/**
|
|
1508
|
+
* The label value.
|
|
1509
|
+
*/
|
|
1510
|
+
value() {
|
|
1511
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1512
|
+
const response = yield computeQuery([
|
|
1513
|
+
...this._queryTree,
|
|
1514
|
+
{
|
|
1515
|
+
operation: "value",
|
|
1516
|
+
},
|
|
1517
|
+
], this.client);
|
|
1518
|
+
return response;
|
|
1519
|
+
});
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1331
1522
|
/**
|
|
1332
1523
|
* A set of scripts and/or extensions
|
|
1333
1524
|
*/
|
|
@@ -1547,6 +1738,22 @@ export default class Client extends BaseClient {
|
|
|
1547
1738
|
sessionToken: this.sessionToken,
|
|
1548
1739
|
});
|
|
1549
1740
|
}
|
|
1741
|
+
/**
|
|
1742
|
+
* Creates a named sub-pipeline
|
|
1743
|
+
*/
|
|
1744
|
+
pipeline(name, opts) {
|
|
1745
|
+
return new Client({
|
|
1746
|
+
queryTree: [
|
|
1747
|
+
...this._queryTree,
|
|
1748
|
+
{
|
|
1749
|
+
operation: "pipeline",
|
|
1750
|
+
args: Object.assign({ name }, opts),
|
|
1751
|
+
},
|
|
1752
|
+
],
|
|
1753
|
+
host: this.clientHost,
|
|
1754
|
+
sessionToken: this.sessionToken,
|
|
1755
|
+
});
|
|
1756
|
+
}
|
|
1550
1757
|
/**
|
|
1551
1758
|
* Look up a project by name
|
|
1552
1759
|
*/
|
|
@@ -23,7 +23,7 @@ export declare abstract class DaggerSDKError extends Error {
|
|
|
23
23
|
/**
|
|
24
24
|
* @hidden
|
|
25
25
|
*/
|
|
26
|
-
get [Symbol.toStringTag](): "GraphQLRequestError" | "UnknownDaggerError" | "TooManyNestedObjectsError" | "EngineSessionConnectParamsParseError" | "EngineSessionConnectionTimeoutError" | "
|
|
26
|
+
get [Symbol.toStringTag](): "GraphQLRequestError" | "UnknownDaggerError" | "TooManyNestedObjectsError" | "EngineSessionConnectParamsParseError" | "EngineSessionConnectionTimeoutError" | "EngineSessionError" | "InitEngineSessionBinaryError" | "DockerImageRefValidationError";
|
|
27
27
|
/**
|
|
28
28
|
* Pretty prints the error
|
|
29
29
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DaggerSDKError.d.ts","sourceRoot":"","sources":["../../../common/errors/DaggerSDKError.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEvD,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AAED;;GAEG;AACH,8BAAsB,cAAe,SAAQ,KAAK;IAChD;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;IAElC;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;IAElC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;IAEb,SAAS,aAAa,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAKtE;;OAEG;IACH,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"DaggerSDKError.d.ts","sourceRoot":"","sources":["../../../common/errors/DaggerSDKError.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEvD,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AAED;;GAEG;AACH,8BAAsB,cAAe,SAAQ,KAAK;IAChD;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;IAElC;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;IAElC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;IAEb,SAAS,aAAa,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAKtE;;OAEG;IACH,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,0PAEvB;IAED;;OAEG;IACH,eAAe;CAGhB"}
|
package/dist/common/errors/{EngineSessionEOFErrorOptions.d.ts → EngineSessionErrorOptions.d.ts}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { DaggerSDKError, DaggerSDKErrorOptions } from "./DaggerSDKError.js";
|
|
2
|
-
type
|
|
2
|
+
type EngineSessionErrorOptions = DaggerSDKErrorOptions;
|
|
3
3
|
/**
|
|
4
4
|
* This error is thrown if the EngineSession does not manage to parse the required port successfully because a EOF is read before any valid port.
|
|
5
5
|
* This usually happens if no connection can be established.
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
8
|
-
name: "
|
|
7
|
+
export declare class EngineSessionError extends DaggerSDKError {
|
|
8
|
+
name: "EngineSessionError";
|
|
9
9
|
code: "D105";
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
|
-
constructor(message: string, options?:
|
|
13
|
+
constructor(message: string, options?: EngineSessionErrorOptions);
|
|
14
14
|
}
|
|
15
15
|
export {};
|
|
16
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=EngineSessionErrorOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EngineSessionErrorOptions.d.ts","sourceRoot":"","sources":["../../../common/errors/EngineSessionErrorOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAG3E,KAAK,yBAAyB,GAAG,qBAAqB,CAAA;AAEtD;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,cAAc;IACpD,IAAI,uBAAiC;IACrC,IAAI,SAAiC;IAErC;;OAEG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,yBAAyB;CAGjE"}
|
|
@@ -4,13 +4,13 @@ import { ERROR_CODES, ERROR_NAMES } from "./errors-codes.js";
|
|
|
4
4
|
* This error is thrown if the EngineSession does not manage to parse the required port successfully because a EOF is read before any valid port.
|
|
5
5
|
* This usually happens if no connection can be established.
|
|
6
6
|
*/
|
|
7
|
-
export class
|
|
7
|
+
export class EngineSessionError extends DaggerSDKError {
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
constructor(message, options) {
|
|
12
12
|
super(message, options);
|
|
13
|
-
this.name = ERROR_NAMES.
|
|
14
|
-
this.code = ERROR_CODES.
|
|
13
|
+
this.name = ERROR_NAMES.EngineSessionError;
|
|
14
|
+
this.code = ERROR_CODES.EngineSessionError;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -20,9 +20,9 @@ export declare const ERROR_CODES: {
|
|
|
20
20
|
*/
|
|
21
21
|
readonly EngineSessionConnectionTimeoutError: "D104";
|
|
22
22
|
/**
|
|
23
|
-
* {@link
|
|
23
|
+
* {@link EngineSessionError}
|
|
24
24
|
*/
|
|
25
|
-
readonly
|
|
25
|
+
readonly EngineSessionError: "D105";
|
|
26
26
|
/**
|
|
27
27
|
* {@link InitEngineSessionBinaryError}
|
|
28
28
|
*/
|
|
@@ -20,9 +20,9 @@ export const ERROR_CODES = {
|
|
|
20
20
|
*/
|
|
21
21
|
EngineSessionConnectionTimeoutError: "D104",
|
|
22
22
|
/**
|
|
23
|
-
* {@link
|
|
23
|
+
* {@link EngineSessionError}
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
EngineSessionError: "D105",
|
|
26
26
|
/**
|
|
27
27
|
* {@link InitEngineSessionBinaryError}
|
|
28
28
|
*/
|
|
@@ -5,7 +5,7 @@ export { EngineSessionConnectParamsParseError } from "./EngineSessionConnectPara
|
|
|
5
5
|
export { GraphQLRequestError } from "./GraphQLRequestError.js";
|
|
6
6
|
export { InitEngineSessionBinaryError } from "./InitEngineSessionBinaryError.js";
|
|
7
7
|
export { TooManyNestedObjectsError } from "./TooManyNestedObjectsError.js";
|
|
8
|
-
export {
|
|
8
|
+
export { EngineSessionError } from "./EngineSessionErrorOptions.js";
|
|
9
9
|
export { EngineSessionConnectionTimeoutError } from "./EngineSessionConnectionTimeoutError.js";
|
|
10
10
|
export { ERROR_CODES } from "./errors-codes.js";
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../common/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAA;AAClF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAA;AAChG,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAA;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../common/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAA;AAClF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAA;AAChG,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAA;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAA;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AACnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAA;AAC9F,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -5,6 +5,6 @@ export { EngineSessionConnectParamsParseError } from "./EngineSessionConnectPara
|
|
|
5
5
|
export { GraphQLRequestError } from "./GraphQLRequestError.js";
|
|
6
6
|
export { InitEngineSessionBinaryError } from "./InitEngineSessionBinaryError.js";
|
|
7
7
|
export { TooManyNestedObjectsError } from "./TooManyNestedObjectsError.js";
|
|
8
|
-
export {
|
|
8
|
+
export { EngineSessionError } from "./EngineSessionErrorOptions.js";
|
|
9
9
|
export { EngineSessionConnectionTimeoutError } from "./EngineSessionConnectionTimeoutError.js";
|
|
10
10
|
export { ERROR_CODES } from "./errors-codes.js";
|
package/dist/connect.js
CHANGED
|
@@ -29,7 +29,7 @@ export function connect(cb, config = {}) {
|
|
|
29
29
|
throw new Error("DAGGER_SESSION_TOKEN must be set when using DAGGER_SESSION_PORT");
|
|
30
30
|
}
|
|
31
31
|
client = new Client({
|
|
32
|
-
host: `
|
|
32
|
+
host: `127.0.0.1:${daggerSessionPort}`,
|
|
33
33
|
sessionToken: sessionToken,
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -36,6 +36,10 @@ export declare class Bin implements EngineConn {
|
|
|
36
36
|
* of the base engine session as constant and the engine identifier.
|
|
37
37
|
*/
|
|
38
38
|
private buildBinPath;
|
|
39
|
+
/**
|
|
40
|
+
* buildExePath create a path to output dagger cli binary.
|
|
41
|
+
*/
|
|
42
|
+
private buildOsExePath;
|
|
39
43
|
/**
|
|
40
44
|
* normalizedArch returns the architecture name used by the rest of our SDKs.
|
|
41
45
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../provisioning/bin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../provisioning/bin.ts"],"names":[],"mappings":"AAYA,OAAO,MAAM,MAAM,sBAAsB,CAAA;AAQzC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAMzD;;GAEG;AACH,qBAAa,GAAI,YAAW,UAAU;IACpC,OAAO,CAAC,UAAU,CAAC,CAAmB;IAEtC,OAAO,CAAC,OAAO,CAAC,CAAQ;IACxB,OAAO,CAAC,UAAU,CAAC,CAAQ;IAE3B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAKxB;IAED,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAW;gBAErC,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM;IAKjD,IAAI,IAAI,MAAM;IAIR,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;YAOnC,WAAW;IAgEzB;;;OAGG;YACW,gBAAgB;YA+ChB,iBAAiB;IA2BzB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAQ5B;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAOpB;;OAEG;IACH,OAAO,CAAC,cAAc;IAWtB;;OAEG;IACH,OAAO,CAAC,cAAc;IAStB;;OAEG;IACH,OAAO,CAAC,YAAY;IASpB,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,cAAc;YAOR,WAAW;YAkBX,gBAAgB;YAWhB,cAAc;IA4C5B;;OAEG;IACH,OAAO,CAAC,WAAW;CAGpB;AAGD,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAEjD;AAGD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAE1D"}
|
package/dist/provisioning/bin.js
CHANGED
|
@@ -22,10 +22,11 @@ import * as fs from "fs";
|
|
|
22
22
|
import fetch from "node-fetch";
|
|
23
23
|
import * as os from "os";
|
|
24
24
|
import * as path from "path";
|
|
25
|
+
import * as process from "process";
|
|
25
26
|
import readline from "readline";
|
|
26
27
|
import * as tar from "tar";
|
|
27
28
|
import Client from "../api/client.gen.js";
|
|
28
|
-
import { EngineSessionConnectionTimeoutError, EngineSessionConnectParamsParseError,
|
|
29
|
+
import { EngineSessionConnectionTimeoutError, EngineSessionConnectParamsParseError, EngineSessionError, InitEngineSessionBinaryError, } from "../common/errors/index.js";
|
|
29
30
|
const CLI_HOST = "dl.dagger.io";
|
|
30
31
|
let OVERRIDE_CLI_URL;
|
|
31
32
|
let OVERRIDE_CHECKSUMS_URL;
|
|
@@ -34,7 +35,8 @@ let OVERRIDE_CHECKSUMS_URL;
|
|
|
34
35
|
*/
|
|
35
36
|
export class Bin {
|
|
36
37
|
constructor(binPath, cliVersion) {
|
|
37
|
-
|
|
38
|
+
var _a;
|
|
39
|
+
this.cacheDir = path.join(`${((_a = process.env.XDG_CACHE_HOME) === null || _a === void 0 ? void 0 : _a.trim()) || envPaths("", { suffix: "" }).cache}`, "dagger");
|
|
38
40
|
this.DAGGER_CLI_BIN_PREFIX = "dagger";
|
|
39
41
|
this.binPath = binPath;
|
|
40
42
|
this.cliVersion = cliVersion;
|
|
@@ -59,7 +61,7 @@ export class Bin {
|
|
|
59
61
|
// Create a temporary bin file path
|
|
60
62
|
this.createCacheDir();
|
|
61
63
|
const tmpBinDownloadDir = fs.mkdtempSync(path.join(this.cacheDir, `temp-${this.getRandomId()}`));
|
|
62
|
-
const tmpBinPath =
|
|
64
|
+
const tmpBinPath = this.buildOsExePath(tmpBinDownloadDir, this.DAGGER_CLI_BIN_PREFIX);
|
|
63
65
|
try {
|
|
64
66
|
// download an archive and use appropriate extraction depending on platforms (zip on windows, tar.gz on other platforms)
|
|
65
67
|
const actualChecksum = yield this.extractArchive(tmpBinDownloadDir, this.normalizedOS());
|
|
@@ -81,7 +83,7 @@ export class Bin {
|
|
|
81
83
|
try {
|
|
82
84
|
const files = fs.readdirSync(this.cacheDir);
|
|
83
85
|
files.forEach((file) => {
|
|
84
|
-
const filePath =
|
|
86
|
+
const filePath = path.join(this.cacheDir, file);
|
|
85
87
|
if (filePath === binPath ||
|
|
86
88
|
!file.startsWith(this.DAGGER_CLI_BIN_PREFIX)) {
|
|
87
89
|
return;
|
|
@@ -101,6 +103,7 @@ export class Bin {
|
|
|
101
103
|
* target this engine.
|
|
102
104
|
*/
|
|
103
105
|
runEngineSession(binPath, opts) {
|
|
106
|
+
var _a;
|
|
104
107
|
return __awaiter(this, void 0, void 0, function* () {
|
|
105
108
|
const args = [binPath, "session"];
|
|
106
109
|
if (opts.Workdir) {
|
|
@@ -110,14 +113,13 @@ export class Bin {
|
|
|
110
113
|
args.push("--project", opts.Project);
|
|
111
114
|
}
|
|
112
115
|
this.subProcess = execaCommand(args.join(" "), {
|
|
113
|
-
stderr: opts.LogOutput || "
|
|
116
|
+
stderr: opts.LogOutput || "pipe",
|
|
114
117
|
reject: true,
|
|
115
118
|
// Kill the process if parent exit.
|
|
116
119
|
cleanup: true,
|
|
117
120
|
});
|
|
118
121
|
const stdoutReader = readline.createInterface({
|
|
119
|
-
|
|
120
|
-
input: this.subProcess.stdout,
|
|
122
|
+
input: (_a = this.subProcess) === null || _a === void 0 ? void 0 : _a.stdout,
|
|
121
123
|
});
|
|
122
124
|
const timeOutDuration = 300000;
|
|
123
125
|
const connectParams = (yield Promise.race([
|
|
@@ -137,6 +139,7 @@ export class Bin {
|
|
|
137
139
|
readConnectParams(stdoutReader) {
|
|
138
140
|
var _a, stdoutReader_1, stdoutReader_1_1;
|
|
139
141
|
var _b, e_1, _c, _d;
|
|
142
|
+
var _e;
|
|
140
143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
141
144
|
try {
|
|
142
145
|
for (_a = true, stdoutReader_1 = __asyncValues(stdoutReader); stdoutReader_1_1 = yield stdoutReader_1.next(), _b = stdoutReader_1_1.done, !_b;) {
|
|
@@ -163,7 +166,17 @@ export class Bin {
|
|
|
163
166
|
}
|
|
164
167
|
finally { if (e_1) throw e_1.error; }
|
|
165
168
|
}
|
|
166
|
-
|
|
169
|
+
// Need to find a better way to handle this part
|
|
170
|
+
// At this stage something wrong happened, `for await` didn't return anything
|
|
171
|
+
// await the subprocess to catch the error
|
|
172
|
+
try {
|
|
173
|
+
yield this.subProcess;
|
|
174
|
+
}
|
|
175
|
+
catch (_f) {
|
|
176
|
+
(_e = this.subProcess) === null || _e === void 0 ? void 0 : _e.catch((e) => {
|
|
177
|
+
throw new EngineSessionError(e.stderr);
|
|
178
|
+
});
|
|
179
|
+
}
|
|
167
180
|
});
|
|
168
181
|
}
|
|
169
182
|
Close() {
|
|
@@ -194,7 +207,13 @@ export class Bin {
|
|
|
194
207
|
* of the base engine session as constant and the engine identifier.
|
|
195
208
|
*/
|
|
196
209
|
buildBinPath() {
|
|
197
|
-
|
|
210
|
+
return this.buildOsExePath(this.cacheDir, `${this.DAGGER_CLI_BIN_PREFIX}-${this.cliVersion}`);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* buildExePath create a path to output dagger cli binary.
|
|
214
|
+
*/
|
|
215
|
+
buildOsExePath(destinationDir, filename) {
|
|
216
|
+
const binPath = path.join(destinationDir, filename);
|
|
198
217
|
switch (this.normalizedOS()) {
|
|
199
218
|
case "windows":
|
|
200
219
|
return `${binPath}.exe`;
|
|
@@ -284,7 +303,7 @@ export class Bin {
|
|
|
284
303
|
throw new Error("archive response body is null");
|
|
285
304
|
}
|
|
286
305
|
// create a temporary file to store the archive
|
|
287
|
-
const archivePath =
|
|
306
|
+
const archivePath = path.join(destDir, os === "windows" ? "dagger.zip" : "dagger.tar.gz");
|
|
288
307
|
const archiveFile = fs.createWriteStream(archivePath);
|
|
289
308
|
yield new Promise((resolve, reject) => {
|
|
290
309
|
var _a, _b;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.3.
|
|
1
|
+
export declare const CLI_VERSION = "0.3.12";
|
|
2
2
|
//# sourceMappingURL=default.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../provisioning/default.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../provisioning/default.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,WAAW,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Code generated by dagger. DO NOT EDIT.
|
|
2
|
-
export const CLI_VERSION = "0.3.
|
|
2
|
+
export const CLI_VERSION = "0.3.12";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dagger.io/dagger",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"author": "hello@dagger.io",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@lifeomic/axios-fetch": "^3.0.1",
|
|
20
20
|
"adm-zip": "^0.5.10",
|
|
21
|
-
"axios": "^1.2.2",
|
|
22
21
|
"env-paths": "^3.0.0",
|
|
23
22
|
"execa": "^6.1.0",
|
|
24
23
|
"graphql": "^16.5.0",
|
|
@@ -41,14 +40,14 @@
|
|
|
41
40
|
"@types/mocha": "latest",
|
|
42
41
|
"@types/node": "~16",
|
|
43
42
|
"@types/tar": "^6.1.3",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
45
|
-
"@typescript-eslint/parser": "^5.
|
|
46
|
-
"eslint": "^8.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
|
44
|
+
"@typescript-eslint/parser": "^5.50.0",
|
|
45
|
+
"eslint": "^8.33.0",
|
|
47
46
|
"eslint-config-prettier": "^8.6.0",
|
|
48
47
|
"eslint-plugin-prettier": "^4.2.1",
|
|
49
48
|
"mocha": "^10.2.0",
|
|
50
|
-
"prettier": "^2.8.
|
|
49
|
+
"prettier": "^2.8.3",
|
|
51
50
|
"ts-node": "^10.9.1",
|
|
52
|
-
"typescript": "^4.9.
|
|
51
|
+
"typescript": "^4.9.5"
|
|
53
52
|
}
|
|
54
53
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EngineSessionEOFErrorOptions.d.ts","sourceRoot":"","sources":["../../../common/errors/EngineSessionEOFErrorOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAG3E,KAAK,4BAA4B,GAAG,qBAAqB,CAAA;AAEzD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,cAAc;IACvD,IAAI,0BAAoC;IACxC,IAAI,SAAoC;IAExC;;OAEG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,4BAA4B;CAGpE"}
|