258 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
bcdde44633 Switch from alpine to wolfi 2023-02-05 12:10:43 +01:00
Manuel Alejandro de Brito Fontes
8edebb38c0 Allow the use of env variables to access S3 2023-01-18 18:45:26 +01:00
Manuel Alejandro de Brito Fontes
a6ab9b0208 Improve S3 speed 2023-01-17 13:18:25 +01:00
Victor Nogueira
119badcf19 Fix License filename in headers (License-AGPL.txt -> License.AGPL.txt) 2022-12-22 10:02:31 -03:00
Thomas Schubart
06074b311b [content-service] Review Comments
- Ensure all items are fetched
- Remove double init of client
- Specify region and credentials from config
- Remove insecure s3 test (deprecated)
2022-12-09 10:29:19 -03:00
Thomas Schubart
6d43c13578 [content-service] Ensure snapshot names can be parsed 2022-12-09 10:29:19 -03:00
Thomas Schubart
b27deaecc8 Return generic error instead of s3 error
Clients expect this error to be returned when an object cannot be found.
2022-12-09 10:29:19 -03:00
Thomas Schubart
2ff1a82ef7 [content-service] Provide test command 2022-12-09 10:29:19 -03:00
Thomas Schubart
5fffc03707 [content-service] S3 fixes (object attributes, prefix, error types) 2022-12-09 10:29:19 -03:00
Christian Weichel
799e6059c4 [content-service] Implement support for S3 2022-12-09 10:29:19 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Thomas Schubart
3514a5db50 [content-service] Prevent permission denied during content init 2022-12-07 20:10:18 -03:00
Thomas Schubart
d0ccc7f044 [content-service] Log filesystem usage error 2022-12-05 07:01:15 -03:00
Thomas Schubart
76535055cd [content-service] Update tests 2022-12-05 07:01:15 -03:00
Thomas Schubart
98a735727a [content-service] Create initialize metrics 2022-12-05 07:01:15 -03:00
Milan Pavlik
f053918ea8 Revert "[content-service] Remove GetWorkspaceDownloadURL"
This reverts commit a362f98d33fdc83cfe050bc1a910f0ec998ddd3c.
2022-11-11 11:25:40 +02:00
Milan Pavlik
a362f98d33 [content-service] Remove GetWorkspaceDownloadURL 2022-11-09 13:44:39 +01:00
Sven Efftinge
b879279bc1 [content-service] incremental workspace init
if we initialize the workspace from an outdated prebuild,
we need the regular workspace tasks (including init) should run.
2022-10-27 18:06:41 +02:00
Pavel Tumik @ GitPod
aba04a0e80 run git command as gitpod user when using pvc 2022-10-25 00:15:39 +02:00
utam0k
32e8d1b4ed content-service: Ignore git hooks when checkout
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-10-21 07:24:36 +02:00
Pavel Tumik @ GitPod
72a8fa311b [pvc] fix prestoophook.sh from failing if prebuild log does not exist 2022-10-21 03:48:35 +02:00
Christian Weichel
b2d94c0c82 [content-service] Make prebuild initializer more robust
against submodule update problems,
and awry fetch situations.
2022-10-18 22:05:33 +02:00
Manuel Alejandro de Brito Fontes
93806a375f Fix invalid defer return 2022-10-18 20:49:33 +02:00
Pavel Tumik @ GitPod
27068da167 [pvc] fix when opening repo with no .gitpod.yml 2022-10-06 02:33:21 +02:00
Manuel Alejandro de Brito Fontes
ca1d4d9dc4 [ws-daemon] Adjust SignedURL expiration 2022-10-06 00:08:21 +02:00
Manuel Alejandro de Brito Fontes
3ed6564a1b [content-service] Revert #11895 2022-10-04 17:37:20 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
2769ab212a [content-service] Check git default branch name 2022-10-01 04:22:31 +02:00
Christian Weichel
d6023c989a Revert "Switch to Go workspaces"
This reverts commit 6bc34cf17512cb0a10a3a6cce44141b1f06b624e.
2022-09-29 05:28:29 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Christian Weichel
6bc34cf175 Switch to Go workspaces 2022-09-28 08:45:28 +02:00
Manuel Alejandro de Brito Fontes
57fdeaa317 [content-service] Fix checkout local HEAD branch 2022-09-27 04:23:27 +02:00
Manuel Alejandro de Brito Fontes
943e228b96 [content-service] Fix git checkout 2022-09-23 20:28:24 +02:00
Manuel Alejandro de Brito Fontes
9192e0fc75 Track git branches during initial checkout 2022-09-23 09:03:23 +02:00
Manuel Alejandro de Brito Fontes
83604d2b67 Fetch before checkout 2022-09-22 02:35:22 +02:00
Manuel Alejandro de Brito Fontes
6e1381c43e Ensure git fetch process all content 2022-09-22 02:35:22 +02:00
Manuel Alejandro de Brito Fontes
d6f045475f Remove git no-single-branch flag 2022-09-22 02:35:22 +02:00
Milan Pavlik
6f461f5714 [baseserver] Track metrics for HTTP requests automatically 2022-09-20 09:05:21 +02:00
Thomas Schubart
0354f2651e [content-service] Additional tracing for prebuild init 2022-09-19 20:25:20 +02:00
Milan Pavlik
631838ef82 Expose version in ws-daemon & content-service 2022-09-16 21:58:17 +02:00
Milan Pavlik
37d9ad8a20 [content-service] Remove UsageReport service 2022-09-16 16:33:17 +02:00
Pavel Tumik @ GitPod
78470a2d4f [content-service] chown after prebuild git ops when using pvc 2022-09-13 04:49:14 +02:00
Pavel Tumik @ GitPod
ef92c82ce6 [pvc] fix prebuilds when using pvc 2022-09-12 20:12:14 +02:00
JenTing Hsiao
3eb1ba5675 Chown all files and folders after git checkout
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-26 14:35:11 +02:00
Milan Pavlik
cf9e765ae0 [content-service] Implement UsageReportService.GetDownloadURL 2022-08-26 14:09:11 +02:00
Pavel Tumik @ GitPod
c8c906e278 replace os.IsNotExist with errors.Is(err, fs.ErrNotExist) 2022-08-24 03:35:40 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
f1c968f665 Remove deprecated test (because gsutil) 2022-08-23 08:18:39 +02:00