Mads Hartmann
4ff9f6f796
Move previewctl install-context to leeway run dev:preview
...
`leeway run dev/preview:create-preview` is used in Werft where the
contexts are installed separately, so moving it to `dev:preview` is
better for now.
2022-11-09 11:08:38 +01:00
Mads Hartmann
f0a23ac5f3
Introduce leeway run dev:preview
2022-11-09 09:47:39 +01:00
Milan Pavlik
2926d142ed
[public-api] Make publiic api package match path
2022-11-09 09:42: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
Victor Nogueira
6dfd3f7003
Upgrade Gradle Wrapper to v7.5.1 in all components
...
The process of upgrading Gradle Wrapper is described here: https://docs.gradle.org/7.5.1/userguide/gradle_wrapper.html#sec:upgrading_wrapper
2022-11-08 10:18:38 +01:00
Thomas Schubart
ec73a64028
[loadgen] Move workspace stress repository
2022-11-04 17:51:09 +01:00
Victor Nogueira
6892bdf764
Update Gradle to the same version used in other components (v7.3.1)
2022-11-04 15:36:09 +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
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
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
JenTing Hsiao
0459b5be87
kubecdl: filter the instance-type = control-plane
...
Add one more criteria to filter the control plane nodes only
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-11-02 14:16:07 +01:00
JenTing Hsiao
546df5c419
kubecdl: use label filter to find the exact cluster
...
According to https://cloud.google.com/sdk/gcloud/reference/topic/filters#Operator-Terms
The operators `=` and `:` are deprecated.
If we want to test equality, we should use `key <= value AND key >= value`.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-11-02 11:35:06 +01:00
Wouter Verlaek
bf8abeb841
[loadgen] Allow parallel runs
2022-11-02 01:57:06 +01:00
Aleksandar
740ca0998d
[preview] Remove unnecessary dns ( #14290 )
...
* [preview] Remove unnecessary dns
* [preview] Remove unnecessary dns
2022-10-31 16:19:02 +01:00
Aleksandar Aleksandrov
cc61e54c2d
[preview] configure cert-issuer
2022-10-31 10:05:05 +01:00
Mads Hartmann
30fd0a9b42
Use dev/preview:create-preview in Werft
2022-10-26 12:04:40 +02: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
Aleksandar Aleksandrov
63725853ba
Pin harvester tf provider version
2022-10-25 11:55:39 +02:00
Aleksandar Aleksandrov
3393f87cd0
Fix previewctl get-name and update image
2022-10-25 10:47:39 +02:00
Aleksandar Aleksandrov
36e811eafc
previewctl get-credentials
2022-10-24 15:09:39 +02:00
Mads Hartmann
91d2777f18
Initial prototype
...
Fails with error
│ Error: the server could not find the requested resource (post keypairs.harvesterhci.io)
│
│ with harvester_ssh_key.harvester_ssh_key,
│ on vm.tf line 59, in resource "harvester_ssh_key" "harvester_ssh_key":
│ 59: resource "harvester_ssh_key" "harvester_ssh_key" {
2022-10-24 15:09:39 +02:00
Aleksandar Aleksandrov
b34bc3feef
┳━┳ ヽ(ಠل͜ಠ)ノ
2022-10-24 13:25:38 +02:00
Aleksandar Aleksandrov
486a875198
use previewctl get-creds
2022-10-24 13:25:38 +02:00
Aleksandar Aleksandrov
dbdecc38cb
Fix previewctl SA, rebuild and update docker img
2022-10-24 11:18:38 +02:00
mustard
9490c15320
[preview] fix certification error and dns issue
2022-10-23 15:51:38 +02:00
Andrew Farries
abd327464b
Install fish shell into dev environment
...
The version installed in the base image is several minor versions behind
and lacks some features.
2022-10-22 00:40:36 +02:00
Wouter Verlaek
098036ad49
fix(loadgen): Lock workspace ID collection to prevent race
2022-10-21 16:02:36 +02:00
Aleksandar Aleksandrov
d8f6138551
Refactor previewctl get-name
2022-10-21 12:53:36 +02:00
Manuel Alejandro de Brito Fontes
077ee2721c
Remove node labeler waits
2022-10-20 20:07:35 +02:00
Pudong Zheng
8f336d5eb3
[jetbrains-test] using linux github runner
2022-10-19 21:14:35 +02:00
Milan Pavlik
2d888a5ded
[public-api] Move API definitions to experimental package
2022-10-19 17:23:34 +02:00
Aleksandar Aleksandrov
4c59bdae5d
previewctl get-credentials
2022-10-19 14:38:34 +02:00
mustard
cea86dc401
Update gpctl public api to align with proto
2022-10-19 09:42:34 +02:00
Andrew Farries
890ebc34a4
Show app cluster in gpctl clusters list output
2022-10-19 09:34:34 +02:00
Moritz Eysholdt
a8f6a7a0f9
Activate ZeroSS Certificate Issuer for core-dev
2022-10-18 15:49:33 +02:00
Andrew Farries
19d2482aee
Run sudo bash when installing kots.
...
The kots install script now requires this.
2022-10-18 08:45:33 +02:00
Andrew Farries
35b2aaacd7
Update base image
2022-10-18 08:45:33 +02:00
Aleksandar Aleksandrov
8a292423a0
Read default value for storage class
2022-10-12 18:17:29 +02:00
JenTing Hsiao
c67e6091f6
loadgen: support custom workspace timeout
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-10-12 13:17:27 +02:00
Milan Pavlik
0a476c52e8
[public-api] U Refactor to use connect handlers, route to HTTP server
2022-10-12 12:19:27 +02:00
Aleksandar Aleksandrov
a6e5622035
Fix cert recreation
2022-10-12 11:43:27 +02:00
Aleksandar Aleksandrov
4d75b29b61
Create preview env dns records using tf
2022-10-12 10:37:27 +02:00
Aleksandar Aleksandrov
6e2cc4b725
Create preview env cert using TF
2022-10-12 09:31:27 +02:00
Mads Hartmann
8dc8bea32b
Add leeway dev/preview:* tasks
2022-10-11 16:14:27 +02:00
Aleksandar Aleksandrov
65e99997bc
Add a lock timeout for plan/apply and general timeout on apply
2022-10-11 11:49:26 +02:00
Aleksandar Aleksandrov
a24507158a
Preview-vm create and delete uses the new TF flow
2022-10-10 12:45:25 +02:00
Aleksandar Aleksandrov
a9796bbdd5
Update tf version in docker image
2022-10-06 09:33:21 +02:00