174 Commits

Author SHA1 Message Date
Mads Hartmann
22a8956a2a Add script to list VM name to be used with VM_NAME 2022-05-04 17:36:20 +05:30
Mads Hartmann
3bb6681ed1 Move port forwarding scripts to util. Added support for setting VM_NAME 2022-05-04 17:36:20 +05:30
Mads Hartmann
d594f9c243 Move install-vm-ssh-keys.sh to util folder 2022-05-04 17:36:20 +05:30
Mads Hartmann
dc8693d4a2 Move distribute-images.sh to test folder
Fix comments, they used // but bash uses #
2022-05-04 17:36:20 +05:30
Mads Hartmann
d99e6d080c Move download-and-merge-harvester-kubeconfig.sh to util 2022-05-04 17:36:20 +05:30
Mads Hartmann
5a68617a39 make install-k3s-kubeconfig cwd agnostic 2022-05-04 17:36:20 +05:30
Mads Hartmann
4ad9f6f0f3 make ssh-vm cwd agnostic and move ssh-proxy-command to util 2022-05-04 17:36:20 +05:30
Mads Hartmann
5706b83cc7 Overwrite existing k3s entries in the kubectx
This is needed when switching bracnhes or when using
clean-slate-deployment.
2022-04-27 14:24:13 +05:30
JenTing Hsiao
5ecbd29232 Use configured reverse proxy port rather than fixed port
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-04-26 18:41:39 +05:30
Mads Hartmann
640cc97ca1 Temporary fix: Always sleep 10 seconds 2022-04-26 18:29:38 +05:30
Pavel Tumik
119a892378 allow to specify vm name when connecting to harvester VM 2022-03-27 10:20:10 +05:30
Arthur Silva Sens
9bb0d124bd Add comment regarding iamge garbage collection 2022-03-21 23:18:28 +05:30
Moritz Eysholdt
4f759a57d3 Add script to preload images onto nodes 2022-03-21 23:18:28 +05:30
Mads Hartmann
4ab9e3a48a Dont hash if the branch is 20 chars or less 2022-03-11 13:50:18 +05:30
Mads Hartmann
afa2bd1cb8 Allow for branch name lengths of 45
This relaxes the branch name restriction from 20 characters to 45. This is achieved by constructing the preview name based on the first 10 characters of the branch name and then the first 10 characters of the hashed value of the branch name.

All places that (to my knowledge) rely on the preview name has been updated.

Fixes https://github.com/gitpod-io/ops/issues/1252
2022-03-11 13:50:18 +05:30
Arthur Silva Sens
39cf522451 dev/preview/test/load-test.sh: Add missing option 2022-03-08 20:02:15 +05:30
ArthurSens
3af1ed80b6 dev/preview/test: Update load test script to use correct branch name
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-03-08 20:02:15 +05:30
Mads Hartmann
249e846bff Shellcheck: quote variable 2022-02-24 14:49:03 +05:30
Mads Hartmann
55ba428b2c Script for basic load testing of VMs preview envs 2022-02-24 14:49:03 +05:30
Wulf Thimm
0470c1eb73 added script to download k3s kubeconfig for preview-environments
/werft with-vm=true
2022-02-02 10:25:24 +01:00
ArthurSens
ec2bf80858 Provide scripts to access monitoring-satellite in core-dev and harvester previews
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-01-28 10:54:20 +01:00
Pudong Zheng
657883ce79 change vm-ssh port to 2200
(cherry picked from commit 6926c575f4485b4275cb151eeba0320c23347905)
2022-01-26 12:16:18 +01:00
Mads Hartmann
53da29a5c9 dev/preview: Add script for SSH login 2022-01-26 12:16:18 +01:00
Mads Hartmann
c732acb039 Add Harvester kubectl context to kubeconfig 2022-01-06 15:09:00 +01:00