update aws/lambda build projects, configure for 5s timeout
All checks were successful
Alexa skill build / build (push) Successful in 1m37s

This commit is contained in:
Emil Lerch 2026-02-05 14:40:38 -08:00
parent 56ae5d2039
commit 2910efcb6a
Signed by: lobo
GPG key ID: A7B62D657EF764F8
2 changed files with 15 additions and 5 deletions

View file

@ -48,7 +48,17 @@ pub fn build(b: *std.Build) !void {
// Configure Lambda build steps and get deployment info // Configure Lambda build steps and get deployment info
// Function name defaults to exe.name ("house-control") // Function name defaults to exe.name ("house-control")
const lambda = try lambda_zig.configureBuild(b, lambda_zig_dep, exe, .{}); const lambda = try lambda_zig.configureBuild(b, lambda_zig_dep, exe, .{
.lambda_config = .{
.config = .{
// we need a longer timeout for our function here because
// occasionally the cognito sign in / rinnai takes longer,
// or the home server is overloaded and takes longer to
// respond
.timeout = 5,
},
},
});
// Get AWS profile option (already declared by lambda-zig) // Get AWS profile option (already declared by lambda-zig)
const profile = b.user_input_options.get("profile"); const profile = b.user_input_options.get("profile");

View file

@ -9,12 +9,12 @@
.hash = "controlr-0.1.0-upFm0LtgAAAo85RiRDa0WmSrORIhAa5bCF8UdT9rDyUk", .hash = "controlr-0.1.0-upFm0LtgAAAo85RiRDa0WmSrORIhAa5bCF8UdT9rDyUk",
}, },
.lambda_zig = .{ .lambda_zig = .{
.url = "git+https://git.lerch.org/lobo/lambda-zig#2bdf23f375c1453cb471e8603b3cdbb6616aba28", .url = "git+https://git.lerch.org/lobo/lambda-zig#09e9a32241d94d982dd7e3f4300d879177829842",
.hash = "lambda_zig-0.1.0-_G43_x1fAQD4mNzDFE-Iz9lSrwQctI6V6510luXlJAkc", .hash = "lambda_zig-0.1.0-_G43_5u1AQCfNq52pTVRkqgFhKwV_n1GkYOQj8UPA1mT",
}, },
.aws = .{ .aws = .{
.url = "git+https://git.lerch.org/lobo/aws-sdk-for-zig#5c7aed071f6251d53a1627080a21d604ff58f0a5", .url = "git+https://git.lerch.org/lobo/aws-sdk-for-zig#1a03250fbeb2840ab8b6010f1ad4e899cdfc185a",
.hash = "aws-0.0.1-SbsFcFE7CgDBilPa15i4gIB6Qr5ozBz328O63abDQDDk", .hash = "aws-0.0.1-SbsFcCg7CgC0yYv2Y7aOjonSAU3mltOSfY0x2w9jZlMV",
}, },
}, },
.paths = .{ .paths = .{