Commit Graph

13 Commits

Author SHA1 Message Date
Gergő Jedlicska 61609de97e gergo/previews (#3765)
* feat(preview-generator): add new preview generator webapp

* wip(preview-service): reworking the preview service backend

* feat(previews): logging

* feat(preview-service): streamline payloads

* fix(preview-service): do not log the full payload

* feat(preview-service): build new preview service

* feat(preview-service): add separate response queue

* feat(previews): integrate preview queues with the server

* feat(previews): use module alias

* chore(previews): remove old preview service code

* feat(previews): log stuff on job statuses

* fix(previews): add missing deps and scripts

* fix(previews): package deps fix

* fix(server): moar typing fixes

* Metrics related to jobs: total count, request failures, response errors & durations

* duration should include unit.
- histogram metric should be summary
- error responses include duration in seconds
- attempt to remove metric before adding it (prevent errors with duplicate metrics)

* fix(server, frontend): some ts fixes

* fixes

* fix(frontend): remove unneeded ts-expect-error

* chore(preview-service): eslint

* TS fix

* feat(previews): more smoal fixes

* fix(preview-service): alias loading

* feat(helm): updates for new preview service queue setup

* feat(preview-service): launch new browser for each job

* feat(preview-service): add timeout, fix liveliness

* fix(helm): add access to new secret in service accounts

* tidy metrics into a separate file

* Remove broken preview service acceptance test

* fix broken import

* Add metrics to test

* feat(preview-service): handle preview service shutdown properly

* fix(previews): merge bork

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2025-03-06 14:26:56 +01:00
Iain Sproat 78773aaef7 fix(github action): bump image in github action (#3776)
* manually bump image in workflow because it's not possible to grant GITHUB_TOKEN workflow:write permissions
2025-01-07 21:34:43 +00:00
Iain Sproat d800a1e3c7 chore(postgres): upgrade to v16.4 (#3438)
* chore(postgres): upgrade to v16.4

* Remove unnecessary change

* Remove obsolete makefile

* Revert changes which are now part of separate PR
2024-11-05 10:25:10 +00: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 cf9348ebe0 fix(github action): preview acceptance test (#2889)
- should run on changes to files in directory
- fix conflict in pnpm versions
2024-09-05 15:23:39 +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
Iain Sproat a0424fd3c6 chore(github actions): bump chainguard-dev/digestabot action (#2208)
- hopefully resolves issue where PR cannot be updated
2024-04-15 10:32:16 +01:00
Iain Sproat b4e55eaef9 fix(github action): use correct format for author & committer git signing (#1938) 2024-01-05 12:03:34 +00:00
Iain Sproat b396029cf6 chore(Dockerfile): bump images to debian bookworm, pin images by digest, and github action to auto-bump (#1937)
* chore(Dockerfile): pin images by digest this ensures consistent builds with images pinned by SHA
* introduces a GitHub Action will create a PR to update the images when there is a new version, and will pin to that newer version SHA.

* Bump debian to 12 'bookworm'
* Bump pypi libraries
  * except frontend-1, as only debian 11 is currently supported by openresty
* Bump debian packages
2024-01-05 11:51:04 +00:00
Alan Rynne 494e307083 Update Github Actions to use the actions repo (#1325)
* Updated github actions to use our actions repo

* fix: added project num input and EOL
2023-01-19 11:33:45 +00:00
Fabians abe6d5e086 chore: re-formatted everything with prettier 2022-03-30 12:54:24 +03:00
Matteo Cominetti 3319de7d32 Create close-issue.yml 2021-10-02 17:17:28 +01:00
Matteo Cominetti 4ffd174d03 Create open-issue.yml 2021-10-02 17:17:18 +01:00