54 Commits

Author SHA1 Message Date
Moritz Eysholdt
a77bf7adbd Preview Env Bugfix 2023-01-20 10:25:28 +01:00
Aleksandar Aleksandrov
722f8078b7 Option to choose between infra provider when running leeway run dev:preview 2023-01-20 09:16:27 +01:00
Gero Posmyk-Leinemann
fbe474d498 [proxy] Add installation level flag FRONTEND_DEV_ENABLED (default: false) 2023-01-19 10:45:27 +01:00
Milan Pavlik
a7da50debc Remove openfga from preview config 2023-01-18 15:52:25 +01:00
Aleksandar Aleksandrov
412d13c568 preview module 2023-01-18 12:23:26 +01:00
Alex Tugarev
f5f1f3591b [werft] add with-dedicated-emulation switch 2023-01-17 14:16:25 +01:00
Pudong Zheng
16d59a0b81 [preview] add missing workspace class template 2023-01-11 17:54:50 +01:00
Milan Pavlik
2abbd88908 [openfga] Deploy when experimental.webapp.openfga.enabled is true 2023-01-11 13:22:50 +01:00
Aleksandar Aleksandrov
ca94fa5f6c use older version for fluent-bit 2022-12-30 16:34:39 +01:00
Alex Tugarev
7136c68be3 [iam] adding preview-env config 2022-12-22 12:40:31 -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
ArthurSens
3e93373784 Remove Kubescape from preview environments
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-12-08 16:52:18 -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
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
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
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
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
78d66165ee Remove --dont-retag 2022-11-12 11:37:41 +02:00
Mads Hartmann
1358951f07 Building locally will produce a unique version every time 2022-11-11 15:30:41 +02:00
Mads Hartmann
7dc37f1bdb Set default namespace to monitoring-satellite 2022-11-10 14:54:40 +02:00
Mads Hartmann
2fbb9ed1a1 Use local paths for gitpod-io imports 2022-11-10 14:54:40 +02:00
Mads Hartmann
032d1efdfd Perform all operations in the temporary directory
Apply files one at a time to help debugging
2022-11-10 14:54:40 +02:00
Mads Hartmann
a467f1ae29 Introduce dev/preview:deploy-monitoring-satellite 2022-11-10 14:54:40 +02:00
Milan Pavlik
cc233e41e6 [installer] Deploy Public API without experimental config 2022-11-09 15:30:39 +01:00
Pavel Tumik
5f4c07de30 fix preview deploy with prebuildPVC 2022-11-09 14:58:39 +01:00
Tarun Pothulapati
0da12047f6 [werft] Update previews to use analytics token from secret
Fixes https://github.com/gitpod-io/gitpod/issues/14509

Currently, Analytics in preview environments are broken through
werft as we need to pass the write key through attributes which
means we would leak it.

This PR fixes that by instead updating weft to read them from
a Kubernetes secret (This is already added into the cluster. See
https://github.com/gitpod-io/ops/pull/6614). This means users
now enable analytics by using setting `analytics: segment` and
we read `segment-staging-write-key` to make it work. This secret
is set to the staging segment source right now.

Signed-off-by: Tarun Pothulapati <tarun@gitpod.io>
2022-11-08 14:38:38 +01:00
Andrew Farries
5d7fdd6fe0 Add support for with-slow-database annotation
If this annotation is set on the job, install toxiproxy into the preview
environment.
2022-11-04 11:30:08 +01:00
Mads Hartmann
043ece6f7e Deal connection issues gracefully 2022-11-03 12:32:08 +01:00
Mads Hartmann
efd028629d Move logic related to deploying Gitpod to preview environments to dev/preview:deploy-gitpod 2022-11-03 12:32:08 +01:00
Mads Hartmann
c87781b6d2 Only delete specific folders 2022-10-25 14:39:39 +02:00
Mads Hartmann
7bc5b56cdf Clean git repository before performing build
Add additional build args
2022-10-25 14:39:39 +02:00