@gearbox-protocol/deploy-tools 5.24.33 → 5.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +67 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -423140,6 +423140,72 @@ var SafeApiWrapper = class {
|
|
|
423140
423140
|
}
|
|
423141
423141
|
};
|
|
423142
423142
|
|
|
423143
|
+
// ../../packages/shared/dist/task-schema.js
|
|
423144
|
+
var TaskDefinition = z.object({
|
|
423145
|
+
/**
|
|
423146
|
+
* Unique task definition id, do not confuse with task id
|
|
423147
|
+
* can be empty for ad-hoc task definitions
|
|
423148
|
+
*/
|
|
423149
|
+
id: z.string().regex(/^[a-zA-Z0-9_-]+$/, "malformed task id"),
|
|
423150
|
+
/**
|
|
423151
|
+
* Task family identifies group of identical tasks, which should be displayed in identical way, but are slightly different
|
|
423152
|
+
* For example, beta and production configuration of optimist have different configs, but results are in the same schema
|
|
423153
|
+
* this fields should be used by frontend to choose result renderer
|
|
423154
|
+
*/
|
|
423155
|
+
family: z.string().regex(/^[a-zA-Z0-9_-]+$/, "malformed task family").optional(),
|
|
423156
|
+
/**
|
|
423157
|
+
* Task description, optional
|
|
423158
|
+
*/
|
|
423159
|
+
description: z.string().optional(),
|
|
423160
|
+
/**
|
|
423161
|
+
* Docker image name in @gearbox-protocol org, e.g. `deploy-v3`
|
|
423162
|
+
*/
|
|
423163
|
+
image: z.string(),
|
|
423164
|
+
/**
|
|
423165
|
+
* Docker image version, can be prefixed with ssm:// to get version from AWS SSM, otherwise defaults to latest
|
|
423166
|
+
*/
|
|
423167
|
+
version: z.string().optional(),
|
|
423168
|
+
/**
|
|
423169
|
+
* Docker entrypoint
|
|
423170
|
+
*/
|
|
423171
|
+
entrypoint: z.array(z.string()).optional(),
|
|
423172
|
+
/**
|
|
423173
|
+
* Docker command
|
|
423174
|
+
*/
|
|
423175
|
+
command: z.array(z.string()).optional(),
|
|
423176
|
+
/**
|
|
423177
|
+
* Environment variables to pass to container
|
|
423178
|
+
*/
|
|
423179
|
+
env: z.record(z.string(), z.string()).optional(),
|
|
423180
|
+
/**
|
|
423181
|
+
* Secret to load from AWS Secrets Manager and pass as env variables to container
|
|
423182
|
+
* key = ENV VARIABLE NAME
|
|
423183
|
+
* value = (?!)AWS_SECRET_NAME.(optional json field)
|
|
423184
|
+
* exclamation mark means that secret should be refretched
|
|
423185
|
+
*/
|
|
423186
|
+
secrets: z.record(z.string(), z.string()).optional(),
|
|
423187
|
+
/**
|
|
423188
|
+
* Will be saved as file and mounted to container
|
|
423189
|
+
*/
|
|
423190
|
+
input: z.any().optional(),
|
|
423191
|
+
/**
|
|
423192
|
+
* Timeout for task in minutes
|
|
423193
|
+
*/
|
|
423194
|
+
timeout: z.number().int().positive().optional(),
|
|
423195
|
+
/**
|
|
423196
|
+
* If true, task can be started concurrently with other tasks
|
|
423197
|
+
*/
|
|
423198
|
+
concurrent: z.boolean().optional(),
|
|
423199
|
+
/**
|
|
423200
|
+
* Task can start other containers
|
|
423201
|
+
*/
|
|
423202
|
+
multicontainer: z.boolean().optional(),
|
|
423203
|
+
/**
|
|
423204
|
+
* Schema version, to facilitate breaking changes in schema
|
|
423205
|
+
*/
|
|
423206
|
+
schemaVersion: z.number().int().optional()
|
|
423207
|
+
});
|
|
423208
|
+
|
|
423143
423209
|
// ../../packages/shared/dist/utilityContracts.js
|
|
423144
423210
|
var ADDRESS_PROVIDER2 = {
|
|
423145
423211
|
Mainnet: "0x9ea7b04Da02a5373317D745c1571c84aaD03321D",
|
|
@@ -431579,7 +431645,7 @@ function getRenderer(opts) {
|
|
|
431579
431645
|
var package_default = {
|
|
431580
431646
|
name: "@gearbox-protocol/deploy-tools",
|
|
431581
431647
|
description: "Gearbox deploy tools",
|
|
431582
|
-
version: "5.
|
|
431648
|
+
version: "5.25.0",
|
|
431583
431649
|
homepage: "https://gearbox.fi",
|
|
431584
431650
|
keywords: [
|
|
431585
431651
|
"gearbox"
|