vellum-ai 1.0.0 → 1.0.4
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/Client.d.ts +3 -0
- package/Client.js +24 -19
- package/api/resources/adHoc/client/Client.js +2 -2
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +2 -2
- package/api/resources/releaseReviews/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +8 -8
- package/api/resources/workflowExecutions/client/Client.d.ts +44 -0
- package/api/resources/workflowExecutions/client/Client.js +131 -0
- package/api/resources/workflowExecutions/client/index.d.ts +1 -0
- package/api/resources/workflowExecutions/client/index.js +2 -0
- package/api/resources/workflowExecutions/index.d.ts +1 -0
- package/api/resources/workflowExecutions/index.js +17 -0
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/DeploymentRead.d.ts +1 -1
- package/api/types/NodeOutputCompiledThinkingValue.d.ts +13 -0
- package/api/types/NodeOutputCompiledThinkingValue.js +5 -0
- package/api/types/NodeOutputCompiledValue.d.ts +1 -1
- package/api/types/OrganizationLimitConfig.d.ts +11 -0
- package/api/types/OrganizationLimitConfig.js +5 -0
- package/api/types/OrganizationRead.d.ts +1 -0
- package/api/types/Quota.d.ts +8 -0
- package/api/types/Quota.js +5 -0
- package/api/types/SlimDeploymentRead.d.ts +1 -1
- package/api/types/SlimWorkflowDeployment.d.ts +1 -1
- package/api/types/VembdaServiceTierEnum.d.ts +12 -0
- package/api/types/VembdaServiceTierEnum.js +10 -0
- package/api/types/WorkflowDeploymentRead.d.ts +1 -1
- package/api/types/WorkflowExecutionActual.d.ts +1 -1
- package/api/types/WorkflowExecutionDetail.d.ts +16 -0
- package/api/types/WorkflowExecutionDetail.js +5 -0
- package/api/types/index.d.ts +5 -0
- package/api/types/index.js +5 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +24 -19
- package/dist/api/resources/adHoc/client/Client.js +2 -2
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +2 -2
- package/dist/api/resources/releaseReviews/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
- package/dist/api/resources/workflowExecutions/client/Client.d.ts +44 -0
- package/dist/api/resources/workflowExecutions/client/Client.js +131 -0
- package/dist/api/resources/workflowExecutions/client/index.d.ts +1 -0
- package/dist/api/resources/workflowExecutions/client/index.js +2 -0
- package/dist/api/resources/workflowExecutions/index.d.ts +1 -0
- package/dist/api/resources/workflowExecutions/index.js +17 -0
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/DeploymentRead.d.ts +1 -1
- package/dist/api/types/NodeOutputCompiledThinkingValue.d.ts +13 -0
- package/dist/api/types/NodeOutputCompiledThinkingValue.js +5 -0
- package/dist/api/types/NodeOutputCompiledValue.d.ts +1 -1
- package/dist/api/types/OrganizationLimitConfig.d.ts +11 -0
- package/dist/api/types/OrganizationLimitConfig.js +5 -0
- package/dist/api/types/OrganizationRead.d.ts +1 -0
- package/dist/api/types/Quota.d.ts +8 -0
- package/dist/api/types/Quota.js +5 -0
- package/dist/api/types/SlimDeploymentRead.d.ts +1 -1
- package/dist/api/types/SlimWorkflowDeployment.d.ts +1 -1
- package/dist/api/types/VembdaServiceTierEnum.d.ts +12 -0
- package/dist/api/types/VembdaServiceTierEnum.js +10 -0
- package/dist/api/types/WorkflowDeploymentRead.d.ts +1 -1
- package/dist/api/types/WorkflowExecutionActual.d.ts +1 -1
- package/dist/api/types/WorkflowExecutionDetail.d.ts +16 -0
- package/dist/api/types/WorkflowExecutionDetail.js +5 -0
- package/dist/api/types/index.d.ts +5 -0
- package/dist/api/types/index.js +5 -0
- package/dist/serialization/types/DeploymentRead.d.ts +1 -1
- package/dist/serialization/types/DeploymentRead.js +1 -1
- package/dist/serialization/types/NodeOutputCompiledThinkingValue.d.ts +17 -0
- package/dist/serialization/types/NodeOutputCompiledThinkingValue.js +48 -0
- package/dist/serialization/types/NodeOutputCompiledValue.d.ts +2 -1
- package/dist/serialization/types/NodeOutputCompiledValue.js +2 -0
- package/dist/serialization/types/OrganizationLimitConfig.d.ts +18 -0
- package/dist/serialization/types/OrganizationLimitConfig.js +49 -0
- package/dist/serialization/types/OrganizationRead.d.ts +2 -0
- package/dist/serialization/types/OrganizationRead.js +2 -0
- package/dist/serialization/types/Quota.d.ts +14 -0
- package/dist/serialization/types/Quota.js +45 -0
- package/dist/serialization/types/SlimDeploymentRead.d.ts +1 -1
- package/dist/serialization/types/SlimDeploymentRead.js +1 -1
- package/dist/serialization/types/SlimWorkflowDeployment.d.ts +1 -1
- package/dist/serialization/types/SlimWorkflowDeployment.js +1 -1
- package/dist/serialization/types/VembdaServiceTierEnum.d.ts +10 -0
- package/dist/serialization/types/VembdaServiceTierEnum.js +41 -0
- package/dist/serialization/types/WorkflowDeploymentRead.d.ts +1 -1
- package/dist/serialization/types/WorkflowDeploymentRead.js +1 -1
- package/dist/serialization/types/WorkflowExecutionActual.d.ts +1 -1
- package/dist/serialization/types/WorkflowExecutionActual.js +1 -1
- package/dist/serialization/types/WorkflowExecutionDetail.d.ts +25 -0
- package/dist/serialization/types/WorkflowExecutionDetail.js +57 -0
- package/dist/serialization/types/index.d.ts +5 -0
- package/dist/serialization/types/index.js +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/ee/automation/.nvmrc +1 -0
- package/ee/automation/README.md +11 -0
- package/ee/automation/ci-workflow-server.yaml +46 -0
- package/ee/automation/package-lock.json +517 -0
- package/ee/automation/package.json +17 -0
- package/package.json +1 -1
- package/reference.md +50 -0
- package/serialization/types/DeploymentRead.d.ts +1 -1
- package/serialization/types/DeploymentRead.js +1 -1
- package/serialization/types/NodeOutputCompiledThinkingValue.d.ts +17 -0
- package/serialization/types/NodeOutputCompiledThinkingValue.js +48 -0
- package/serialization/types/NodeOutputCompiledValue.d.ts +2 -1
- package/serialization/types/NodeOutputCompiledValue.js +2 -0
- package/serialization/types/OrganizationLimitConfig.d.ts +18 -0
- package/serialization/types/OrganizationLimitConfig.js +49 -0
- package/serialization/types/OrganizationRead.d.ts +2 -0
- package/serialization/types/OrganizationRead.js +2 -0
- package/serialization/types/Quota.d.ts +14 -0
- package/serialization/types/Quota.js +45 -0
- package/serialization/types/SlimDeploymentRead.d.ts +1 -1
- package/serialization/types/SlimDeploymentRead.js +1 -1
- package/serialization/types/SlimWorkflowDeployment.d.ts +1 -1
- package/serialization/types/SlimWorkflowDeployment.js +1 -1
- package/serialization/types/VembdaServiceTierEnum.d.ts +10 -0
- package/serialization/types/VembdaServiceTierEnum.js +41 -0
- package/serialization/types/WorkflowDeploymentRead.d.ts +1 -1
- package/serialization/types/WorkflowDeploymentRead.js +1 -1
- package/serialization/types/WorkflowExecutionActual.d.ts +1 -1
- package/serialization/types/WorkflowExecutionActual.js +1 -1
- package/serialization/types/WorkflowExecutionDetail.d.ts +25 -0
- package/serialization/types/WorkflowExecutionDetail.js +57 -0
- package/serialization/types/index.d.ts +5 -0
- package/serialization/types/index.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ExecutionVellumValue } from "./ExecutionVellumValue";
|
|
8
|
+
import { WorkflowError } from "./WorkflowError";
|
|
9
|
+
import { WorkflowExecutionUsageResult } from "./WorkflowExecutionUsageResult";
|
|
10
|
+
import { VellumSpan } from "./VellumSpan";
|
|
11
|
+
export declare const WorkflowExecutionDetail: core.serialization.ObjectSchema<serializers.WorkflowExecutionDetail.Raw, Vellum.WorkflowExecutionDetail>;
|
|
12
|
+
export declare namespace WorkflowExecutionDetail {
|
|
13
|
+
interface Raw {
|
|
14
|
+
span_id: string;
|
|
15
|
+
parent_context?: (serializers.ParentContext.Raw | null) | null;
|
|
16
|
+
start: string;
|
|
17
|
+
end?: (string | null) | null;
|
|
18
|
+
inputs: ExecutionVellumValue.Raw[];
|
|
19
|
+
outputs: ExecutionVellumValue.Raw[];
|
|
20
|
+
error?: (WorkflowError.Raw | null) | null;
|
|
21
|
+
usage_results?: (WorkflowExecutionUsageResult.Raw[] | null) | null;
|
|
22
|
+
spans: VellumSpan.Raw[];
|
|
23
|
+
state?: (Record<string, unknown> | null) | null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowExecutionDetail = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
const ExecutionVellumValue_1 = require("./ExecutionVellumValue");
|
|
43
|
+
const WorkflowError_1 = require("./WorkflowError");
|
|
44
|
+
const WorkflowExecutionUsageResult_1 = require("./WorkflowExecutionUsageResult");
|
|
45
|
+
const VellumSpan_1 = require("./VellumSpan");
|
|
46
|
+
exports.WorkflowExecutionDetail = core.serialization.object({
|
|
47
|
+
spanId: core.serialization.property("span_id", core.serialization.string()),
|
|
48
|
+
parentContext: core.serialization.property("parent_context", core.serialization.lazy(() => serializers.ParentContext).optionalNullable()),
|
|
49
|
+
start: core.serialization.date(),
|
|
50
|
+
end: core.serialization.date().optionalNullable(),
|
|
51
|
+
inputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
52
|
+
outputs: core.serialization.list(ExecutionVellumValue_1.ExecutionVellumValue),
|
|
53
|
+
error: WorkflowError_1.WorkflowError.optionalNullable(),
|
|
54
|
+
usageResults: core.serialization.property("usage_results", core.serialization.list(WorkflowExecutionUsageResult_1.WorkflowExecutionUsageResult).optionalNullable()),
|
|
55
|
+
spans: core.serialization.list(VellumSpan_1.VellumSpan),
|
|
56
|
+
state: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable(),
|
|
57
|
+
});
|
|
@@ -263,6 +263,7 @@ export * from "./NodeOutputCompiledJsonValue";
|
|
|
263
263
|
export * from "./NodeOutputCompiledNumberValue";
|
|
264
264
|
export * from "./NodeOutputCompiledSearchResultsValue";
|
|
265
265
|
export * from "./NodeOutputCompiledStringValue";
|
|
266
|
+
export * from "./NodeOutputCompiledThinkingValue";
|
|
266
267
|
export * from "./NodeOutputCompiledValue";
|
|
267
268
|
export * from "./NodeParentContext";
|
|
268
269
|
export * from "./NormalizedLogProbs";
|
|
@@ -278,6 +279,7 @@ export * from "./OpenAiVectorizerTextEmbedding3Small";
|
|
|
278
279
|
export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
|
|
279
280
|
export * from "./OpenAiVectorizerTextEmbeddingAda002";
|
|
280
281
|
export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
|
|
282
|
+
export * from "./OrganizationLimitConfig";
|
|
281
283
|
export * from "./OrganizationRead";
|
|
282
284
|
export * from "./PaginatedContainerImageReadList";
|
|
283
285
|
export * from "./PaginatedDeploymentReleaseTagReadList";
|
|
@@ -319,6 +321,7 @@ export * from "./PromptRequestStringInput";
|
|
|
319
321
|
export * from "./PromptSettings";
|
|
320
322
|
export * from "./ComponentsSchemasPromptVersionBuildConfigSandbox";
|
|
321
323
|
export * from "./PromptVersionBuildConfigSandbox";
|
|
324
|
+
export * from "./Quota";
|
|
322
325
|
export * from "./RawPromptExecutionOverridesRequest";
|
|
323
326
|
export * from "./ReductoChunkerConfig";
|
|
324
327
|
export * from "./ReductoChunkerConfigRequest";
|
|
@@ -518,6 +521,7 @@ export * from "./VellumVariable";
|
|
|
518
521
|
export * from "./VellumVariableExtensions";
|
|
519
522
|
export * from "./VellumVariableType";
|
|
520
523
|
export * from "./VellumWorkflowExecutionEvent";
|
|
524
|
+
export * from "./VembdaServiceTierEnum";
|
|
521
525
|
export * from "./WorkflowDeploymentEventExecutionsResponse";
|
|
522
526
|
export * from "./WorkflowDeploymentHistoryItem";
|
|
523
527
|
export * from "./WorkflowDeploymentParentContext";
|
|
@@ -532,6 +536,7 @@ export * from "./WorkflowExecutionActual";
|
|
|
532
536
|
export * from "./WorkflowExecutionActualChatHistoryRequest";
|
|
533
537
|
export * from "./WorkflowExecutionActualJsonRequest";
|
|
534
538
|
export * from "./WorkflowExecutionActualStringRequest";
|
|
539
|
+
export * from "./WorkflowExecutionDetail";
|
|
535
540
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
536
541
|
export * from "./WorkflowExecutionEventType";
|
|
537
542
|
export * from "./WorkflowExecutionFulfilledBody";
|
|
@@ -279,6 +279,7 @@ __exportStar(require("./NodeOutputCompiledJsonValue"), exports);
|
|
|
279
279
|
__exportStar(require("./NodeOutputCompiledNumberValue"), exports);
|
|
280
280
|
__exportStar(require("./NodeOutputCompiledSearchResultsValue"), exports);
|
|
281
281
|
__exportStar(require("./NodeOutputCompiledStringValue"), exports);
|
|
282
|
+
__exportStar(require("./NodeOutputCompiledThinkingValue"), exports);
|
|
282
283
|
__exportStar(require("./NodeOutputCompiledValue"), exports);
|
|
283
284
|
__exportStar(require("./NodeParentContext"), exports);
|
|
284
285
|
__exportStar(require("./NormalizedLogProbs"), exports);
|
|
@@ -294,6 +295,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3Small"), exports);
|
|
|
294
295
|
__exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
|
|
295
296
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
|
|
296
297
|
__exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
|
|
298
|
+
__exportStar(require("./OrganizationLimitConfig"), exports);
|
|
297
299
|
__exportStar(require("./OrganizationRead"), exports);
|
|
298
300
|
__exportStar(require("./PaginatedContainerImageReadList"), exports);
|
|
299
301
|
__exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
|
|
@@ -335,6 +337,7 @@ __exportStar(require("./PromptRequestStringInput"), exports);
|
|
|
335
337
|
__exportStar(require("./PromptSettings"), exports);
|
|
336
338
|
__exportStar(require("./ComponentsSchemasPromptVersionBuildConfigSandbox"), exports);
|
|
337
339
|
__exportStar(require("./PromptVersionBuildConfigSandbox"), exports);
|
|
340
|
+
__exportStar(require("./Quota"), exports);
|
|
338
341
|
__exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
|
|
339
342
|
__exportStar(require("./ReductoChunkerConfig"), exports);
|
|
340
343
|
__exportStar(require("./ReductoChunkerConfigRequest"), exports);
|
|
@@ -534,6 +537,7 @@ __exportStar(require("./VellumVariable"), exports);
|
|
|
534
537
|
__exportStar(require("./VellumVariableExtensions"), exports);
|
|
535
538
|
__exportStar(require("./VellumVariableType"), exports);
|
|
536
539
|
__exportStar(require("./VellumWorkflowExecutionEvent"), exports);
|
|
540
|
+
__exportStar(require("./VembdaServiceTierEnum"), exports);
|
|
537
541
|
__exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
|
|
538
542
|
__exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
|
|
539
543
|
__exportStar(require("./WorkflowDeploymentParentContext"), exports);
|
|
@@ -548,6 +552,7 @@ __exportStar(require("./WorkflowExecutionActual"), exports);
|
|
|
548
552
|
__exportStar(require("./WorkflowExecutionActualChatHistoryRequest"), exports);
|
|
549
553
|
__exportStar(require("./WorkflowExecutionActualJsonRequest"), exports);
|
|
550
554
|
__exportStar(require("./WorkflowExecutionActualStringRequest"), exports);
|
|
555
|
+
__exportStar(require("./WorkflowExecutionDetail"), exports);
|
|
551
556
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
552
557
|
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
553
558
|
__exportStar(require("./WorkflowExecutionFulfilledBody"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.0.4";
|
package/dist/version.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v18.18.0
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Vellum SDK Automation
|
|
2
|
+
|
|
3
|
+
This is a mini package hosting all of the automation scripts needed for managing Vellum SDKs from within each SDK repository. During the release process of this repository, this directory is copied into the `ee/automation` directory of each of the respective SDKs.
|
|
4
|
+
|
|
5
|
+
## Scripts
|
|
6
|
+
|
|
7
|
+
Here are all the scripts we support.
|
|
8
|
+
|
|
9
|
+
### `npm run create-release`
|
|
10
|
+
|
|
11
|
+
This script is used to create a release for a given SDK. It is triggered by a pull request in the SDK repository being merged into the `main` branch with the `release` label. The GitHub action for this trigger is defined in `release.yml` and copied into the SDK repository within the `.github/workflows` directory.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
name: ci-workflow-server
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
tags:
|
|
8
|
+
- "*"
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
publish:
|
|
12
|
+
permissions:
|
|
13
|
+
contents: "read"
|
|
14
|
+
id-token: "write"
|
|
15
|
+
|
|
16
|
+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout repo
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Set up Node.js
|
|
23
|
+
uses: actions/setup-node@v3
|
|
24
|
+
with:
|
|
25
|
+
node-version: "18.18.0"
|
|
26
|
+
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: npm install
|
|
29
|
+
working-directory: ee/automation
|
|
30
|
+
|
|
31
|
+
- id: auth
|
|
32
|
+
uses: google-github-actions/auth@v2
|
|
33
|
+
with:
|
|
34
|
+
token_format: "access_token"
|
|
35
|
+
create_credentials_file: true
|
|
36
|
+
workload_identity_provider: "projects/585775334980/locations/global/workloadIdentityPools/github-pool/providers/github-actions-provider"
|
|
37
|
+
service_account: "github-gcr-service-account@vocify-prod.iam.gserviceaccount.com"
|
|
38
|
+
access_token_lifetime: "1200s"
|
|
39
|
+
|
|
40
|
+
- name: Bump Workflow Server
|
|
41
|
+
env:
|
|
42
|
+
VELLUM_AUTOMATION_APP_ID: ${{ secrets.VELLUM_AUTOMATION_APP_ID }}
|
|
43
|
+
VELLUM_AUTOMATION_PRIVATE_KEY: ${{ secrets.VELLUM_AUTOMATION_PRIVATE_KEY }}
|
|
44
|
+
VELLUM_AUTOMATION_INSTALLATION_ID: ${{ secrets.VELLUM_AUTOMATION_INSTALLATION_ID }}
|
|
45
|
+
run: npm run upgrade-workflow-server
|
|
46
|
+
working-directory: ee/automation
|