Kristaps Fabians Geikins
bde148f286
chore(server): migrating fully to ESM ( #5042 )
...
* wip
* some extra fixes
* stuff kinda works?
* need to figure out mocks
* need to figure out mocks
* fix db listener
* gqlgen fix
* minor gqlgen watch adjustment
* lint fixes
* delete old codegen file
* converting migrations to ESM
* getModuleDIrectory
* vitest sort of works
* added back ts-vitest
* resolve gql double load
* fixing test timeout configs
* TSC lint fix
* fix automate tests
* moar debugging
* debugging
* more debugging
* codegen update
* server works
* yargs migrated
* chore(server): getting rid of global mocks for Server ESM (#5046 )
* got rid of email mock
* got rid of comment mocks
* got rid of multi region mocks
* got rid of stripe mock
* admin override mock updated
* removed final mock
* fixing import.meta.resolve calls
* another import.meta.resolve fix
* added requested test
* nyc ESM fix
* removed unneeded deps + linting
* yarn lock forgot to commit
* tryna fix flakyness
* email capture util fix
* sendEmail fix
* fix TSX check
* sender transporter fix + CR comments
* merge main fix
* test fixx
* circleci fix
* gqlgen bigint fix
* error formatter fix
* more error formatting improvements
* esmloader added to Dockerfile
* more dockerfile fixes
* bg jobs fix
2025-07-14 10:26:19 +03:00
Iain Sproat
ba6c0dfef5
fix(server/dockerfile): bump node version to 22 ( #5060 )
2025-07-11 11:46:23 +02:00
Iain Sproat
9604f5d9fb
chore(helm test): remove obsolete build args ( #4928 )
...
* fix(helm test): pass in env vars at runtime not build time
- we configure the test at runtime, not buildtime
- we were never setting these build args at build time, so they were obsolete
* remove unnecessary build arg from server Dockerfile
2025-06-12 10:28:46 +01:00
Iain Sproat
55cffc3782
ci(docker): tidy dockerfiles with aim to increase cache hits ( #4819 )
2025-06-09 16:54:24 +01:00
Iain Sproat
ab06b712a7
Merge branch 'main' into iain/dockerfile-node18-node22
2025-05-12 14:46:40 +01:00
Iain Sproat
8a32b3f2ae
chore(CI): speed up yarn install by skipping install of browsers
2025-05-01 20:35:43 +01:00
Daniel Gak Anagrov
6437f237aa
feat(ci): move arg to improve docker cache hits ( #4642 )
...
Co-authored-by: Daniel Gak Anagrov <daniel@speckle.systems >
2025-05-01 12:39:44 +02:00
Iain Sproat
335f6a2a06
Merge branch 'main' into iain/dockerfile-node18-node22
2025-03-20 09:35:59 +00:00
Iain Sproat
575d48fdaf
chore(dockerfiles): bump curl version for debian images
...
- debian has once again passively agressively removed older curl versions from their packages, forcing us to bump the version in order to build our image
2025-03-15 12:07:40 +00:00
Iain Sproat
aaaf75d151
Merge branch 'main' into iain/dockerfile-node18-node22
2025-02-05 12:16:04 +00:00
Iain Sproat
e6adceda6c
chore(Dockerfile): use COPY --link flag ( #3869 )
2025-01-22 15:03:13 +00:00
Iain Sproat
a1352fe8c8
chore(Dockerfile): remove all ADD statements as cache is missed ( #3865 )
2025-01-22 13:07:39 +00:00
Iain Sproat
a4bff8da2b
Merge branch 'main' into iain/dockerfile-node18-node22
2024-10-14 19:36:48 +01:00
Iain Sproat
a22a350627
chore(dockerfile): move to distroless ( #2885 ) ( #2897 )
...
* Reapply "chore(dockerfile): move to distroless (#2885 )" (#2888 )
This reverts commit 9d8cd0f351 .
* Fix startup probe for objects pods
2024-09-06 09:43:35 +01:00
Iain Sproat
9d8cd0f351
Revert "chore(dockerfile): move to distroless ( #2885 )" ( #2888 )
...
This reverts commit a1a3428737 .
2024-09-05 15:03:47 +01:00
Iain Sproat
a1a3428737
chore(dockerfile): move to distroless ( #2885 )
...
* chore(dockerfile): move to distroless
- remove unnecessary env vars (these are provided via the deployment system)
- uses relative paths if in a working directory
* Amend entrypoint for use with distroless
* Update startup probe & docker compose readiness probe
2024-09-05 14:28:26 +01:00
Kristaps Fabians Geikins
c382aec1f4
fix(server): move graphql away from devDeps ( #2883 )
2024-09-05 13:37:29 +03:00
Iain Sproat
2991984a7e
fix nix package name
2024-08-16 09:33:32 +01:00
Iain Sproat
cd3ef0e951
chore(node): bump from 18 to 22
2024-08-16 08:49:34 +01:00
Kristaps Fabians Geikins
c7fdc6acc2
chore: updating ws everywhere to resolve SNYK-JS-WS-7266574 ( #2385 )
...
* chore: updating ws in various ways
* puppeteer upgrade
* updating codegen deps
* workspaces cmd update
* various extra fixes
* minor preview-service troubleshooting improvements
* dockerfile fixes
* hopefully fixing docker build fe2
* try again
* try large again
2024-06-18 13:26:01 +03:00
github-actions[bot]
a79680da00
Update image digests ( #2203 )
...
Signed-off-by: specklebot <devops@speckle.systems >
Co-authored-by: specklebot <devops@speckle.systems >
2024-06-18 10:18:46 +01:00
github-actions[bot]
11b62f3824
Update image digests ( #2189 )
...
Signed-off-by: specklebot <devops@speckle.systems >
Co-authored-by: specklebot <devops@speckle.systems >
2024-04-09 10:05:32 +01:00
github-actions[bot]
4947573584
Update image digests ( #2172 )
...
Signed-off-by: specklebot <devops@speckle.systems >
Co-authored-by: specklebot <devops@speckle.systems >
2024-03-28 08:57:01 +00:00
github-actions[bot]
bbe48effd0
Update image digests ( #2139 )
...
Signed-off-by: specklebot <devops@speckle.systems >
Co-authored-by: specklebot <devops@speckle.systems >
2024-03-15 16:42:10 +00:00
github-actions[bot]
4418932832
Update image digests ( #2040 )
...
Signed-off-by: specklebot <devops@speckle.systems >
Co-authored-by: specklebot <devops@speckle.systems >
2024-02-23 12:42:29 +00:00
github-actions[bot]
8185683b4a
Update image digests ( #1966 )
...
Signed-off-by: specklebot <devops@speckle.systems >
Co-authored-by: specklebot <devops@speckle.systems >
2024-02-09 01:13:48 +00:00
github-actions[bot]
36f749b24a
chore(deps): bump image digests ( #1939 )
...
* fix(github action): use correct format for author & committer git signing
* Update image digests
Signed-off-by: specklebot <devops@speckle.systems >
---------
Signed-off-by: specklebot <devops@speckle.systems >
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com >
Co-authored-by: specklebot <devops@speckle.systems >
2024-01-05 15:57:25 +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
Iain Sproat
3db83e50be
chore(deps): bump node from 18.18.2 to 18.19.0 ( #1921 )
...
* chore(deps): bump node from 18.18.2 to 18.19.0
* Additional dependencies
2023-12-15 11:30:07 +01:00
Iain Sproat
438c6bbf0d
chore(deps): bump node from 18.17.1 to 18.18.2 ( #1844 )
2023-10-31 18:08:25 +00:00
Iain Sproat
080e8197f9
chore(deps): bump node from 18.17.0 to 18.17.1 ( #1771 )
2023-08-24 10:55:43 +01:00
Iain Sproat
ea941b3b81
chore(deps): bump node to 18.17.0 ( #1722 )
2023-07-26 12:38:50 +01:00
Iain Sproat
9f0418893f
chore(objects upload): improves response when error due to large object size ( #1685 )
...
* test(objects upload): adds a test for large object
* print object too large messages in response
* allows object maximum size to be configured
2023-07-12 10:57:59 +01:00
Iain Sproat
ffc3c5186f
chore(node): bump to 18.16.1 ( #1675 )
2023-07-07 16:54:18 +01:00
Iain Sproat
5361d64e99
Revert "fix(server helm / dockerfile): remove entrypoint from dockerfile ( #1605 )" ( #1606 )
...
This reverts commit bcea709712 .
2023-06-02 16:33:26 +01:00
Gergő Jedlicska
bcea709712
fix(server helm / dockerfile): remove entrypoint from dockerfile ( #1605 )
...
the server helm deployment only overrides if inspect is needed
2023-06-02 16:01:01 +02:00
Iain Sproat
e71f382e6a
feat(helm): configure inspect flag for server via helm chart ( #1593 )
2023-06-01 21:43:22 +01:00
Gergő Jedlicska
b56fdab1e0
add inspect mode to server backend
2023-05-22 16:21:39 +02:00
Kristaps Fabians Geikins
42a49fb635
chore: ensuring react ttypes are always stubbed ( #1570 )
2023-05-08 14:07:56 +03:00
Iain Sproat
4eab7d9dcd
chore(deps): bump node to 18.16.0 ( #1564 )
2023-05-05 12:43:39 +01:00
Iain Sproat
cff0fa8e31
chore(deps): bump node images to 18.15.0 ( #1500 )
2023-04-05 12:15:26 +01:00
Snyk bot
031980a3d2
fix: packages/server/Dockerfile to reduce vulnerabilities ( #1399 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326666
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326668
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326685
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326686
- https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326688
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com >
2023-02-22 10:07:16 +00:00
Iain Sproat
a6fba9ebd3
chore(node): bump node version to 18.14.0 ( #1365 )
2023-02-10 11:44:44 +00:00
Gergő Jedlicska
5626caa30a
fix(server): revert distroless for server, it borks intergartion tests for other packages ( #1253 )
...
* fix(server): revert distroless for server, it borks intergartion tests for other packages
* style(docker): Iain is pedantic about new lines ()
2022-12-08 12:48:35 +01:00
Iain Sproat
d09bce7267
feat(docker images): Distroless ( #935 )
...
* Moves speckle-server, webhook-service, fileimport-service, monitoring-deployment, and test-deployment images to Distroless.
Partially addresses https://github.com/specklesystems/speckle-server/issues/883
* preview-service uses similar image for building and production stages
* explicitly include chromium-common dependency to prevent error in preview service
* Bump chromium packages due to package versions not being found
* Handle machine-id in distroless
- distroless has no shell, so node-machine-id will result in an error
- this commit introduces error handling and defaults to a uuid v4 in the case of an error
* Update binary location for readiness and liveness checks to match the binary location in Distroless
* Allow node binary path to be set as environment variable in fileimport service
2022-12-07 12:07:42 +00:00
Iain Sproat
ee50b32b59
chore(node): upgrades to node 18 ( #1189 )
...
* chore(node): upgrades to node 18
Node 16 was out of support (but not security upgrades), so bumping to next stable version.
https://github.com/specklesystems/speckle-server/issues/1187
* Update server liveness and readiness probes for node 18
* Bump web-ifc to 0.0.36
* Apply `--no-experimental-fetch` flag to fileimport-service to prevent issues in web-ifc (via emscripten) with node 18
2022-12-06 12:57:48 +00:00
Iain Sproat
564b5dc5fb
Bump docker images ( #1148 )
2022-10-25 16:12:24 +01:00
Iain Sproat
8aa7f51d27
Revert "chore(dockerfile): bump Dockerfile base image versions ( #974 )" ( #1146 )
...
This reverts commit 6d6264c779 .
2022-10-25 15:43:29 +01:00
Iain Sproat
6d6264c779
chore(dockerfile): bump Dockerfile base image versions ( #974 )
2022-10-25 14:35:43 +01:00
Kristaps Fabians Geikins
5f48ae8086
feat(server): optimized command for importing commits from other servers ( #1113 )
2022-10-17 10:32:01 +03:00