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
Manuel Alejandro de Brito Fontes
7b4a885ee3
Update k8s dependencies to v0.24.3
2022-08-23 08:18:39 +02:00
Pavel Tumik @ GitPod
b7cb20128e
[content-init] fix PVC not starting up from prebuild correctly
2022-08-22 02:07:38 +02:00
JenTing Hsiao
cdb698fdc9
content-service: check remote branch exists before git checkout
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-11 01:41:54 +02:00
JenTing Hsiao
899d149e49
Ignore git error message does not have any commits yet
...
If the git repo has no commits, the git log displays `does not have any
commits yet`. We ignore it in tracing.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-07 22:09:52 -03:00
JenTing Hsiao
ae726f0000
Log error message
...
Co-authored-by: utam0k <toru@gitpod.io>
2022-08-04 23:25:49 -03:00
Pavel Tumik
d359b103b6
[content-init] do not hide error during git checkout
2022-08-04 23:25:49 -03:00
Pavel Tumik
bab6178502
[content-service] handle git access denied error
2022-08-04 19:40:49 -03:00
Manuel Alejandro de Brito Fontes
ccb4e180a7
Remove backup trail
2022-08-04 05:00:48 -03:00
Thomas Schubart
7700819af9
Provide better error message for HTTP 524
2022-08-02 13:55:46 -03:00
Andrew Farries
1f23dca2dc
[content-service] Set ContentType header
...
Setting '*/*' doesn't work - it needs to be explict about the exact type
of content that that the signed URL will receive.
2022-08-02 06:58:46 -03:00
Andrew Farries
46cca98b28
Rename file
2022-08-02 04:43:46 -03:00
Andrew Farries
258d1081bc
Make content-service take bucket name from config
...
Rather than hardcoding the name of the bucket.
2022-08-02 04:43:46 -03:00
Andrew Farries
58ddbf936f
Remove check for NotFound error
...
It doesn't make sense for a request to generate an upload URL to return
NotFound after we've already ensured the bucket exists.
2022-07-22 08:16:17 -03:00
Andrew Farries
a048dcef18
Add a test for the UsageReportService
...
Test that usageReportService.UploadURL interacts with PresignedAccess
correctly to produce an upload URL for the correct bucket and filename.
2022-07-22 08:16:17 -03:00
Andrew Farries
02bc08c4bd
Don't take bucket name as a request parameter
2022-07-22 08:16:17 -03:00
Andrew Farries
0f9873e79b
Uppercase log message
2022-07-22 08:16:17 -03:00