45 Commits

Author SHA1 Message Date
Sven Efftinge
9f9c6761b2 [server] update go api 2022-11-10 09:03:45 +01:00
Wouter Verlaek
f70b3c775c [integration-tests] Set VSX_REGISTRY_URL to fix workspace tests 2022-11-10 09:03:45 +01:00
Andrea Falzetti
680dbde07c chore: retry logic for workspace url empty in tests
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Pudong <tianshi8650@gmail.com>
2022-11-01 19:50:06 +01:00
Pudong Zheng
6f3775df4e [integration-test] use correct workspace id 2022-10-13 18:13:28 +02:00
Manuel Alejandro de Brito Fontes
0412c5f461 [test] Reduce loop wait time 2022-10-05 05:15:20 +02:00
JenTing Hsiao
3ce09dcbdf test: new integration test TestOpenWorkspaceFromPrebuild
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-19 15:22:20 +02:00
utam0k
6c669f75f2 test: Add a handling if the workspace already has gone when try to delete it 2022-09-15 15:42:16 +02:00
utam0k
7deee9f1c6 test: Enhanced running in unstable environments 2022-09-15 15:42:16 +02:00
utam0k
1ce6856495 test: Ignore the error gitpod-io/gitpod#12021 2022-09-14 11:14:15 +02:00
utam0k
403a8e2262 test: fix a bug in stopWs 2022-09-14 11:12:15 +02:00
utam0k
f35e4ab0d8 test: Refresh a api client if it returns Unavailable 2022-09-14 09:56:15 +02:00
utam0k
8a31958388 test: Let the stopws get the api from caller 2022-09-14 07:19:15 +02:00
utam0k
65cde1e082 test: Return workspace status even when not waiting for stop 2022-09-14 06:02:14 +02:00
utam0k
4d150f3dba test: Put logging of workspace starts and stops. 2022-09-14 06:02:14 +02:00
utam0k
2d304f1a4b test: Refactor stopWs 2022-09-14 06:02:14 +02:00
JenTing Hsiao
73928d9f1b Support returns the last workspace status after workspace stopped
We should rely on the ws-manager last reported volume snapshot
information rather than use the volume snapshot client to find
the VolumeSnapshot object within the Kubernetes cluster.

This behavior is more close to how the ws-manager reports the last
volume snapshot information to server via ws-manager-bridge.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-13 03:23:14 +02:00
JenTing Hsiao
a274e4b0e7 integration test: add owner for image build request
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +02:00
utam0k
4566ceac12 tests: expand timeout to 20m from 10m 2022-09-02 03:25:17 +02:00
utam0k
8dc405e1a7 tests: Stop and Wait workspace at the end of each tests. 2022-09-02 03:25:17 +02:00
utam0k
d2dbcfad10 tests: remove unnecessary codes. 2022-09-02 03:25:17 +02:00
utam0k
d1d2b3e35c tests: Stabilization of TestRegularWorkspaceTasks 2022-08-26 10:22:11 +02:00
JenTing Hsiao
71a2d6d564 Better error message
To differentiate the error message.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 22:42:38 +05:30
JenTing Hsiao
4242538632 Remove duplicate scancel()
We already have a defer scancel().

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 22:42:38 +05:30
Christian Weichel
0303453c07 Remove checkoutLocation from StartWorkspaceReq 2022-04-08 00:29:21 +05:30
Pavel Tumik @ GitPod
50c2cf59f1 [tests] fix integration tests 2022-01-31 16:20:22 +01:00
Anton Kosyakov
120872bfce [integrationt-test] ensure IdeUrl on create workspace 2021-12-15 16:14:40 +01:00
Cornelius A. Ludmann
e7c93eb382 [ws-manager] Add destkop_ide_image 2021-10-26 15:02:04 +02:00
Manuel Alejandro de Brito Fontes
fb8117655b [image-builder-mk3] Fix image build error "did not produce a workspace image" 2021-10-14 00:27:00 -03:00
Manuel Alejandro de Brito Fontes
12f10c68f9 Refactoring integration tests 2021-09-30 11:31:47 -03:00
rl-gitpod
a4751772fe [integration-test] Add support for new IDE config and sanity checks 2021-09-22 20:42:47 -03:00
rl-gitpod
3937eb38bb [integration-test] Wait for Theia service and endpoints to be cleaned up when stopping workspace 2021-09-22 20:42:47 -03:00
Gero Posmyk-Leinemann
757a1594c6 [server] Introduce Config and use it everywhere 2021-09-01 09:40:31 -03:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Gero Posmyk-Leinemann
8f0c24af66 [ws-manager, supervisor, bridge] Prebuild workspaces are done when their container stops 2021-07-08 09:27:34 +02:00
Christian Weichel
6993f72965 [content-service] Support FromBackupInitializer
which lets clients force backup restoration or fail otherwise.
2021-07-06 09:01:50 +02:00
Christian Weichel
0d6e310569 [test] Build base image if required for workspace 2021-06-25 08:27:37 +02:00
Christian Weichel
b0892f1243 [test] Fix IDE image selection in LaunchWorkspaceDirectly 2021-06-25 08:27:37 +02:00
Manuel Alejandro de Brito Fontes
93d1eabbe3 [test] Fix integration tests 2021-06-25 08:27:37 +02:00
Gero Posmyk-Leinemann
b2186110ca [tests] Use TLS certs for connections to ws-manager 2021-06-10 14:27:30 +02:00
Gero Posmyk-Leinemann
92ccb0d83e [tests] Minor improvements 2021-03-12 15:40:12 +01:00
Gero Posmyk-Leinemann
ecd7347041 [tests] Add basic GitHub/GitLab context tests 2021-03-12 15:40:12 +01:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Sven Efftinge
b897e6777f Generate better workspace ids 2021-01-26 18:03:25 +01:00
Christian Weichel
b7d7433963 [tests] Make compatible with Kubernetes v1.20.1 2021-01-11 15:25:05 +01:00
Christian Weichel
3e438bc5dd [integration-test] Introduce integration test framework 2021-01-08 13:40:43 +01:00