578 Commits

Author SHA1 Message Date
Christian Weichel
76ad6c215e [ws-manager-bridge] Remove HasMoreResources admission constraint
We've moved to workspace classes for this feature.
2022-07-15 14:31:02 +02:00
Christian Weichel
68840d62d4 [ws-manager-bridge] Remove HasUserLevel admission constraint
We never really used it and solved this case with other means
2022-07-14 19:49:01 +02:00
Mads Hartmann
332a3a0550 Make werft-credential-helper work outside workspaces 2022-07-14 04:25:00 +02:00
Manuel Alejandro de Brito Fontes
c1c1f83452 Update dev-environment image 2022-07-13 22:20:00 +02:00
Christian Weichel
61b3df213e [gpctl] Add "workspaces list" command 2022-07-13 10:17:00 +02:00
Pavel Tumik
28821e7d56 [dev] add gp-gcloud cli 2022-07-12 23:38:59 +02:00
Mads Hartmann
8338b6b1bd Apply suggestions from code review
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
2022-07-12 14:44:59 +02:00
Mads Hartmann
ba6a0162e1 Implement --watch mode for previewctl install-context 2022-07-12 14:44:59 +02:00
Autofix
25900eca11 Autofix: upgrade-nvm-tools 2022-07-11 18:25:58 +05:30
mustard
45763776a6 [gpctl] add command to get last heartbeat time of workspace 2022-07-08 23:00:56 +05:30
Manuel Alejandro de Brito Fontes
ea6ade104f Update containerd and docker dependencies 2022-07-06 13:31:53 +05:30
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00
utam0k
dcba777c86 workspacekit: Update libseccomp 2022-07-05 05:33:52 +05:30
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Aleksandar Aleksandrov
cf7e70df15 Remove poolkeeper 2022-06-30 15:30:39 +05:30
Aleksandar Aleksandrov
eee5f2f258 previewctl install-context --watch 2022-06-28 11:48:36 +05:30
ArthurSens
95109db730 previewctl: Add SSH command
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-06-21 17:53:31 +05:30
Liam Bennett
704a4263b9 fix auth file reference 2022-06-21 14:36:31 +05:30
Liam Bennett
4357f34408 update env to use werft grpc 2022-06-21 14:36:31 +05:30
ArthurSens
59071b4dce previewctl: Re-implement list-vms in go
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-06-20 23:12:30 +05:30
Aleksandar Aleksandrov
9484aadb85 Opt-in preview environments 2022-06-20 19:16:29 +05:30
Andrew Farries
a80eaa15a5 Use gke-gcloud-auth-plugin for kubectl
Start using the kubectl auth plugin for GKE.

See https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
2022-06-16 16:07:25 +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
utam0k
85c66e3f98 loadgen: fix the error handling when failed to get the ws infomation. 2022-06-13 14:38:22 +05:30
utam0k
0c5932b1c4 loadgen: record the time of stopping workspaces. 2022-06-13 14:38:22 +05:30
Thomas Schubart
8dcddf4d9e [loadgen] Wait before workspace termination 2022-06-10 22:31:20 +05:30
JenTing Hsiao
e5fb359f3e Update dev/loadgen/README.md
Co-authored-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-06-10 15:05:19 +05:30
utam0k
ac11a1784c loadgen: Update README 2022-06-10 15:05:19 +05:30
utam0k
1b5f24676e loadgen: Update .gitignore 2022-06-10 15:05:19 +05:30
utam0k
d8d8df0f7b loadgen: Add a config file for worksapce preview. 2022-06-10 15:05:19 +05:30
Liam Bennett
a24e13ecc7 bump werft cli version in dev image 2022-06-09 16:01:19 +05:30
Manuel Alejandro de Brito Fontes
4e534a4737 Update curl flags 2022-06-08 22:39:18 +05:30
Manuel Alejandro de Brito Fontes
aea7f74ef4 Update gitpod dev image 2022-06-08 22:39:18 +05:30
Mads Hartmann
beb9ed6d17 Revert "Update gitpod dev image"
This reverts commit 9eebced32dd95417923be868014900038c5f928a.
2022-06-08 14:40:18 +05:30
Mads Hartmann
62d6eeb866 Revert "Update curl flags"
This reverts commit fad0b7f65958514ddf97ae60e380595cbddfb6b1.
2022-06-08 14:40:18 +05:30
Manuel Alejandro de Brito Fontes
fad0b7f659 Update curl flags 2022-06-08 13:13:18 +05:30
Manuel Alejandro de Brito Fontes
9eebced32d Update gitpod dev image 2022-06-08 13:13:18 +05:30
Manuel Alejandro de Brito Fontes
5ed1deb661 Update to new stable alpine version v3.16 2022-06-07 15:33:17 +05:30
ArthurSens
ddae876f62 previewctl: Improve logging around install-context watch
Switched log library to Logrus

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-06-06 22:26:16 +05:30
Moritz Eysholdt
aafb99b6ba Remove X-Server from Dev Image 2022-06-03 14:36:52 +05:30
ArthurSens
31c592f0b3 Add previewctl/gpctl autocompletion to workspace image
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-06-03 13:18:52 +05:30
Thomas Schubart
679d37cdfc Adapt benchmark parameters 2022-06-03 00:06:51 +05:30
Thomas Schubart
bf94105db8 Document loadgen 2022-06-03 00:06:51 +05:30
Thomas Schubart
36310057ac Support workspace classes and write results 2022-06-03 00:06:51 +05:30
Aditya Sharma
08317a394a [gpctl] Fix parsing error when running gpctl workspaces describe <instanceID> 2022-06-02 01:46:50 +05:30
ArthurSens
ad5f38f370 Add get-name command
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-05-31 20:39:49 +05:30
ArthurSens
b065e9b124 Add Leeway BUILD file
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-05-31 20:39:49 +05:30
ArthurSens
ed0e8262f0 Introduce CLI for interactions with Preview environments.
Following our [internal RFC](https://www.notion.so/gitpod/A-Go-based-CLI-for-interacting-with-Preview-Environments-1834aa90bc104a0b836dd523e22f9e93), the work done in this CLI was to make sure it is easily extendable with new commands and that the architecture makes it easy to test.

It also introduces the first command asked in Milestone 1 of that same RFC. Which makes it possible to install the kube-context of different preview environments.

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-05-31 20:39:49 +05:30
Andrew Farries
39995c46c3 Install gh (Github CLI) into dev image 2022-05-30 20:08:48 +05:30
Thomas Schubart
eeb5daf22c Vary backup size during load test 2022-05-27 19:16:46 +05:30