utam0k
432fb65b6a
test: Convert port-forward stderr to be easier to deal with
2022-09-14 14:06:15 +02:00
utam0k
9194470564
test: Return the stderr instead of port-forward cmd exit err
2022-09-14 14:06:15 +02:00
utam0k
289a9aefb9
test: Update example test
2022-09-14 14:05:16 +02:00
utam0k
2faf03a83c
test: Refactor content tests
2022-09-14 14:05:16 +02:00
utam0k
5dedcaa21e
test: Handle errors relate network in port-fowarding
2022-09-14 11:17:15 +02:00
utam0k
5a62089a8c
test: Logging error
2022-09-14 11:17:15 +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
837971f584
test: Add methods for cleaning client cache each clients
2022-09-14 09:56:15 +02:00
utam0k
29b8dc4b68
test: Make stopWs independent of the main context and api variable
2022-09-14 07:19: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
7bfaadf573
workspace integration test: add PVC FF to TestPrebuildWorkspaceTaskSuccess
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-12 21:21:14 +02:00
JenTing Hsiao
659da21a86
workspace integration test: enhance TestRegularWorkspaceTasks
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-12 21:20:13 +02:00
JenTing Hsiao
ca9ea516b3
workspace integration test: add missing PVC feature flag
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-09 20:09:24 +02:00
utam0k
eac7a5da4c
test: More robust port-forward of ComponentAPI
2022-09-09 11:33:24 +02:00
utam0k
eacca79908
test: Workspace testing does not guarantee branch name creation
2022-09-09 11:32:24 +02:00
utam0k
7ef89110ec
test: use gitpod-io/template-golang-cli instead of gitpod-io/gitpod
2022-09-09 11:32:24 +02:00
JenTing Hsiao
4b4e1d544e
workspace integration test: move TestGitLFSSupport under TestGitHubContexts
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-08 18:16:23 +02:00
JenTing Hsiao
b3cc3df8d9
workspace integration test: make sure we could open empty repo
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-08 18:16:23 +02:00
Thomas Schubart
b1ab569ed7
[integration] Test multi-repo support
2022-09-06 14:18:21 +02:00
JenTing Hsiao
f7008c1bcc
workspace integration test: add PVC test in TestGitLFSSupport
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 19:28:20 +02:00
JenTing Hsiao
160c2d53d9
workspace integration test: add PVC test in TestGitActions
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 19:28:20 +02:00
JenTing Hsiao
38d66bb1af
workspace integration test: add PVC test in TestGitHubContexts
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 19:28:20 +02:00
JenTing Hsiao
a6cbf490d8
integration test: add api to update user's feature flag
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 19:28:20 +02:00
JenTing Hsiao
06d501bf41
workspace integration test: pass context to FindVolumeSnapshot
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +02:00
JenTing Hsiao
742f9eedfe
workspace integration test: add TestWorkspaceEnableAndDisablePVC
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +02:00
JenTing Hsiao
352fdef7fc
workspace integration test: add PVC test within TestRegularWorkspaceTasks
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +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
JenTing Hsiao
8a658b26df
workspace integration test: add PVC test within TestBackup
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +02:00
JenTing Hsiao
423e8d4fb1
workspace integration test: find volume snapshot by label selector
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +02:00
utam0k
f04a405ceb
test: retry if get a error of EOF.
2022-09-02 03:25:17 +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
ab0e3f705d
tests: Stabilization of docker test.
2022-08-30 05:03:14 +02:00
utam0k
b99bffdd20
tests: Stabilization of k3s tests
2022-08-29 09:19:13 +02:00
utam0k
1f8054b656
tests: Clean a workspace even if a test failed
2022-08-29 08:05:13 +02:00
utam0k
d1d2b3e35c
tests: Stabilization of TestRegularWorkspaceTasks
2022-08-26 10:22:11 +02:00
utam0k
17c777f5ad
tests: Retry when image-builder is unavailble for some reason
2022-08-26 04:50:10 +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
utam0k
dd58f4e9c5
test: update the job manifest for the integration tests.
2022-08-18 11:47:35 +02:00
utam0k
a5543d05fd
test: fix the cgroup v2 test.
2022-08-18 11:47:35 +02:00
JenTing Hsiao
5fb85e47e3
Separate -ldflags and -buildid
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-13 04:13:29 +02:00