Commit Graph

7 Commits

Author SHA1 Message Date
Gergő Jedlicska ef043ee234 gergo/web 2158 previews module multi region (#3492)
* feat(previews): multi region previews module

* feat(preview-service): talk multi region

* fix(preview-service): test helper await

* fix(preview-service): remove linting issue, this prob makes it worse
2024-11-19 16:35:39 +01:00
Iain Sproat 31476cbdc5 chore(preview service): acceptance test loads geometry from csv file (#3083) 2024-09-24 16:26:31 +01:00
Iain Sproat 016b8b031d fix(github action): preview service acceptance (#2891)
- should run on changes to files in directory
- Remove pnpm
- Allow postgres connection string to be configured for acceptance test
- Different postgres connection string if running inside preview container
- Run the preview-service image as a github action service
- separate the jobs into a build and a test job
- do not run the preview-service via the acceptance test, instead run it via github actions
- Add correct permission to job
- Add logging to the test, to understand progress
- Allow database name to be passed in to acceptance test
- Only delete the database if the test helper owns (created) it
- Upload image to s3 bucket
2024-09-17 12:11:25 +01:00
Iain Sproat 19b51c5308 Revert "fix(preview-service): only create a puppeteer client per app, not per…" (#2901)
This reverts commit d5c9e5e207.
2024-09-07 11:09:47 +01:00
Iain Sproat 20fcc407fd chore(preview service): improve logging (#2900)
* chore(preview service): improve logging

* use correct logging syntax in test
2024-09-07 11:08:46 +01:00
Iain Sproat d5c9e5e207 fix(preview-service): only create a puppeteer client per app, not per request (#2899)
* fix(preview-service): only create a puppeteer client per app, not per request

* allow puppeteer client to be dependency injected and stub in tests
2024-09-07 09:50:30 +01:00
Iain Sproat 9a28e467ba refactor(preview-service): conforms to design patterns, adds tests, and is typed (#2429)
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-09-04 13:06:23 +01:00