Commit Graph

13 Commits

Author SHA1 Message Date
CrazyMax b759ac65bb
releaser(aws): remove type assertion on errors
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-11-07 10:51:16 +01:00
David Karlsson 9ee4e85c70 releaser: add dry run mode
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-06 16:08:15 +01:00
David Karlsson d7e80d53c1 releaser: read config from files instead of variables
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-06 16:08:15 +01:00
David Karlsson 0f5193a86f
Revert "releaser: get redirects from files instead of env vars" 2024-11-06 09:32:12 +01:00
David Karlsson 0a3f9780ce releaser: get redirects and lambda fn from files instead of env vars
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-11-05 12:20:22 +01:00
David Karlsson 9d1831991a releaser: increase sleep before publishing lambda
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-08-19 16:28:58 +02:00
David Karlsson 2d742d80c2 Revert "release: increase timeout for creating lambda from 3s to 10s"
This reverts commit 98987a64c3.

The timeout option doesn't have any effect, since the error happens in a
later function call to PublishVersion.
2024-08-19 16:26:19 +02:00
David Karlsson 98987a64c3 release: increase timeout for creating lambda from 3s to 10s
We've seen instances where the publishing workflow has recently started
failing when trying to update the CloudFront config (create lambda
function). Re-running the workflow usually fixes the problem.

The default timeout for creating a lambda function is 3 seconds. Bumping
the limit to 10s might help resolve this issue.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-08-15 08:29:44 +02:00
CrazyMax a0c0aec486
lab: move s3 redirects to lambda function
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 13:47:12 +02:00
CrazyMax 92948cbfd7
lab: cloudfront update with lambda edge function for redirects
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 13:47:12 +02:00
CrazyMax 278cae8ad0
releaser: simplify access to env or secrets
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-09 20:44:17 +02:00
CrazyMax b37db0f4a5
fix publish workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-18 19:01:49 +02:00
CrazyMax 34051706b2
refactor and mutualize netlify and aws clients for deployment
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-18 13:56:58 +02:00