319 Commits

Author SHA1 Message Date
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
Andrew Farries
c4363513a5 Run gofmt
gofmt -w .

From the repository root.
2022-08-08 10:54:52 -03:00
Shannon Kinney
e4842b96a3 Update README.md
Added filler words "this is"
2022-08-03 18:18:47 -03:00
Pudong Zheng
4419c85dfd [integration-test] re-enable jetbrains inte test 2022-07-29 05:21:23 -03:00
Manuel Alejandro de Brito Fontes
797f440c7c Simplify configuration of git setting safe.directory 2022-07-19 17:23:14 +02:00
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00
JenTing Hsiao
b1fd9b6703 Revert "Update docker dependencies"
This reverts commit 02831a9e9e021b2d36942f29c2a64a3531c8e06d.
2022-07-05 11:11:01 +02:00
JenTing Hsiao
4c3ae4ba9a Revert "Remove deprecated test (because gsutil)"
This reverts commit 5cac340917b8bd35b2b31f89f8e452f23c0e1c5a.
2022-07-05 11:11:01 +02:00
Manuel Alejandro de Brito Fontes
5cac340917 Remove deprecated test (because gsutil) 2022-07-05 03:37:52 +05:30
Manuel Alejandro de Brito Fontes
02831a9e9e Update docker dependencies 2022-07-05 03:37:52 +05:30
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Manuel Alejandro de Brito Fontes
6f0bbbf5a2 Update go modules 2022-06-20 20:43:31 +05:30
JenTing Hsiao
9631a0b57b Remove deprecated function
The function grpc.WithInsecure() is deprecated, use
grpc.WithTransportCredentials(insecure.NewCredentials()) instead.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-15 13:07:24 +05:30
JenTing Hsiao
e88fd7e25c Move file under pkg/integration folder
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-10 08:57:19 +05:30
JenTing Hsiao
d0957bd283 Remove duplicate wait workspace to start
The function integration.LaunchWorkspaceFromContextURL waits the
workspace to start already.

Ref to 66ba0b10b5/test/pkg/integration/workspace.go (L264)

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-10 08:57:19 +05:30
JenTing Hsiao
e1416639e4 Fix broken test case
The branch naming rule changed.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-10 08:57:19 +05:30
JenTing Hsiao
53089370c9 Fix output log incorrect
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-10 08:57:19 +05:30
JenTing Hsiao
ccedece156 Disable parallel tests to avoid too many requests
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-10 08:57:19 +05:30
Manuel Alejandro de Brito Fontes
5ed1deb661 Update to new stable alpine version v3.16 2022-06-07 15:33:17 +05:30
Manuel Alejandro de Brito Fontes
6efe212447 Update sigs.k8s.io/e2e-framework to v0.0.7 2022-06-07 15:29:17 +05:30
Manuel Alejandro de Brito Fontes
f0bc3586cb Update go modules 2022-05-25 13:18:39 +05:30
JenTing Hsiao
6876bf05e4 Add workspace integration test TestMissingBackup pvc part back
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-23 09:30:37 +05:30
JenTing Hsiao
845d71874b Git config safe.directory
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-18 18:56:33 +05:30
JenTing Hsiao
a663c700cf Add stderr to help debug
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-18 18:56:33 +05:30
JenTing Hsiao
c2633b2fe7 Fix running integration test not working
Run `go mod tidy` to add missing packages.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-18 18:56:33 +05:30
JenTing Hsiao
2c7e144f42 Temporary skip the TestMissingBackup pvc test to make the integration test pass
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-16 20:36:31 +05:30
Prince Rachit Sinha
f0bf2e806d [integration-test] Enable tests to run from local 2022-05-14 06:31:28 +05:30
Prince Rachit Sinha
3939796825 [integration-test] Add supervisor test 2022-05-12 17:28:27 +05:30
Manuel Alejandro de Brito Fontes
bbacba44aa Update go modules 2022-05-12 16:39:27 +05:30
Prince Rachit Sinha
d7cb9e7e82 [integration-test] Partially fix TestRegularWorkspaceTasks 2022-05-12 13:36:27 +05:30
Prince Rachit Sinha
8020f4e0fa [integration-test] Fix image build test 2022-05-05 11:52:20 +05:30
JenTing Hsiao
72dceff8f2 Add integration tests for Git LFS support
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-04 16:54:20 +05:30
Manuel Alejandro de Brito Fontes
2e7526ff72 Update go modules 2022-05-04 13:58:20 +05:30
Pavel Tumik
301190db53 Add persistent volume support for workspaces
fix
2022-05-04 03:08:19 +05:30
JenTing Hsiao
a4ae70ce49 Git config user.name and user.email locally
Git config --user.name and git config --user.email, otherwise, git commit
would fail.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-02 06:37:18 +05:30
JenTing Hsiao
902dcb907d Remove duplicated file git-client.go
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-02 06:37:18 +05:30
JenTing Hsiao
27350efd7e Create user in DB if not present
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-02 06:37:18 +05:30
Manuel Alejandro de Brito Fontes
7c41afeac4 Remove unused dependencies 2022-04-29 19:37:15 +05:30
Christian Weichel
314833cdc2 [common-go] Add keyed gRPC rate limits 2022-04-29 16:01:15 +05:30
JenTing Hsiao
c31498eb31 Fix E2E label filter not working
The label filter is supported from sigs.k8s.io/e2e-framework@v0.0.4,
we bump the sigs.k8s.io/e2e-framework to the latest version v0.0.6.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-27 12:47:13 +05:30
JenTing Hsiao
c0c74396d8 Fix go mod verify failed
Remove duplicate controller-runtime.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-27 06:56:13 +05:30
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
400a66f0c5 Fix potential bug once we change the value of parallel variable
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 22:42:38 +05:30
JenTing Hsiao
9886276a90 Fix typo
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
3b3eba4ab2 [IDE] Run leeway link 2022-04-26 13:18:38 +05:30