@ambler/circleci-config-sdk 0.12.15 → 0.12.16
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/src/index.d.ts +43 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Command.d.ts +22 -0
- package/dist/src/lib/Components/Commands/exports/Command.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/AddSSHKeys.d.ts +36 -0
- package/dist/src/lib/Components/Commands/exports/Native/AddSSHKeys.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/Cache/Restore.d.ts +37 -0
- package/dist/src/lib/Components/Commands/exports/Native/Cache/Restore.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/Cache/Save.d.ts +44 -0
- package/dist/src/lib/Components/Commands/exports/Native/Cache/Save.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/Cache/index.d.ts +3 -0
- package/dist/src/lib/Components/Commands/exports/Native/Cache/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/Checkout.d.ts +35 -0
- package/dist/src/lib/Components/Commands/exports/Native/Checkout.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/Run.d.ts +66 -0
- package/dist/src/lib/Components/Commands/exports/Native/Run.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/SetupRemoteDocker.d.ts +45 -0
- package/dist/src/lib/Components/Commands/exports/Native/SetupRemoteDocker.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/StoreArtifacts.d.ts +40 -0
- package/dist/src/lib/Components/Commands/exports/Native/StoreArtifacts.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/StoreTestResults.d.ts +36 -0
- package/dist/src/lib/Components/Commands/exports/Native/StoreTestResults.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/Workspace/Attach.d.ts +36 -0
- package/dist/src/lib/Components/Commands/exports/Native/Workspace/Attach.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/Workspace/Persist.d.ts +40 -0
- package/dist/src/lib/Components/Commands/exports/Native/Workspace/Persist.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Native/Workspace/index.d.ts +3 -0
- package/dist/src/lib/Components/Commands/exports/Native/Workspace/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Reusable/ReusableCommand.d.ts +42 -0
- package/dist/src/lib/Components/Commands/exports/Reusable/ReusableCommand.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Reusable/ReusedCommand.d.ts +29 -0
- package/dist/src/lib/Components/Commands/exports/Reusable/ReusedCommand.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/exports/Reusable/index.d.ts +4 -0
- package/dist/src/lib/Components/Commands/exports/Reusable/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/index.d.ts +9 -0
- package/dist/src/lib/Components/Commands/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Commands/types/Command.types.d.ts +39 -0
- package/dist/src/lib/Components/Commands/types/Command.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/exports/DockerExecutor.d.ts +45 -0
- package/dist/src/lib/Components/Executors/exports/DockerExecutor.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/exports/DockerImage.d.ts +46 -0
- package/dist/src/lib/Components/Executors/exports/DockerImage.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/exports/Executor.d.ts +24 -0
- package/dist/src/lib/Components/Executors/exports/Executor.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/exports/MacOSExecutor.d.ts +20 -0
- package/dist/src/lib/Components/Executors/exports/MacOSExecutor.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/exports/MachineExecutor.d.ts +28 -0
- package/dist/src/lib/Components/Executors/exports/MachineExecutor.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/exports/ReusableExecutor.d.ts +38 -0
- package/dist/src/lib/Components/Executors/exports/ReusableExecutor.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/exports/ReusedExecutor.d.ts +37 -0
- package/dist/src/lib/Components/Executors/exports/ReusedExecutor.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/exports/WindowsExecutor.d.ts +23 -0
- package/dist/src/lib/Components/Executors/exports/WindowsExecutor.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/index.d.ts +10 -0
- package/dist/src/lib/Components/Executors/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/types/DockerExecutor.types.d.ts +18 -0
- package/dist/src/lib/Components/Executors/types/DockerExecutor.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/types/Executor.types.d.ts +63 -0
- package/dist/src/lib/Components/Executors/types/Executor.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/types/ExecutorParameters.types.d.ts +21 -0
- package/dist/src/lib/Components/Executors/types/ExecutorParameters.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/types/MacOSExecutor.types.d.ts +16 -0
- package/dist/src/lib/Components/Executors/types/MacOSExecutor.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/types/MachineExecutor.types.d.ts +22 -0
- package/dist/src/lib/Components/Executors/types/MachineExecutor.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/types/ReusableExecutor.types.d.ts +40 -0
- package/dist/src/lib/Components/Executors/types/ReusableExecutor.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/types/WindowsExecutor.types.d.ts +19 -0
- package/dist/src/lib/Components/Executors/types/WindowsExecutor.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Executors/types/index.d.ts +8 -0
- package/dist/src/lib/Components/Executors/types/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Job/exports/ParameterizedJob.d.ts +37 -0
- package/dist/src/lib/Components/Job/exports/ParameterizedJob.d.ts.map +1 -0
- package/dist/src/lib/Components/Job/index.d.ts +71 -0
- package/dist/src/lib/Components/Job/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Job/types/Job.types.d.ts +45 -0
- package/dist/src/lib/Components/Job/types/Job.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/Condition.d.ts +10 -0
- package/dist/src/lib/Components/Logic/exports/Condition.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/Conditional.d.ts +10 -0
- package/dist/src/lib/Components/Logic/exports/Conditional.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/Evaluable.d.ts +8 -0
- package/dist/src/lib/Components/Logic/exports/Evaluable.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/When.d.ts +14 -0
- package/dist/src/lib/Components/Logic/exports/When.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/conditions/And.d.ts +15 -0
- package/dist/src/lib/Components/Logic/exports/conditions/And.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/conditions/Equal.d.ts +19 -0
- package/dist/src/lib/Components/Logic/exports/conditions/Equal.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/conditions/Not.d.ts +15 -0
- package/dist/src/lib/Components/Logic/exports/conditions/Not.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/conditions/Or.d.ts +15 -0
- package/dist/src/lib/Components/Logic/exports/conditions/Or.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/conditions/Truthy.d.ts +11 -0
- package/dist/src/lib/Components/Logic/exports/conditions/Truthy.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/exports/conditions/index.d.ts +14 -0
- package/dist/src/lib/Components/Logic/exports/conditions/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/index.d.ts +12 -0
- package/dist/src/lib/Components/Logic/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Logic/types/index.d.ts +17 -0
- package/dist/src/lib/Components/Logic/types/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Parameters/exports/CustomEnumParameter.d.ts +20 -0
- package/dist/src/lib/Components/Parameters/exports/CustomEnumParameter.d.ts.map +1 -0
- package/dist/src/lib/Components/Parameters/exports/CustomParameter.d.ts +27 -0
- package/dist/src/lib/Components/Parameters/exports/CustomParameter.d.ts.map +1 -0
- package/dist/src/lib/Components/Parameters/exports/CustomParameterList.d.ts +30 -0
- package/dist/src/lib/Components/Parameters/exports/CustomParameterList.d.ts.map +1 -0
- package/dist/src/lib/Components/Parameters/exports/Parameterized.d.ts +13 -0
- package/dist/src/lib/Components/Parameters/exports/Parameterized.d.ts.map +1 -0
- package/dist/src/lib/Components/Parameters/index.d.ts +5 -0
- package/dist/src/lib/Components/Parameters/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Parameters/types/ComponentParameters.types.d.ts +24 -0
- package/dist/src/lib/Components/Parameters/types/ComponentParameters.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Parameters/types/CustomParameterLiterals.types.d.ts +26 -0
- package/dist/src/lib/Components/Parameters/types/CustomParameterLiterals.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Parameters/types/index.d.ts +103 -0
- package/dist/src/lib/Components/Parameters/types/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Reusable/index.d.ts +5 -0
- package/dist/src/lib/Components/Reusable/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Workflow/exports/Workflow.d.ts +49 -0
- package/dist/src/lib/Components/Workflow/exports/Workflow.d.ts.map +1 -0
- package/dist/src/lib/Components/Workflow/exports/WorkflowJob.d.ts +19 -0
- package/dist/src/lib/Components/Workflow/exports/WorkflowJob.d.ts.map +1 -0
- package/dist/src/lib/Components/Workflow/exports/WorkflowJobAbstract.d.ts +19 -0
- package/dist/src/lib/Components/Workflow/exports/WorkflowJobAbstract.d.ts.map +1 -0
- package/dist/src/lib/Components/Workflow/exports/WorkflowJobApproval.d.ts +9 -0
- package/dist/src/lib/Components/Workflow/exports/WorkflowJobApproval.d.ts.map +1 -0
- package/dist/src/lib/Components/Workflow/index.d.ts +5 -0
- package/dist/src/lib/Components/Workflow/index.d.ts.map +1 -0
- package/dist/src/lib/Components/Workflow/types/Workflow.types.d.ts +30 -0
- package/dist/src/lib/Components/Workflow/types/Workflow.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Workflow/types/WorkflowJob.types.d.ts +55 -0
- package/dist/src/lib/Components/Workflow/types/WorkflowJob.types.d.ts.map +1 -0
- package/dist/src/lib/Components/Workflow/types/index.d.ts +3 -0
- package/dist/src/lib/Components/Workflow/types/index.d.ts.map +1 -0
- package/dist/src/lib/Components/index.d.ts +20 -0
- package/dist/src/lib/Components/index.d.ts.map +1 -0
- package/dist/src/lib/Config/Pipeline/Git.d.ts +25 -0
- package/dist/src/lib/Config/Pipeline/Git.d.ts.map +1 -0
- package/dist/src/lib/Config/Pipeline/Project.d.ts +18 -0
- package/dist/src/lib/Config/Pipeline/Project.d.ts.map +1 -0
- package/dist/src/lib/Config/Pipeline/index.d.ts +35 -0
- package/dist/src/lib/Config/Pipeline/index.d.ts.map +1 -0
- package/dist/src/lib/Config/exports/Mapping.d.ts +56 -0
- package/dist/src/lib/Config/exports/Mapping.d.ts.map +1 -0
- package/dist/src/lib/Config/index.d.ts +111 -0
- package/dist/src/lib/Config/index.d.ts.map +1 -0
- package/dist/src/lib/Config/types/Mapping.types.d.ts +25 -0
- package/dist/src/lib/Config/types/Mapping.types.d.ts.map +1 -0
- package/dist/src/lib/Config/types/index.d.ts +65 -0
- package/dist/src/lib/Config/types/index.d.ts.map +1 -0
- package/dist/src/lib/Orb/exports/OrbDefinition.d.ts +21 -0
- package/dist/src/lib/Orb/exports/OrbDefinition.d.ts.map +1 -0
- package/dist/src/lib/Orb/exports/OrbImport.d.ts +24 -0
- package/dist/src/lib/Orb/exports/OrbImport.d.ts.map +1 -0
- package/dist/src/lib/Orb/exports/OrbRef.d.ts +19 -0
- package/dist/src/lib/Orb/exports/OrbRef.d.ts.map +1 -0
- package/dist/src/lib/Orb/index.d.ts +4 -0
- package/dist/src/lib/Orb/index.d.ts.map +1 -0
- package/dist/src/lib/Orb/types/Orb.types.d.ts +18 -0
- package/dist/src/lib/Orb/types/Orb.types.d.ts.map +1 -0
- package/dist/src/lib/Types/index.d.ts +8 -0
- package/dist/src/lib/Types/index.d.ts.map +1 -0
- package/package.json +5 -2
- package/CODE_OF_CONDUCT.md +0 -76
- package/commitlint.config.js +0 -1
- package/package-version.json +0 -1
- package/tsconfig.webpack.json +0 -4
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reusable components are an extension of base components
|
|
3
|
+
* which implement functionality to make them configurable
|
|
4
|
+
* when used in tandem with other components.
|
|
5
|
+
*/
|
|
6
|
+
export * as reusable from './lib/Components/Reusable';
|
|
7
|
+
/**
|
|
8
|
+
* Native command components.
|
|
9
|
+
*/
|
|
10
|
+
export * as commands from './lib/Components/Commands';
|
|
11
|
+
/**
|
|
12
|
+
* Parameter Types for reusable components.
|
|
13
|
+
*/
|
|
14
|
+
export * as parameters from './lib/Components/Parameters';
|
|
15
|
+
/**
|
|
16
|
+
* Native executor components.
|
|
17
|
+
*/
|
|
18
|
+
export * as executors from './lib/Components/Executors';
|
|
19
|
+
/**
|
|
20
|
+
* Conditional statements for 2.1 config conditionals.
|
|
21
|
+
*/
|
|
22
|
+
export * as logic from './lib/Components/Logic';
|
|
23
|
+
/**
|
|
24
|
+
* All types used in the components.
|
|
25
|
+
*/
|
|
26
|
+
export * as types from './lib/Types';
|
|
27
|
+
/**
|
|
28
|
+
* Workflow and workflow job components.
|
|
29
|
+
*/
|
|
30
|
+
export * as workflow from './lib/Components/Workflow';
|
|
31
|
+
/**
|
|
32
|
+
* All orb components.
|
|
33
|
+
*/
|
|
34
|
+
export * as orb from './lib/Orb';
|
|
35
|
+
/**
|
|
36
|
+
* All type mapping enums
|
|
37
|
+
*/
|
|
38
|
+
export * as mapping from './lib/Config/exports/Mapping';
|
|
39
|
+
export { Job } from './lib/Components/Job';
|
|
40
|
+
export { Config } from './lib/Config';
|
|
41
|
+
export { Pipeline } from './lib/Config/Pipeline';
|
|
42
|
+
export { Workflow } from './lib/Components/Workflow/exports/Workflow';
|
|
43
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,QAAQ,MAAM,2BAA2B,CAAC;AAEtD;;GAEG;AACH,OAAO,KAAK,QAAQ,MAAM,2BAA2B,CAAC;AAEtD;;GAEG;AACH,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAE1D;;GAEG;AACH,OAAO,KAAK,SAAS,MAAM,4BAA4B,CAAC;AAExD;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAEhD;;GAEG;AACH,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAErC;;GAEG;AACH,OAAO,KAAK,QAAQ,MAAM,2BAA2B,CAAC;AAEtD;;GAEG;AACH,OAAO,KAAK,GAAG,MAAM,WAAW,CAAC;AAEjC;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AAGxD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Generable } from '../../index';
|
|
2
|
+
import { StringParameter } from '../../Parameters/types';
|
|
3
|
+
import { AnyCommandShape, CommandParameters } from '../types/Command.types';
|
|
4
|
+
/**
|
|
5
|
+
* Abstract - A generic Command
|
|
6
|
+
*/
|
|
7
|
+
export interface Command extends Generable {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the CircleCI step, which will appear in the CircleCI UI.
|
|
10
|
+
*/
|
|
11
|
+
name: StringParameter;
|
|
12
|
+
/**
|
|
13
|
+
* Step parameters
|
|
14
|
+
*/
|
|
15
|
+
parameters?: CommandParameters;
|
|
16
|
+
/**
|
|
17
|
+
* Generate the JSON shape for the Command.
|
|
18
|
+
* @param flatten - If true, short hand will be attempted.
|
|
19
|
+
*/
|
|
20
|
+
generate(flatten?: boolean): AnyCommandShape;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=Command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Commands/exports/Command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE5E;;GAEG;AACH,MAAM,WAAW,OAAQ,SAAQ,SAAS;IACxC;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC;CAC9C"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../Config/exports/Mapping';
|
|
2
|
+
import { ListParameter, StringParameter } from '../../../Parameters/types';
|
|
3
|
+
import { CommandParameters, CommandShape } from '../../types/Command.types';
|
|
4
|
+
import { Command } from '../Command';
|
|
5
|
+
/**
|
|
6
|
+
* The AddSSHKeys command is a special step that adds SSH keys from a project’s settings to a container. Also configures SSH to use these keys.
|
|
7
|
+
* @see {@link https://circleci.com/docs/configuration-reference#add-ssh-keys}
|
|
8
|
+
*/
|
|
9
|
+
export declare class AddSSHKeys implements Command {
|
|
10
|
+
parameters: AddSSHKeysParameters;
|
|
11
|
+
constructor(parameters: AddSSHKeysParameters);
|
|
12
|
+
/**
|
|
13
|
+
* Generate AddSSHKeys Command shape.
|
|
14
|
+
* @returns The generated JSON for the AddSSHKeys Command.
|
|
15
|
+
*/
|
|
16
|
+
generate(): AddSSHKeysCommandShape;
|
|
17
|
+
get name(): StringParameter;
|
|
18
|
+
get generableType(): GenerableType;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Command parameters for the AddSSHKeys command
|
|
22
|
+
*/
|
|
23
|
+
export interface AddSSHKeysParameters extends CommandParameters {
|
|
24
|
+
/**
|
|
25
|
+
* List of fingerprints corresponding to the keys to be added.
|
|
26
|
+
*/
|
|
27
|
+
fingerprints: ListParameter;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* JSON shape for the AddSSHKeys command.
|
|
31
|
+
*/
|
|
32
|
+
interface AddSSHKeysCommandShape extends CommandShape {
|
|
33
|
+
add_ssh_keys: AddSSHKeysParameters;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=AddSSHKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddSSHKeys.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/Commands/exports/Native/AddSSHKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,qBAAa,UAAW,YAAW,OAAO;IACxC,UAAU,EAAE,oBAAoB,CAAC;gBACrB,UAAU,EAAE,oBAAoB;IAG5C;;;OAGG;IACH,QAAQ,IAAI,sBAAsB;IAMlC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D;;OAEG;IACH,YAAY,EAAE,aAAa,CAAC;CAC7B;AAED;;GAEG;AACH,UAAU,sBAAuB,SAAQ,YAAY;IACnD,YAAY,EAAE,oBAAoB,CAAC;CACpC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../../Config/exports/Mapping';
|
|
2
|
+
import { ListParameter, StringParameter } from '../../../../Parameters/types';
|
|
3
|
+
import { CommandParameters, CommandShape } from '../../../types/Command.types';
|
|
4
|
+
import { Command } from '../../Command';
|
|
5
|
+
/**
|
|
6
|
+
* Restores a previously saved cache based on a key. A cache must have been previously created using the Save step.
|
|
7
|
+
* @see {@link https://circleci.com/docs/configuration-reference#restorecache}
|
|
8
|
+
*/
|
|
9
|
+
export declare class Restore implements Command {
|
|
10
|
+
parameters: RestoreCacheParameters;
|
|
11
|
+
constructor(parameters: RestoreCacheParameters);
|
|
12
|
+
/**
|
|
13
|
+
* Generate Restore.cache Command shape.
|
|
14
|
+
* @returns The generated JSON for the Restore.cache Command.
|
|
15
|
+
*/
|
|
16
|
+
generate(): RestoreCacheCommandShape;
|
|
17
|
+
get name(): StringParameter;
|
|
18
|
+
get generableType(): GenerableType;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Command parameters for the RestoreCache command
|
|
22
|
+
*/
|
|
23
|
+
export interface RestoreCacheParameters extends CommandParameters {
|
|
24
|
+
/**
|
|
25
|
+
* List of cache keys to lookup for a cache to restore. Only first existing key will be restored.
|
|
26
|
+
*/
|
|
27
|
+
readonly keys?: ListParameter;
|
|
28
|
+
readonly key?: StringParameter;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Generated Shape of the RestoreCache command.
|
|
32
|
+
*/
|
|
33
|
+
interface RestoreCacheCommandShape extends CommandShape {
|
|
34
|
+
restore_cache: RestoreCacheParameters;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=Restore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Restore.d.ts","sourceRoot":"","sources":["../../../../../../../../src/lib/Components/Commands/exports/Native/Cache/Restore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC;;;GAGG;AACH,qBAAa,OAAQ,YAAW,OAAO;IACrC,UAAU,EAAE,sBAAsB,CAAC;gBACvB,UAAU,EAAE,sBAAsB;IAG9C;;;OAGG;IACH,QAAQ,IAAI,wBAAwB;IAMpC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,GAAG,CAAC,EAAE,eAAe,CAAC;CAChC;AACD;;GAEG;AACH,UAAU,wBAAyB,SAAQ,YAAY;IACrD,aAAa,EAAE,sBAAsB,CAAC;CACvC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../../Config/exports/Mapping';
|
|
2
|
+
import { ListParameter, StringParameter } from '../../../../Parameters/types';
|
|
3
|
+
import { CommandParameters, CommandShape } from '../../../types/Command.types';
|
|
4
|
+
import { Command } from '../../Command';
|
|
5
|
+
/**
|
|
6
|
+
* Generates and stores a cache of a file or directory of files such as dependencies or source code in our object storage. Later jobs can restore this cache.
|
|
7
|
+
* @see {@link https://circleci.com/docs/configuration-reference#savecache}
|
|
8
|
+
*/
|
|
9
|
+
export declare class Save implements Command {
|
|
10
|
+
parameters: SaveCacheParameters;
|
|
11
|
+
constructor(parameters: SaveCacheParameters);
|
|
12
|
+
/**
|
|
13
|
+
* Generate Save Cache Command shape.
|
|
14
|
+
* @returns The generated JSON for the Save Cache Commands.
|
|
15
|
+
*/
|
|
16
|
+
generate(): SaveCacheCommandShape;
|
|
17
|
+
get name(): StringParameter;
|
|
18
|
+
get generableType(): GenerableType;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Command parameters for the SaveCache command
|
|
22
|
+
*/
|
|
23
|
+
export interface SaveCacheParameters extends CommandParameters {
|
|
24
|
+
/**
|
|
25
|
+
* List of directories which should be added to the cache
|
|
26
|
+
*/
|
|
27
|
+
paths: ListParameter;
|
|
28
|
+
/**
|
|
29
|
+
* Unique identifier for this cache
|
|
30
|
+
*/
|
|
31
|
+
key: StringParameter;
|
|
32
|
+
/**
|
|
33
|
+
* Specify when to enable or disable the step.
|
|
34
|
+
*/
|
|
35
|
+
when?: 'always' | 'on_success' | 'on_fail';
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Generated Shape of the SaveCache command.
|
|
39
|
+
*/
|
|
40
|
+
interface SaveCacheCommandShape extends CommandShape {
|
|
41
|
+
save_cache: SaveCacheParameters;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=Save.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Save.d.ts","sourceRoot":"","sources":["../../../../../../../../src/lib/Components/Commands/exports/Native/Cache/Save.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;GAGG;AACH,qBAAa,IAAK,YAAW,OAAO;IAClC,UAAU,EAAE,mBAAmB,CAAC;gBACpB,UAAU,EAAE,mBAAmB;IAG3C;;;OAGG;IACH,QAAQ,IAAI,qBAAqB;IAIjC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,GAAG,EAAE,eAAe,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,YAAY,GAAG,SAAS,CAAC;CAC5C;AACD;;GAEG;AACH,UAAU,qBAAsB,SAAQ,YAAY;IAClD,UAAU,EAAE,mBAAmB,CAAC;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/lib/Components/Commands/exports/Native/Cache/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../Config/exports/Mapping';
|
|
2
|
+
import { StringParameter } from '../../../Parameters/types';
|
|
3
|
+
import { BodylessCommand, CommandParameters, CommandShape } from '../../types/Command.types';
|
|
4
|
+
import { Command } from '../Command';
|
|
5
|
+
/**
|
|
6
|
+
* A special step used to check out source code to the configured path.
|
|
7
|
+
* (defaults to the working_directory).
|
|
8
|
+
* @see {@link https://circleci.com/docs/configuration-reference#checkout}
|
|
9
|
+
*/
|
|
10
|
+
export declare class Checkout implements Command {
|
|
11
|
+
parameters?: CheckoutParameters;
|
|
12
|
+
constructor(parameters?: CheckoutParameters);
|
|
13
|
+
/**
|
|
14
|
+
* Generate Checkout Command shape.
|
|
15
|
+
* @returns The generated JSON for the Checkout Command.
|
|
16
|
+
*/
|
|
17
|
+
generate(): CheckoutCommandShape | BodylessCommand;
|
|
18
|
+
get name(): StringParameter;
|
|
19
|
+
get generableType(): GenerableType;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Command parameters for the Checkout command
|
|
23
|
+
*/
|
|
24
|
+
export interface CheckoutParameters extends CommandParameters {
|
|
25
|
+
/**
|
|
26
|
+
* Checkout directory.
|
|
27
|
+
* Will be interpreted relative to the working_directory of the job.
|
|
28
|
+
*/
|
|
29
|
+
path?: StringParameter;
|
|
30
|
+
}
|
|
31
|
+
interface CheckoutCommandShape extends CommandShape {
|
|
32
|
+
checkout: CheckoutParameters;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=Checkout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkout.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/Commands/exports/Native/Checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,YAAY,EACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;;GAIG;AACH,qBAAa,QAAS,YAAW,OAAO;IACtC,UAAU,CAAC,EAAE,kBAAkB,CAAC;gBACpB,UAAU,CAAC,EAAE,kBAAkB;IAG3C;;;OAGG;IACH,QAAQ,IAAI,oBAAoB,GAAG,eAAe;IAUlD,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB;AACD,UAAU,oBAAqB,SAAQ,YAAY;IACjD,QAAQ,EAAE,kBAAkB,CAAC;CAC9B"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../Config/exports/Mapping';
|
|
2
|
+
import { Executable } from '../../../Executors/types/ExecutorParameters.types';
|
|
3
|
+
import { StringParameter, EnvironmentParameter, BooleanParameter } from '../../../Parameters/types';
|
|
4
|
+
import { CommandShape, CommandShorthandShape, CommandParameters } from '../../types/Command.types';
|
|
5
|
+
import { Command } from '../Command';
|
|
6
|
+
/**
|
|
7
|
+
* The Run step is used for invoking all command-line programs.
|
|
8
|
+
* @see {@link https://circleci.com/docs/configuration-reference#run}
|
|
9
|
+
*/
|
|
10
|
+
export declare class Run implements Command {
|
|
11
|
+
parameters: RunParameters;
|
|
12
|
+
constructor(parameters: RunParameters);
|
|
13
|
+
/**
|
|
14
|
+
* Generate Run Command shape.*
|
|
15
|
+
* @returns The generated JSON for the Run Command.
|
|
16
|
+
*/
|
|
17
|
+
generate(flatten?: boolean): RunCommandShape | RunCommandShorthandShape;
|
|
18
|
+
get name(): StringParameter;
|
|
19
|
+
/**
|
|
20
|
+
* Add an environment variable to the command.
|
|
21
|
+
* This will be set in plain-text via the exported config file.
|
|
22
|
+
* Consider using project-level environment variables or a context for sensitive information.
|
|
23
|
+
* @see {@link https://circleci.com/docs/env-vars}
|
|
24
|
+
* @example
|
|
25
|
+
* ```
|
|
26
|
+
* myCommand.addEnvVar('MY_VAR', 'my value');
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
addEnvVar(name: string, value: string): this;
|
|
30
|
+
get generableType(): GenerableType;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Run Command Shape
|
|
34
|
+
*/
|
|
35
|
+
interface RunCommandShape extends CommandShape {
|
|
36
|
+
run: RunParameters;
|
|
37
|
+
}
|
|
38
|
+
interface RunCommandShorthandShape extends CommandShorthandShape {
|
|
39
|
+
run: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Command parameters for the Run command
|
|
43
|
+
*/
|
|
44
|
+
export interface RunParameters extends CommandParameters, Executable {
|
|
45
|
+
/**
|
|
46
|
+
* Command to run via the shell
|
|
47
|
+
*/
|
|
48
|
+
command: StringParameter;
|
|
49
|
+
/**
|
|
50
|
+
* Whether or not this step should run in the background (default: false)
|
|
51
|
+
*/
|
|
52
|
+
background?: BooleanParameter;
|
|
53
|
+
/**
|
|
54
|
+
* Elapsed time the command can run without output. The string is a decimal with unit suffix, such as “20m”, “1.25h”, “5s” (default: 10 minutes)
|
|
55
|
+
*/
|
|
56
|
+
no_output_timeout?: StringParameter;
|
|
57
|
+
/**
|
|
58
|
+
* Specify when to enable or disable the step. (default: on_success)
|
|
59
|
+
*/
|
|
60
|
+
when?: 'always' | 'on_success' | 'on_fail';
|
|
61
|
+
shell?: StringParameter;
|
|
62
|
+
environment?: EnvironmentParameter;
|
|
63
|
+
working_directory?: StringParameter;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=Run.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Run.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/Commands/exports/Native/Run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,qBAAa,GAAI,YAAW,OAAO;IACjC,UAAU,EAAE,aAAa,CAAC;gBACd,UAAU,EAAE,aAAa;IAGrC;;;OAGG;IACH,QAAQ,CAAC,OAAO,UAAQ,GAAG,eAAe,GAAG,wBAAwB;IAUrE,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED;;;;;;;;;OASG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAW5C,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AAED;;GAEG;AACH,UAAU,eAAgB,SAAQ,YAAY;IAC5C,GAAG,EAAE,aAAa,CAAC;CACpB;AAED,UAAU,wBAAyB,SAAQ,qBAAqB;IAC9D,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,iBAAiB,EAAE,UAAU;IAClE;;OAEG;IACH,OAAO,EAAE,eAAe,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,YAAY,GAAG,SAAS,CAAC;IAG3C,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,iBAAiB,CAAC,EAAE,eAAe,CAAC;CACrC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../Config/exports/Mapping';
|
|
2
|
+
import { StringParameter } from '../../../Parameters/types';
|
|
3
|
+
import { CommandParameters, CommandShape } from '../../types/Command.types';
|
|
4
|
+
import { Command } from '../Command';
|
|
5
|
+
/**
|
|
6
|
+
* Creates a remote Docker environment configured to execute Docker commands.
|
|
7
|
+
* @see {@link https://circleci.com/docs/2.0/configuration-reference/#setupremotedocker}
|
|
8
|
+
*/
|
|
9
|
+
export declare class SetupRemoteDocker implements Command {
|
|
10
|
+
parameters: SetupRemoteDockerParameters;
|
|
11
|
+
constructor(parameters?: SetupRemoteDockerParameters);
|
|
12
|
+
/**
|
|
13
|
+
* Generate SetupRemoteDocker Command shape.
|
|
14
|
+
* @returns The generated JSON for the SetupRemoteDocker Commands.
|
|
15
|
+
*/
|
|
16
|
+
generate(): SetupRemoteDockerCommandShape;
|
|
17
|
+
get name(): StringParameter;
|
|
18
|
+
get generableType(): GenerableType;
|
|
19
|
+
/**
|
|
20
|
+
* Enable docker image layer caching
|
|
21
|
+
* @param enabled - If true, docker layer caching is enabled for the job.
|
|
22
|
+
* @returns SetupRemoteDocker - The current instance of the SetupRemoteDocker Command.
|
|
23
|
+
* @see {@link https://circleci.com/docs/2.0/docker-layer-caching/}
|
|
24
|
+
*/
|
|
25
|
+
setDockerLayerCaching(enabled: boolean): SetupRemoteDocker;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Command parameters for the SetupRemoteDocker command
|
|
29
|
+
*/
|
|
30
|
+
export interface SetupRemoteDockerParameters extends CommandParameters {
|
|
31
|
+
/**
|
|
32
|
+
* SetupRemoteDocker directory.
|
|
33
|
+
* Will be interpreted relative to the working_directory of the job.
|
|
34
|
+
*/
|
|
35
|
+
version: StringParameter;
|
|
36
|
+
docker_layer_caching?: boolean;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Generated Shape of the SetupRemoteDocker command.
|
|
40
|
+
*/
|
|
41
|
+
interface SetupRemoteDockerCommandShape extends CommandShape {
|
|
42
|
+
setup_remote_docker: SetupRemoteDockerParameters;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=SetupRemoteDocker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetupRemoteDocker.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/Commands/exports/Native/SetupRemoteDocker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,qBAAa,iBAAkB,YAAW,OAAO;IAC/C,UAAU,EAAE,2BAA2B,CAAC;gBAEtC,UAAU,GAAE,2BAAoD;IAIlE;;;OAGG;IACH,QAAQ,IAAI,6BAA6B;IAMzC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;IAED;;;;;OAKG;IACH,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,iBAAiB;CAI3D;AAED;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB;IACpE;;;OAGG;IACH,OAAO,EAAE,eAAe,CAAC;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,UAAU,6BAA8B,SAAQ,YAAY;IAC1D,mBAAmB,EAAE,2BAA2B,CAAC;CAClD"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../Config/exports/Mapping';
|
|
2
|
+
import { StringParameter } from '../../../Parameters/types';
|
|
3
|
+
import { CommandParameters, CommandShape } from '../../types/Command.types';
|
|
4
|
+
import { Command } from '../Command';
|
|
5
|
+
/**
|
|
6
|
+
* Step to store artifacts (for example logs, binaries, etc) to be available in the web app or through the API.
|
|
7
|
+
* @see {@link https://circleci.com/docs/configuration-reference#storeartifacts}
|
|
8
|
+
*/
|
|
9
|
+
export declare class StoreArtifacts implements Command {
|
|
10
|
+
parameters: StoreArtifactsParameters;
|
|
11
|
+
constructor(parameters: StoreArtifactsParameters);
|
|
12
|
+
/**
|
|
13
|
+
* Generate StoreArtifacts Command shape.
|
|
14
|
+
* @returns The generated JSON for the StoreArtifacts Commands.
|
|
15
|
+
*/
|
|
16
|
+
generate(): StoreArtifactsCommandShape;
|
|
17
|
+
get name(): StringParameter;
|
|
18
|
+
get generableType(): GenerableType;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Command parameters for the StoreArtifacts command
|
|
22
|
+
*/
|
|
23
|
+
export interface StoreArtifactsParameters extends CommandParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Directory in the primary container to save as job artifacts
|
|
26
|
+
*/
|
|
27
|
+
path: StringParameter;
|
|
28
|
+
/**
|
|
29
|
+
* Prefix added to the artifact paths in the artifacts API (default: the directory of the file specified in path)
|
|
30
|
+
*/
|
|
31
|
+
destination?: StringParameter;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Generated Shape of the StoreArtifacts command.
|
|
35
|
+
*/
|
|
36
|
+
interface StoreArtifactsCommandShape extends CommandShape {
|
|
37
|
+
store_artifacts: StoreArtifactsParameters;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=StoreArtifacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoreArtifacts.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/Commands/exports/Native/StoreArtifacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,qBAAa,cAAe,YAAW,OAAO;IAC5C,UAAU,EAAE,wBAAwB,CAAC;gBACzB,UAAU,EAAE,wBAAwB;IAGhD;;;OAGG;IACH,QAAQ,IAAI,0BAA0B;IAMtC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AACD;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED;;GAEG;AACH,UAAU,0BAA2B,SAAQ,YAAY;IACvD,eAAe,EAAE,wBAAwB,CAAC;CAC3C"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../Config/exports/Mapping';
|
|
2
|
+
import { StringParameter } from '../../../Parameters/types';
|
|
3
|
+
import { CommandParameters, CommandShape } from '../../types/Command.types';
|
|
4
|
+
import { Command } from '../Command';
|
|
5
|
+
/**
|
|
6
|
+
* Special step used to upload and store test results for a build. Test results are visible on the CircleCI web application, under each build’s “Test Summary” section. Storing test results is useful for timing analysis of your test suites.
|
|
7
|
+
* @see {@link https://circleci.com/docs/configuration-reference#storetestresults}
|
|
8
|
+
*/
|
|
9
|
+
export declare class StoreTestResults implements Command {
|
|
10
|
+
parameters: StoreTestResultsParameters;
|
|
11
|
+
constructor(parameters: StoreTestResultsParameters);
|
|
12
|
+
/**
|
|
13
|
+
* Generate StoreTestResults Command shape.
|
|
14
|
+
* @returns The generated JSON for the StoreTestResults Commands.
|
|
15
|
+
*/
|
|
16
|
+
generate(): StoreTestResultsCommandShape;
|
|
17
|
+
get name(): StringParameter;
|
|
18
|
+
get generableType(): GenerableType;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Command parameters for the StoreTestResults command
|
|
22
|
+
*/
|
|
23
|
+
export interface StoreTestResultsParameters extends CommandParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Path (absolute, or relative to your working_directory) to directory containing subdirectories of JUnit XML or Cucumber JSON test metadata files
|
|
26
|
+
*/
|
|
27
|
+
path: StringParameter;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Generated Shape of the StoreTestResults command.
|
|
31
|
+
*/
|
|
32
|
+
interface StoreTestResultsCommandShape extends CommandShape {
|
|
33
|
+
store_test_results: StoreTestResultsParameters;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=StoreTestResults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoreTestResults.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/Commands/exports/Native/StoreTestResults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,qBAAa,gBAAiB,YAAW,OAAO;IAC9C,UAAU,EAAE,0BAA0B,CAAC;gBAC3B,UAAU,EAAE,0BAA0B;IAGlD;;;OAGG;IACH,QAAQ,IAAI,4BAA4B;IAMxC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AAED;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,iBAAiB;IACnE;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;CACvB;AAED;;GAEG;AACH,UAAU,4BAA6B,SAAQ,YAAY;IACzD,kBAAkB,EAAE,0BAA0B,CAAC;CAChD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../../Config/exports/Mapping';
|
|
2
|
+
import { StringParameter } from '../../../../Parameters/types';
|
|
3
|
+
import { CommandParameters, CommandShape } from '../../../types/Command.types';
|
|
4
|
+
import { Command } from '../../Command';
|
|
5
|
+
/**
|
|
6
|
+
* Special step used to attach the workflow’s workspace to the current container. The full contents of the workspace are downloaded and copied into the directory the workspace is being attached at.
|
|
7
|
+
* @see {@link https://circleci.com/docs/configuration-reference#attachworkspace}
|
|
8
|
+
*/
|
|
9
|
+
export declare class Attach implements Command {
|
|
10
|
+
parameters: AttachParameters;
|
|
11
|
+
constructor(parameters: AttachParameters);
|
|
12
|
+
/**
|
|
13
|
+
* Generate Save.cache Command shape.
|
|
14
|
+
* @returns The generated JSON for the Save.cache Commands.
|
|
15
|
+
*/
|
|
16
|
+
generate(): AttachCommandShape;
|
|
17
|
+
get name(): StringParameter;
|
|
18
|
+
get generableType(): GenerableType;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Generated Shape of the Attach command.
|
|
22
|
+
*/
|
|
23
|
+
interface AttachCommandShape extends CommandShape {
|
|
24
|
+
attach_workspace: AttachParameters;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Command parameters for the Attach command
|
|
28
|
+
*/
|
|
29
|
+
export interface AttachParameters extends CommandParameters {
|
|
30
|
+
/**
|
|
31
|
+
* Directory to attach the workspace to.
|
|
32
|
+
*/
|
|
33
|
+
at: StringParameter;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=Attach.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attach.d.ts","sourceRoot":"","sources":["../../../../../../../../src/lib/Components/Commands/exports/Native/Workspace/Attach.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC;;;GAGG;AACH,qBAAa,MAAO,YAAW,OAAO;IACpC,UAAU,EAAE,gBAAgB,CAAC;gBACjB,UAAU,EAAE,gBAAgB;IAGxC;;;OAGG;IACH,QAAQ,IAAI,kBAAkB;IAM9B,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AAED;;GAEG;AACH,UAAU,kBAAmB,SAAQ,YAAY;IAC/C,gBAAgB,EAAE,gBAAgB,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD;;OAEG;IACH,EAAE,EAAE,eAAe,CAAC;CACrB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../../Config/exports/Mapping';
|
|
2
|
+
import { ListParameter, StringParameter } from '../../../../Parameters/types';
|
|
3
|
+
import { CommandParameters, CommandShape } from '../../../types/Command.types';
|
|
4
|
+
import { Command } from '../../Command';
|
|
5
|
+
/**
|
|
6
|
+
* Special step used to Persist the workflow’s workspace to the current container. The full contents of the workspace are downloaded and copied into the directory the workspace is being Persisted at.
|
|
7
|
+
* @see {@link https://circleci.com/docs/configuration-reference#persistworkspace}
|
|
8
|
+
*/
|
|
9
|
+
export declare class Persist implements Command {
|
|
10
|
+
parameters: PersistParameters;
|
|
11
|
+
constructor(parameters: PersistParameters);
|
|
12
|
+
/**
|
|
13
|
+
* Generate Save.cache Command shape.
|
|
14
|
+
* @returns The generated JSON for the Save.cache Commands.
|
|
15
|
+
*/
|
|
16
|
+
generate(): PersistCommandShape;
|
|
17
|
+
get name(): StringParameter;
|
|
18
|
+
get generableType(): GenerableType;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Generated Shape of the Persist command.
|
|
22
|
+
*/
|
|
23
|
+
interface PersistCommandShape extends CommandShape {
|
|
24
|
+
persist_to_workspace: PersistParameters;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Command parameters for the Persist command
|
|
28
|
+
*/
|
|
29
|
+
export interface PersistParameters extends CommandParameters {
|
|
30
|
+
/**
|
|
31
|
+
* Either an absolute path or a path relative to `working_directory`
|
|
32
|
+
*/
|
|
33
|
+
root: StringParameter;
|
|
34
|
+
/**
|
|
35
|
+
* Glob identifying file(s), or a non-glob path to a directory to add to the shared workspace. Interpreted as relative to the workspace root. Must not be the workspace root itself.
|
|
36
|
+
*/
|
|
37
|
+
paths: ListParameter;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=Persist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Persist.d.ts","sourceRoot":"","sources":["../../../../../../../../src/lib/Components/Commands/exports/Native/Workspace/Persist.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC;;;GAGG;AACH,qBAAa,OAAQ,YAAW,OAAO;IACrC,UAAU,EAAE,iBAAiB,CAAC;gBAClB,UAAU,EAAE,iBAAiB;IAGzC;;;OAGG;IACH,QAAQ,IAAI,mBAAmB;IAM/B,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF;AAED;;GAEG;AACH,UAAU,mBAAoB,SAAQ,YAAY;IAChD,oBAAoB,EAAE,iBAAiB,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/lib/Components/Commands/exports/Native/Workspace/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Generable } from '../../..';
|
|
2
|
+
import { GenerableType } from '../../../../Config/exports/Mapping';
|
|
3
|
+
import { CustomParametersList } from '../../../Parameters';
|
|
4
|
+
import { Parameterized } from '../../../Parameters/exports/Parameterized';
|
|
5
|
+
import { CommandParameterLiteral } from '../../../Parameters/types/CustomParameterLiterals.types';
|
|
6
|
+
import { CommandParameters, ReusableCommandBodyShape, ReusableCommandShape } from '../../types/Command.types';
|
|
7
|
+
import { Command } from '../Command';
|
|
8
|
+
import { ReusedCommand } from './ReusedCommand';
|
|
9
|
+
/**
|
|
10
|
+
* Define a custom Command with custom parameters
|
|
11
|
+
* {@label STATIC_2.1}
|
|
12
|
+
*/
|
|
13
|
+
export declare class ReusableCommand implements Generable, Parameterized<CommandParameterLiteral> {
|
|
14
|
+
/**
|
|
15
|
+
* Name used to reference this command definition from command steps.
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* Steps this command will execute when called.
|
|
20
|
+
*/
|
|
21
|
+
steps: Command[];
|
|
22
|
+
/**
|
|
23
|
+
* Custom list of parameters that can be used when calling this command.
|
|
24
|
+
*/
|
|
25
|
+
parameters?: CustomParametersList<CommandParameterLiteral>;
|
|
26
|
+
/**
|
|
27
|
+
* A string that describes the purpose of the command
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
constructor(name: string, steps?: Command[], parameters?: CustomParametersList<CommandParameterLiteral>, description?: string);
|
|
31
|
+
generate(flatten?: boolean): ReusableCommandShape;
|
|
32
|
+
generateContents(flatten?: boolean): ReusableCommandBodyShape;
|
|
33
|
+
/**
|
|
34
|
+
* @param parameters - The parameters to be passed to the command.
|
|
35
|
+
* @returns A parameterized implementation of this command.
|
|
36
|
+
*/
|
|
37
|
+
toReused(parameters?: CommandParameters): ReusedCommand;
|
|
38
|
+
addStep(step: Command): ReusableCommand;
|
|
39
|
+
defineParameter(name: string, type: CommandParameterLiteral, defaultValue?: unknown, description?: string, enumValues?: string[]): ReusableCommand;
|
|
40
|
+
get generableType(): GenerableType;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=ReusableCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReusableCommand.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/Commands/exports/Reusable/ReusableCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAEL,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;GAGG;AACH,qBAAa,eACX,YAAW,SAAS,EAAE,aAAa,CAAC,uBAAuB,CAAC;IAE5D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,CAAC;IAE3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;gBAGnB,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,OAAO,EAAE,EACjB,UAAU,CAAC,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,EAC1D,WAAW,CAAC,EAAE,MAAM;IAQtB,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB;IAMjD,gBAAgB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,wBAAwB;IAY7D;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,iBAAiB,GAAG,aAAa;IAIvD,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,eAAe;IAMvC,eAAe,CACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,uBAAuB,EAC7B,YAAY,CAAC,EAAE,OAAO,EACtB,WAAW,CAAC,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,MAAM,EAAE,GACpB,eAAe;IAUlB,IAAI,aAAa,IAAI,aAAa,CAEjC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { GenerableType } from '../../../../Config/exports/Mapping';
|
|
2
|
+
import { OrbRef } from '../../../../Orb';
|
|
3
|
+
import { StringParameter } from '../../../Parameters/types';
|
|
4
|
+
import { CommandParameterLiteral } from '../../../Parameters/types/CustomParameterLiterals.types';
|
|
5
|
+
import { CommandParameters, CommandShape } from '../../types/Command.types';
|
|
6
|
+
import { Command } from '../Command';
|
|
7
|
+
import { ReusableCommand } from './ReusableCommand';
|
|
8
|
+
/**
|
|
9
|
+
* Use a reusable command with parameters.
|
|
10
|
+
*
|
|
11
|
+
* {@label STATIC_2.1}
|
|
12
|
+
*/
|
|
13
|
+
export declare class ReusedCommand implements Command {
|
|
14
|
+
parameters?: CommandParameters;
|
|
15
|
+
name: StringParameter;
|
|
16
|
+
/**
|
|
17
|
+
* Reuse user defined functionality by adding a reusable command to a job.
|
|
18
|
+
* @param command - A custom command to be reused.
|
|
19
|
+
* @param parameters - the parameters to be passed to the custom command.
|
|
20
|
+
*/
|
|
21
|
+
constructor(command: ReusableCommand | string | OrbRef<CommandParameterLiteral>, parameters?: CommandParameters);
|
|
22
|
+
/**
|
|
23
|
+
* @returns JSON representation of the reusable command being called
|
|
24
|
+
*/
|
|
25
|
+
generate(): CommandShape | string;
|
|
26
|
+
generateContents(): CommandParameters;
|
|
27
|
+
get generableType(): GenerableType;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=ReusedCommand.d.ts.map
|