Commit Graph

25 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
CrazyMax fbf879c97f
releaser: update go to 1.23 and update dependencies
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-11-07 10:48:49 +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
David Karlsson 140b8d0704 build: remove netlify _release
This build target was not being used for a long time

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-07-09 17:41:11 +02:00
dependabot[bot] f83752d17c
build(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 in /_releaser
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 23:21:48 +00:00
David Karlsson bf4a605ad1 fix: handle trailing slash mismatch for redirects
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-24 09:36:55 +02:00
dependabot[bot] 6f9f79c957
build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 in /_releaser
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-18 03:17:23 +00:00
CrazyMax b19ea42c73
releaser: update to Go 1.19
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-14 14:17:41 +01:00
CrazyMax 51f2858ea3
releaser: update dependencies
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-14 14:16:40 +01:00
CrazyMax e4fdbe1892
cleanup old pages and optimize redirects
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-11-05 23:02:18 +01:00
CrazyMax 561118ec5b
rename docs repository
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-29 11:07:53 +02:00
CrazyMax 8acb5b970d
Switch prod2 to prod environment
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-30 14:44:24 +02:00
CrazyMax b2b680bd2d
chore: fix s3 redirects with prefixes
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-17 18:14:26 +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 85f13ecf5d
ci: add lab branch to publish workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-25 11:08:34 +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