192 Commits

Author SHA1 Message Date
Aleksandar Aleksandrov
412d13c568 preview module 2023-01-18 12:23:26 +01:00
Aleksandar Aleksandrov
a761a9dd32 previewctl install gce context also 2023-01-18 10:33:26 +01:00
Alex Tugarev
f5f1f3591b [werft] add with-dedicated-emulation switch 2023-01-17 14:16:25 +01:00
Aleksandar Aleksandrov
9565b9e14c DNS Module for preview envs 2023-01-13 15:59:21 +01:00
Pudong Zheng
16d59a0b81 [preview] add missing workspace class template 2023-01-11 17:54:50 +01:00
Aleksandar Aleksandrov
995266a768 Preivew env GCE infra 2023-01-11 15:32:50 +01:00
Milan Pavlik
2abbd88908 [openfga] Deploy when experimental.webapp.openfga.enabled is true 2023-01-11 13:22:50 +01:00
Mads Hartmann
1715273e6d Default to letsencrypt 2023-01-06 15:05:45 +01:00
Pudong Zheng
7a8b916398 [dev] use fullchain cert 2023-01-06 13:28:45 +01:00
Mads Hartmann
a4671a102f Only load zerossl-eab secret when needed 2023-01-06 09:53:45 +01:00
Mads Hartmann
023058589a Request certificates using the ACME provider 2023-01-05 10:14:45 +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
Aleksandar Aleksandrov
ca94fa5f6c use older version for fluent-bit 2022-12-30 16:34:39 +01:00
Mads Hartmann
b1af927299 Add initial Job Summary for the install job 2022-12-23 08:47:32 -03:00
Alex Tugarev
7136c68be3 [iam] adding preview-env config 2022-12-22 12:40:31 -03:00
Aleksandar Aleksandrov
a5a91d76d3 Skip stale branch check for artificial jobs 2022-12-15 11:17:25 -03:00
ArthurSens
88066a011d Remove import from preview environments
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-12-14 04:38:23 -03:00
Aleksandar Aleksandrov
1394d847ee Fix var assignment in deploy-harvester 2022-12-12 08:35:21 -03:00
Mads Hartmann
06557ea800 Remove build artifacts from leeway package srcs lists 2022-12-12 08:12:22 -03:00
Aleksandar Aleksandrov
2a3187377b Default to letsencrypt cert isuser 2022-12-12 08:01:22 -03:00
ArthurSens
3e93373784 Remove Kubescape from preview environments
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-12-08 16:52:18 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Mads Hartmann
77d765d21f Wait for certificate and log error when it fails 2022-12-08 12:12:18 -03:00
Mads Hartmann
fc9235008a Run scripts in parallel. Deploy monitoring-satellite by default 2022-12-08 12:11:19 -03:00
Mads Hartmann
ea6081e7ff Remove unused scripts 2022-12-08 10:16:18 -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
4110b07a9a dev/preview:configure-workspace fix 2022-12-06 08:18: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
Sven Efftinge
a96cb7bf36 [ws-classes] simplify workspace classes
simplified by
- removing user-level setting
- removing deprecation
- removing ws-class inheritence between ws sessions
2022-12-01 13:59:00 -03:00
Milan Pavlik
6f0deca146 [server] Configure PAT signing key 2022-11-30 05:30:59 -03:00
Mads Hartmann
a0a88cdc24 Replace GCP_ADC_FILE with a service account key 2022-11-28 09:15:57 -03:00
Aleksandar Aleksandrov
263699cf9f Use TF_WORKSPACE var to set workspaces 2022-11-25 07:54:54 -03:00
Aleksandar Aleksandrov
a271690ab8 Build less packages for preview envs 2022-11-25 06:39:54 -03:00
mustard
7c6766cfb4 [werft] add public api token service support for preview environment 2022-11-24 06:15:53 -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
2fef214976 Fix currently selected workspace doesn't exist 2022-11-22 05:58:51 -03:00
Aleksandar Aleksandrov
b6dd58593e Prompt on preview create if branch is not in remote 2022-11-22 05:47:51 -03:00
Aleksandar Aleksandrov
ca2c83e785 Pass less variables from werft to create-preview and add storage-class annotation 2022-11-21 14:08:51 -03:00
Milan Pavlik
fb29551aa8 Revert "[usage] Deploy usage by default"
This reverts commit 6c1994cd3fb3c66e3cb1da2520f24c4298c72c76.
2022-11-16 18:18:46 +02:00
Mads Hartmann
b3133651d9 Log a warninig if branch isn't pushed 2022-11-16 16:40:46 +02:00
Milan Pavlik
6c1994cd3f [usage] Deploy usage by default 2022-11-16 14:04:46 +02:00
Mads Hartmann
2ca799dda0 Fail gracefully when executed from main 2022-11-16 13:30:45 +02:00
Aleksandar Aleksandrov
444b4e82fa Don't require input for tf when running leeway dev:preview 2022-11-15 16:12:45 +02:00
Laurie T. Malau
c9496a034a [installer] Update installer to use credits config 2022-11-14 13:02:44 +02:00
Manuel Alejandro de Brito Fontes
4bdf65c209 Refactor previewctl 2022-11-12 11:37:41 +02:00