@balena/open-balena-api 30.0.9 → 30.0.10-build-v2-image-env-var-device-update-trigger-e7838a9e0aa7091fe0aa8936e66272f851aad8b8-1
Sign up to get free protection for your applications and to get access to all the features.
@@ -265,24 +265,26 @@ addEnvHooks('device_service_environment_variable', async (args) => {
|
|
265
265
|
}),
|
266
266
|
];
|
267
267
|
});
|
268
|
+
// Normally we don't expect these to return any match, since our clients
|
269
|
+
// * POST image env vars before the release & images gets marked as successful
|
270
|
+
// * never PATCH them after that point
|
271
|
+
// * DELETEs are expected to normally only happen if the release gets DELETED,
|
272
|
+
// in which case the should_be_running__release will change and trigger an update of its own.
|
268
273
|
addEnvHooks('image_environment_variable', async (args) => {
|
274
|
+
// The filter paths here should match the expand path of the state GET.
|
269
275
|
if (args.req.body.release_image != null) {
|
270
276
|
return {
|
271
|
-
|
277
|
+
should_be_running__release: {
|
272
278
|
$any: {
|
273
|
-
$alias: '
|
279
|
+
$alias: 'r',
|
274
280
|
$expr: {
|
275
|
-
|
281
|
+
status: 'success',
|
282
|
+
release_image: {
|
276
283
|
$any: {
|
277
|
-
$alias: '
|
284
|
+
$alias: 'ri',
|
278
285
|
$expr: {
|
279
|
-
|
280
|
-
|
281
|
-
$any: {
|
282
|
-
$alias: 'ri',
|
283
|
-
$expr: { ri: { id: args.req.body.release_image } },
|
284
|
-
},
|
285
|
-
},
|
286
|
+
ri: {
|
287
|
+
id: args.req.body.release_image,
|
286
288
|
},
|
287
289
|
},
|
288
290
|
},
|
@@ -299,28 +301,20 @@ addEnvHooks('image_environment_variable', async (args) => {
|
|
299
301
|
return [
|
300
302
|
envVarIds,
|
301
303
|
(envVarIdsChunk) => ({
|
302
|
-
|
304
|
+
should_be_running__release: {
|
303
305
|
$any: {
|
304
|
-
$alias: '
|
306
|
+
$alias: 'r',
|
305
307
|
$expr: {
|
306
|
-
|
308
|
+
status: 'success',
|
309
|
+
release_image: {
|
307
310
|
$any: {
|
308
|
-
$alias: '
|
311
|
+
$alias: 'ri',
|
309
312
|
$expr: {
|
310
|
-
|
311
|
-
|
313
|
+
ri: {
|
314
|
+
image_environment_variable: {
|
312
315
|
$any: {
|
313
|
-
$alias: '
|
314
|
-
$expr: {
|
315
|
-
ri: {
|
316
|
-
image_environment_variable: {
|
317
|
-
$any: {
|
318
|
-
$alias: 'e',
|
319
|
-
$expr: { e: { id: { $in: envVarIdsChunk } } },
|
320
|
-
},
|
321
|
-
},
|
322
|
-
},
|
323
|
-
},
|
316
|
+
$alias: 'e',
|
317
|
+
$expr: { e: { id: { $in: envVarIdsChunk } } },
|
324
318
|
},
|
325
319
|
},
|
326
320
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vars-update-trigger.js","sourceRoot":"","sources":["../../../../src/features/vars-schema/hooks/vars-update-trigger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAOjE,4FAA4F;AAC5F,wFAAwF;AACxF,8BAA8B;AAC9B,uIAAuI;AACvI,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,GAAG,CAAC;AAE7C,iBAAiB;AACjB,MAAM,WAAW,GAAG,CACnB,QAAW,EACX,WAWC,EACM,EAAE;IACT,MAAM,oBAAoB,GAAG,KAAK,EACjC,IAEC,EACA,EAAE;QACH,IAAI,CAAC;YACJ,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC;YACvC,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;gBACpB,OAAO;YACR,CAAC;YACD,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;gBACpC,CAAC,CAAC,CAAC,GAAG,EAAE;oBACN,MAAM,CAAC,WAAW,EAAE,aAAa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IACR,CAAC;IACD,OAAO;QACN,SAAS;QACT,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;YACpB,eAAe,EAAE;gBAChB,IAAI,EAAE;oBACL,MAAM,EAAE,GAAG;oBACX,KAAK,EAAE;wBACN,CAAC,EAAE;4BACF,mCAAmC,EAAE;gCACpC,IAAI,EAAE;oCACL,MAAM,EAAE,GAAG;oCACX,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE;iCAC7C;6BACD;yBACD;qBACD;iBACD;aACD;SACD,CAAC;KACF,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,WAAW,CAAC,4BAA4B,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;IACxD,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE,CAAC;QACzC,OAAO;YACN,
|
1
|
+
{"version":3,"file":"vars-update-trigger.js","sourceRoot":"","sources":["../../../../src/features/vars-schema/hooks/vars-update-trigger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAOjE,4FAA4F;AAC5F,wFAAwF;AACxF,8BAA8B;AAC9B,uIAAuI;AACvI,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,GAAG,CAAC;AAE7C,iBAAiB;AACjB,MAAM,WAAW,GAAG,CACnB,QAAW,EACX,WAWC,EACM,EAAE;IACT,MAAM,oBAAoB,GAAG,KAAK,EACjC,IAEC,EACA,EAAE;QACH,IAAI,CAAC;YACJ,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC;YACvC,IAAI,MA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,CAAC;IACvD,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO;IACR,CAAC;IACD,OAAO;QACN,SAAS;QACT,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;YACpB,0BAA0B,EAAE;gBAC3B,IAAI,EAAE;oBACL,MAAM,EAAE,GAAG;oBACX,KAAK,EAAE;wBACN,MAAM,EAAE,SAAS;wBACjB,aAAa,EAAE;4BACd,IAAI,EAAE;gCACL,MAAM,EAAE,IAAI;gCACZ,KAAK,EAAE;oCACN,EAAE,EAAE;wCACH,0BAA0B,EAAE;4CAC3B,IAAI,EAAE;gDACL,MAAM,EAAE,GAAG;gDACX,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE;6CAC7C;yCACD;qCACD;iCACD;6BACD;yBACD;qBACD;iBACD;aACD;SACD,CAAC;KACF,CAAC;AACH,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/open-balena-api",
|
3
3
|
"description": "Internet of things, Made Simple",
|
4
|
-
"version": "30.0.
|
4
|
+
"version": "30.0.10-build-v2-image-env-var-device-update-trigger-e7838a9e0aa7091fe0aa8936e66272f851aad8b8-1",
|
5
5
|
"license": "AGPL-3.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -167,6 +167,6 @@
|
|
167
167
|
"loader": "ts-node/esm/transpile-only"
|
168
168
|
},
|
169
169
|
"versionist": {
|
170
|
-
"publishedAt": "2024-10-
|
170
|
+
"publishedAt": "2024-10-21T13:54:45.135Z"
|
171
171
|
}
|
172
172
|
}
|