53 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
b336a5cb65 Update go dependencies 2023-02-10 09:24:15 +01:00
Mads Hartmann
e35f6827ad Simplify staleness heuristics 2023-02-07 12:35:45 +01:00
Mads Hartmann
32acb09b8d Only exit if installing SSH keys fails 2023-02-02 14:17:43 +01:00
Mads Hartmann
9a6e19e156 Implement preivew-env-gc and run on schedule 2023-02-02 14:17:43 +01:00
Mads Hartmann
a3ec90a977
Build Gitpod with GHA on main (too) (#16123) 2023-01-31 14:52:11 +01:00
Aleksandar Aleksandrov
1769dbbc45 support with-large-vm 2023-01-31 13:43:38 +01:00
Mads Hartmann
78c890f32b Temporarily build the docker image on every build 2023-01-26 15:51:33 +01:00
Mads Hartmann
464f37778f Download previewctl from image instead of building it 2023-01-26 12:52:33 +01:00
Milan Pavlik
bf43329fa0 [previewctl] Add create command as alias to leeway run preview:dev 2023-01-25 08:33:32 +01:00
Aleksandar Aleksandrov
7c8abd78f6 Handle context installation when switching underlying infra 2023-01-24 15:09:31 +01:00
Aleksandar Aleksandrov
5d7b8b85cc Handle context installation when switching underlying infra 2023-01-24 14:40:32 +01:00
Mads Hartmann
8ecf528e77 Introduce and use custom actions for deploying gitpod and monitoring 2023-01-24 10:54:32 +01:00
Aleksandar Aleksandrov
36566ef841 preview env with-gce-vm option 2023-01-24 09:18:31 +01:00
Aleksandar Aleksandrov
d7e43a583c [previewctl] point to infra dir by default for stale 2023-01-18 14:01:26 +01:00
Aleksandar Aleksandrov
a761a9dd32 previewctl install gce context also 2023-01-18 10:33:26 +01:00
Sven Efftinge
40de87874b [previewctl] changed staleness logic
consider all rbanches that have had eactivity in the past 30 days,
and also remove existance of workspace instances as activity
as that would include prebuilds and create false positive activity
2023-01-03 16:55:43 +01:00
Mads Hartmann
b1af927299 Add initial Job Summary for the install job 2022-12-23 08:47:32 -03:00
Aleksandar Aleksandrov
a5a91d76d3 Skip stale branch check for artificial jobs 2022-12-15 11:17:25 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Aleksandar Aleksandrov
d68df21459 Install previewctl from cache 2022-12-07 14:01:17 -03:00
Aleksandar Aleksandrov
b774d7af39 Clean up bash scripts in favour of previewctl 2022-12-07 09:11:17 -03:00
Aleksandar Aleksandrov
19e93c4a30 preview delete cron use previewctl list stale 2022-12-07 06:28:17 -03:00
Aleksandar Aleksandrov
881abd7e00 previewctl list stale 2022-12-06 14:22:16 -03:00
Aleksandar Aleksandrov
2a9f3fb1ab previewctl tidy and simplify 2022-12-06 13:29:16 -03:00
Aleksandar Aleksandrov
2f48822159 Previewctl use PREVIEW_ENV_DEV_SA_KEY_PATH as default for SA account flag 2022-12-05 12:29:17 -03:00
Mads Hartmann
3f040eb439 Add retry option to install-context 2022-11-24 05:58:53 -03:00
Mads Hartmann
28ba48f1dd Remove previewctl from image, install as init task instead 2022-11-22 14:37:52 -03:00
Aleksandar Aleksandrov
0f5843878f previewctl fix branch flag 2022-11-03 14:15:08 +01:00
Aleksandar Aleksandrov
7b4377a746 Refactor previewctl install-context 2022-11-03 13:30:08 +01:00
Aleksandar Aleksandrov
3393f87cd0 Fix previewctl get-name and update image 2022-10-25 10:47:39 +02:00
Aleksandar Aleksandrov
dbdecc38cb Fix previewctl SA, rebuild and update docker img 2022-10-24 11:18:38 +02:00
Aleksandar Aleksandrov
d8f6138551 Refactor previewctl get-name 2022-10-21 12:53:36 +02:00
Aleksandar Aleksandrov
4c59bdae5d previewctl get-credentials 2022-10-19 14:38:34 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +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
7b4a885ee3 Update k8s dependencies to v0.24.3 2022-08-23 08:18:39 +02:00
Andrew Farries
c4363513a5 Run gofmt
gofmt -w .

From the repository root.
2022-08-08 10:54:52 -03:00
JenTing Hsiao
f88985aaa9 previewctl: install-context honors the branch name
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-28 03:52:22 -03: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
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
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +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
ArthurSens
59071b4dce previewctl: Re-implement list-vms in go
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-06-20 23:12:30 +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