June 2022 release of Gitpod Installer
Docker image: eu.gcr.io/gitpod-core-dev/build/installer:release-2022.06.0.8
What's Changed
- [usage] Configure DB credentials and connect by @easyCZ in #10295
- [ws-daemon] Use a metric for backup waiting time instead logs by @aledbf in #10339
- [werft]: disable publish to kots on main build by @MrSimonEmms in #10345
- [dev] Add
gh
(Github CLI) to the dev image by @andrew-farries in #10314 - Use slices instead of maps for service ports to control ordering by @mads-hartmann in #10344
- [ws-daemon] Use baseserver to run its services by @csweichel in #10005
- [kots]: correctly escape params in installation configmap by @MrSimonEmms in #10354
- [dashboard] add modal_dismiss tracking event by @mustard-mh in #10132
- Fix remaining issues for simplified team plans by @jankeromnes in #10182
- [observability] Improve Workspace Success Criteria Dashboard by @atduarte in #10350
- [ws-manager] add a metric to track volume snapshot time by @jenting in #10290
- [JetBrains] Show notification when port becomes available 🔔 by @andreafalzetti in #10107
- [agent-smith] Reduce cpu and memory consumption by @Furisto in #10356
- [workspace] Cleanup unuse annotations and network policy by @iQQBot in #10149
- [content-service] Improve restoration of extended attributes by @aledbf in #10364
- [server] Start XL workspaces with internal-xl class by @csweichel in #9705
- [installer] Add flag to configure strict config parsing by @easyCZ in #10343
- Add a Stripe settings secret to server by @jankeromnes in #10308
- [registry-facade] Return content directly from IPFS by @aledbf in #10346
- getConnectorId implementation added to GitpodConnector by @OljaKli in #10304
- Properly handle the workspace list when the workspace context ref is undefined by @felladrin in #10377
- [usage] Define db.Workspace model by @easyCZ in #10293
- Preview environment CLI by @ArthurSens in #10076
- [ws-manager] Add workspace class to metrics by @csweichel in #10376
- [ws-daemon] Add backup ratelimiting timeout by @csweichel in #10384
- [content-service] enable public read on gitpod repo root folder by @sagor999 in #10229
- [changelog] updated changelog by @roboquat in #10392
- dashboard: connect via ssh devx improvement by @ghuntley in #10394
- [workspace-instance] Deprecate deployedTime field by @easyCZ in #10400
- ws-daemon: Apply the xfs limit in stages by @utam0k in #10395
- content-service: ignore the error of
user.overlay.(impure|origin)
attributes by @utam0k in #10372 - [usage] Setup controller and reconciler by @easyCZ in #10249
- [gitpod-cli] Add command 'gp ports list' by @felladrin in #10388
- [usage] Add database-waiter by @easyCZ in #10371
- [db][payment][server] Implement TeamSubscription2.excludeFromMoreResources by @jankeromnes in #10370
- [observability] Add SLI numbers to the Workspace Success Criteria Dashboard by @atduarte in #10382
- [kots]: add database to preflight checks by @MrSimonEmms in #9759
- Preview Envs on Harvester: Delete when inactive by @vulkoingim in #10379
- Refactor cmd
tasks
andports
supervisor related func by @mustard-mh in #10403 - Fix 'gateway-plugin' not being detected as a project by @felladrin in #10407
- [image-builder-bob] Introduce URL processing for non docker api urls by @princerachit in #10266
- Remove beta label from dotfiles in settings by @gtsiolis in #10398
- [gpctl] Fix parsing error when running
gpctl workspaces describe <instanceID>
by @epk in #10401 - [ws-proxy] Distinguish between WS_NOTFOUND and WS_ID_INVALID by @iQQBot in #10393
- [supervisor] improve error message around user group and uid by @sagor999 in #10413
- [changelog] updated changelog by @roboquat in #10416
- [baseserver] Stop logging healthcheck RPCs by @easyCZ in #10419
- [server] Make Stripe settings optional even when payment is enabled by @jankeromnes in #10424
- [bridge] Cleanup dead "probe" code (1/3) by @geropl in #10421
- Bump MinI, MySQL and RabbitMQ helm dependencies to latest version by @csweichel in #10428
- [baseserver] Stop logging healthcheck RPCs Redux by @Furisto in #10429
- [usage] Add db.Project model in golang by @easyCZ in #10368
- [bridge] Extracting updating of prebuilds into PrebuildUpdater (2/3) by @geropl in #10425
- [usage] Harden parsing of time from VarChar field by @easyCZ in #10390
- [usage] Add db.WorkspaceInstance model in golang by @easyCZ in #10367
- [ws-manager] show why pod entered completed state by @sagor999 in #10414
- [loadgen] Support workspace classes by @Furisto in #10409
- workspackit: put the workspace id into logs to trace. by @utam0k in #10420
- Revert "[baseserver] Change default metrics port to 9502 to not clash with kube-rbac-proxy" by @aledbf in #10442
- Add previewctl/gpctl autocompletion to workspace image by @ArthurSens in #10412
- Remove X-Server from Dev-Image by @meysholdt in #10438
- [goland] Update IDE image to build version 221.5787.30 by @github-actions in #10453
- Simplify configuration of KubeRBACProxyContainerWithConfig and remove collision by @aledbf in #10443
- [phpstorm] Update IDE image to build version 221.5787.33 by @github-actions in #10452
- [docker-up] Update docker compose to v2.6.0 by @aledbf in #10458
- [ws-manager] add config setting that allows to debug workspaces by @sagor999 in #10410
- [changelog] updated changelog by @roboquat in #10445
- Fix runbook URL by @meysholdt in #10423
- [docker-up] Check docker-compose download by @aledbf in #10469
- Change google project for preview DNS's by @ArthurSens in #10385
- [changelog] updated changelog by @roboquat in #10478
- Add dashboard to monitor preview environments by @ArthurSens in #10482
- [previewctl] Improve logging by @ArthurSens in #10436
- Add metrics to record backup/restore success/failure count by @jenting in #10342
- [pycharm] Update IDE image to build version 221.5787.24 by @github-actions in #10432
- [intellij] Update IDE image to build version 221.5787.30 by @github-actions in #10431
- [code] point code nightly to gp-code/release/1.68 branch by @andreafalzetti in #10489
- [server] Don't skip prebuilds if .gitpod.yml has a 'before' task but no 'init' task by @jankeromnes in #10352
- [installer] Update kube-rbac-proxy to v0.12.0 by @aledbf in #10471
- [kots] Add --use-experimental-config to installer render call by @corneliusludmann in #10441
- Update dashboard navigation by @gtsiolis in #10309
- [usage] Add component to codeowners by @easyCZ in #10494
- Always keep preview envs on db activity by @vulkoingim in #10498
- Update sigs.k8s.io/e2e-framework to v0.0.7 by @aledbf in #10475
- Update to new stable alpine version v3.16 by @aledbf in #10466
- [usage] Add db.Team model in golang by @easyCZ in #10369
- [usage] Log db with standard logger by @easyCZ in #10457
- [usage] Handle empty value varchar time, use ISO8601 by @easyCZ in #10490
- [usage] Automatically cleanup records between test DB connections by @easyCZ in #10480
- Delete preview env harvester certs by @vulkoingim in #10501
- Add installer tests for GKE and k3s by @nandajavarma in #10365
- [usage] List workspace instances by @easyCZ in #10456
- [changelog] updated changelog by @roboquat in #10492
- Update docs link in user menu by @gtsiolis in #10504
- Fix JetBrains Gateway Plugin to work on v222.2889.2 by @felladrin in #10505
- [observability] add SSH gateway overview dashboard by @iQQBot in #10335
- Add cache for ide-proxy static file by @iQQBot in #10493
- Revert "Always keep preview envs on db activity" by @vulkoingim in #10517
- Update gitpod dev image by @aledbf in #10509
- [changelog] updated changelog by @roboquat in #10511
- Allow teams to sign up for Usage-Based Billing via Stripe by @jankeromnes in #10378
- Revert "Update gitpod dev image" by @mads-hartmann in #10522
- Add workspace class to workspace instance by @atduarte in #10454
- [usage] Validate workspace instances in reconciler by @easyCZ in #10483
- [usage] Add db model for TeamMembership by @easyCZ in #10528
- Configure grpc_server histogram metrics with proper buckets by @vulkoingim in #10518
- ws-daemon: Soft limit of the xfs at first to ensure that the contents can be restored by @utam0k in #10519
- Add blobserve router under ide-proxy by @iQQBot in #10513
- [gitlab] get rid of UnhandledPromiseRejectionWarning by @AlexTugarev in #10148
- Fix hanging "Prebuild in Progress" page by @AlexTugarev in #10357
- [kots]: add storage to preflight checks by @MrSimonEmms in #9939
- Update gitpod dev image by @aledbf in #10529
- [content-service] show error if failed to download backup file by @sagor999 in #10491
- [usage] List workspaces for each workspace instance in usage period by @easyCZ in #10495
- [prebuilds] add metrics for prebuilds 10383 by @laushinka in #10435
- [usage] Simplify Workspace record creation for tests by @easyCZ in #10546
- [usage] Add listing of memberships by UserID by @easyCZ in #10547
- [changelog] updated changelog by @roboquat in #10540
- Update preview environment dashboard by @ArthurSens in #10535
- bump werft cli version in dev image by @liam-j-bennett in #10548
- [server] Introduce and use a ErrorCodes.INTERNAL_SERVER_ERROR by @jankeromnes in #10520
- [dashboard] Move inactive workspaces out of sight by @svenefftinge in #10450
- Fix registry facade not being able to start up in preview environment by @Furisto in #10556
- [usage] Attribute workspaces to a team by @easyCZ in #10534
- Minor Stripe API clean-up by @jankeromnes in #10554
- Add workspace class to workspace environment variables by @Furisto in #10562
- [ws-proxy] use ide-proxy to serve blobserve by @iQQBot in #10514
- Fix workspace integration test by @jenting in #10512
- [code]: Generate stable images for 1.68 by @andreafalzetti in #10567
- Implement Stripe portal to allow usage-based customers to manage their billing details by @jankeromnes in #10555
- [changelog] updated changelog by @roboquat in #10568
- loadgen: some improvement by @utam0k in #10575
- [usage] Generate usage report by @easyCZ in #10551
- [usage] Fix usage report overflow by @easyCZ in #10583
- [code] Generate stable images for 1.68 by @jeanp413 in #10589
- [code] Update stable to 1.68 by @andreafalzetti in #10571
- [loadgen] Wait before workspace termination by @Furisto in #10585
- [code] revert stable image to 1.67 by @andreafalzetti in #10601
- [ws-manager] change log from debug to error by @sagor999 in #10602
- Refactor 'normalizedContextURL' property from Java class 'WorkspaceContext' as Optional by @felladrin in #10596
- Use
xterm-256color
when creating terminal by @jeanp413 in #10594 - Revert "[werft]: disable publish to kots on main build" by @MrSimonEmms in #10604
- [kots]: move the openssh installation to the container image by @MrSimonEmms in #10582
- [jb] configure vmoptions for intellij backend server by @yaohui-wyh in #10175
- loadgen: fix the error handling when failed to get the ws infomation. by @utam0k in #10618
- [Installer]: configure endpoint/region of registry S3 backing by @MrSimonEmms in #10577
- [gp-cli] add command to extend workspace timeout by @mustard-mh in #10619
- Update runc to v1.1.3 by @aledbf in #10608
- Add a metric of PVC restore duration time by @jenting in #10623
- Add feedback issue template by @gtsiolis in #10593
- [usage] Round workspace runtime by @easyCZ in #10591
- [prebuilds] increment metric only with state change by @laushinka in #10621
- Add secret to preview environments by @andrew-farries in #10552
- [Gitpod CLI] New command
gp top
- Display workspace used/available resources by @andreafalzetti in #10570 - [gp-cli] Add alias for forward and await in ports by @CuriousCorrelation in #10538
- [ws-manager] Make sure volume restore time is accurate by @jenting in #10640
- Add probe metrics to preview environment by @ArthurSens in #10634
- werft/build: Rename created_vm span attribute by @ArthurSens in #10636
- [ws-manager] change workspace state tracing by @sagor999 in #10597
- When creating a new Stripe customer, also create a Usage-Based Subscription for them by @jankeromnes in #10630
- [ws-manager] Increase restore counter only if it's restoring from the Backup/VolumeSnapshot by @jenting in #10641
- [db-sync] Format test file + increase 2 test timeouts by @jankeromnes in #10657
- Mount Stripe API keys into the usage component by @andrew-farries in #10631
- Add persistent volume claim to prebuild settings by @sagor999 in #10539
- Revert "[dashboard] Move inactive workspaces out of sight" by @AlexTugarev in #10663
- volume snapshot delete and restore support by @sagor999 in #10267
- Minor fix by @jenting in #10672
- [Analytics] Remove PII from deleted Users by @jakobhero in #10654
- [changelog] updated changelog by @roboquat in #10670
- Remove deprecated function grpc.WithInsecure() by @jenting in #10673
- [prebuilds] make sure prebuild and branch commits are the same by @laushinka in #10661
- [installer] support service type
ClusterIP
for proxy by @nandajavarma in #10537 - Preview environments: Add extra external_labels to Prometheus by @ArthurSens in #10668
- Improve license API by @AlexTugarev in #10675
- Resolve prebuild updatables by @AlexTugarev in #10648
- Listen on instance updates of a running prebuild by @AlexTugarev in #10646
- [dashboard] introduce folded inactive ws section by @svenefftinge in #10676
- [ws-manager] Add team and project to logs and traces by @Furisto in #10632
- [self-hosted] Gitpod local preview install method by @Pothulapati in #10532
- [github action] Fix a bug which can cover build image by @iQQBot in #10647
- [GP CLI] Allow explicity and automated disabling of output colorization by @andreafalzetti in #10638
- [ws-proxy, ws-manager] support user upload ssh public key by @iQQBot in #10617
- [Usage-based] Attribute workspace instances to a Team on start by @jankeromnes in #10574
- [dev] Use gke-gcloud-auth-plugin for kubectl by @andrew-farries in #10687
- Update ssh gw dashboard by @akosyakov in #10693
- [usage] Lookup stripe customers for each team in a usage report by @andrew-farries in #10674
- [changelog] updated changelog by @roboquat in #10690
- [jb]: monitor low memory notifications by @akosyakov in #10558
- Add
--schedule
flag tousage run
command by @andrew-farries in #10678 - Remove critical alert GitpodWsDaemonExcessiveGC > 60s (but keep the non-critical warning for now) by @jankeromnes in #10699
- [code]: Generate stable images for 1.68.1 by @andreafalzetti in #10691
- [code] Update stable to 1.68.1 by @andreafalzetti in #10707
- [code] point code nightly to gp-code/main branch by @andreafalzetti in #10708
- [ws-manager] fix crash when restoring from volume snapshot by @sagor999 in #10711
- [changelog] updated changelog by @roboquat in #10710
- [SSH Gateway] remove private key requirement when ownerToken is provide by @iQQBot in #10704
- [jb] fix dashboard by @akosyakov in #10712
- [jb] actually fix dashboard by @akosyakov in #10714
- [billing] Create Stripe invoices for teams based on their usage by @andrew-farries in #10713
- Update platform version from 'gateway-plugin' to target JetBrains Gateway v2022.2-Nightly by @felladrin in #10592
- [gp-cli] update timeout description by @mustard-mh in #10723
- Change disk bus from scsi to virtio to gain performance by @jenting in #10721
- [preview-install] Add user-friendly output by @Pothulapati in #10695
- Revert "Change disk bus from scsi to virtio to gain performance" by @vulkoingim in #10735
- Install Rook/Ceph which supports CSI volume snapshot in preview environment by @jenting in #10718
- Update gitpod-protocol deps by @jeanp413 in #10746
- [ws-daemon] Fix quota size regex's false positives by @CuriousCorrelation in #10744
- Introduce SLI for preview environment start by @mads-hartmann in #10732
- [server] Make Stripe usage-based product price IDs configurable by @jankeromnes in #10660
- Link to Team Billing docs from dashboard by @jldec in #10743
- [werft] Delete unused file .werft/jobs/build/helm/values.payment.yaml by @jankeromnes in #10761
- Add text panel with link to Preview Start SLO by @mads-hartmann in #10755
- Opt-in preview environments by @vulkoingim in #10681
- [ws-daemon] Fix cgroups v2 I/O limiting and add support for Systemd cgroup by @aledbf in #10669
- [content-service-api] add bool to snapshot intializer struct by @sagor999 in #10733
- previewctl: Wrap shell script that list VMs by @ArthurSens in #10771
- call prestophook.sh from ring1 directly by @sagor999 in #10776
- [bridge] Add /debug/version endpoint by @geropl in #10426
- [usage] Batch lookup Workspaces to fix too many placeholders error by @easyCZ in #10758
- Git-ignore all files from the '.idea' folder, except gradle.xml by @felladrin in #10599
- [usage] Fix querying workspace instances to use startedTime existence to filter by @easyCZ in #10778
- update env to use werft grpc by @liam-j-bennett in #10730
- [kots]: allow multiple docker pull secrets by @MrSimonEmms in #10685
- [usage] Add configmap for usage component to control run frequency by @andrew-farries in #10729
- [usage] Batch list workspace instances in range by @easyCZ in #10789
- [supervisor] improve ssh connected behaviors by @mustard-mh in #10736
- [installer]: set minio azure image to last supported version by @MrSimonEmms in #10717
- previewctl: Add SSH command by @ArthurSens in #10774
- [changelog] updated changelog by @roboquat in #10780
- [supervisor] Make compatible with run-gp by @csweichel in #10796
- Add self-hosted upgrade tests by @nandajavarma in #10485
- [image-builder] Improve 'registry not allowed' log message by @corneliusludmann in #10793
- Add SLIs to preview-environment dashboard by @ArthurSens in #10800
- [changelog] updated changelog by @roboquat in #10810
- [usage] Do not run tests with SQL debug mode by @easyCZ in #10815
- previews: Remote-write metrics to core-dev by @ArthurSens in #10737
- [usage] Fix flaky test for ListWorkspacesByID by @easyCZ in #10818
- [usage] Temporarily remove flaky test by @easyCZ in #10821
- Add tests for external dependencies in GCP by @nandajavarma in #10775
- [installation-telemetry] Add licenseType to sent telemetry by @adrienthebo in #10688
- [intellij] Update IDE image to build version 221.5921.22 by @github-actions in #10816
- Allow PRs for JetBrains IDEs updates to be created with a Preview Environment by @felladrin in #10830
- [code] build stable image for 1.68.2 with port tunnel broken fix by @mustard-mh in #10837
- [code] make 1.68.2 stable by @andreafalzetti in #10838
- observability: Add GitpodWorkspaceTooLongTerminating alert. by @utam0k in #10812
- [server] Increase startWorkspace rate limit 1 → 3 starts per user per 10 seconds by @jankeromnes in #10834
- [Usage-based] Update credit prices, calculation, and Stripe product IDs by @jankeromnes in #10801
- [dashboard] Fix checkboxes on project settings page by @andrew-farries in #10814
- [Self-Hosted] Changed preflight memory check error amount and reworded by @lucasvaltl in #10865
- observability: Ring the phone only when a data loss occurs with GitpodWsDaemonCrashLooping by @utam0k in #10855
- Trigger to bootstrap a preview environment in workspace integration test job by @jenting in #10846
- Assume that preview envs without
mysql-0
are not active. by @meysholdt in #10877 - Only spin up VMs if a preview is required by @ArthurSens in #10878
- [supervisor] enabled SSH debug log by default by @mustard-mh in #10879
- [kots]: configure a log collector for ephemeral containers by @MrSimonEmms in #10679
- [ws-manager] Watch VolumeSnapshot object and notify to the Pod finalizer loop by @jenting in #10820
- [installer] add
customCACert
volume tows-proxy
by @Pothulapati in #10850 - Clean up after an error happens by @meysholdt in #10884
- [changelog] updated changelog by @roboquat in #10888
- [installer] Move blobserve out workspace clusters by @aledbf in #10829
- Fix concurrent token renewal issues by @AlexTugarev in #10794
- [db] fix adminGetWorkspaces/findAllWorkspaceAndInstances by @AlexTugarev in #10825
- Refactor workspace instance
attributedTeamId
to an explicit, not-team-specificusageAttributionId
by @jankeromnes in #10868 - Allow teams to cancel and renew their usage-based subscription in Stripe by @jankeromnes in #10890
- [server] fix linting issue by @svenefftinge in #10894
- [experiments] Configure ConfigCat SDK through installer by @easyCZ in #10819
- [experiments] Add configcat key for preview-envs by @easyCZ in #10891
- [bridge] Refactor Bridge.controlInstances and add tracing (4/5) by @geropl in #10727
- [installer]: add customization functions to components by @MrSimonEmms in #10857
- Disable 5 second delay before returning feature flag value by @jankeromnes in #10897
- [bridge] Add log.error in case we are about to override a previous "failed" condition by @geropl in #10900
- [server] Return raw duration from
getWorkspaceTimeout
by @andrew-farries in #10896 - [installer]: add customization function to ws-manager deployment by @MrSimonEmms in #10907
- [ws-manager] Add volume snapshot events to workspace pod event by @jenting in #10889
- Add
gp timeout show
command by @andrew-farries in #10782 - [supervisor] Remove noisy log and refactor error handling by @aledbf in #10885
- Add PVC support to prebuilds by @sagor999 in #10689
- installation-telemetry: add customer ID by @adrienthebo in #10629
- [jb] enable vmoptions config in .gitpod.yml by @yaohui-wyh in #10768
- [changelog] updated changelog by @roboquat in #10915
- [usage] Make billing optional in the usage component by @andrew-farries in #10754
- When using the Latest Release of JetBrains IDEs, if the workspace has tasks defined on .gitpod.yml, the IDE will start with one terminal opened for each task by @felladrin in #10595
- [experiments] Add abstraction for configcat to work in self-hosted by @easyCZ in #10807
- [dashboard] Correctly show loading state when subscribing a team to usage-based billing by @jankeromnes in #10658
- [dashboard] Fix displaying of snapshot contexts on /workspaces by @geropl in #10909
- [usage] Use stripe clients rather than a singleton in the usage controller by @andrew-farries in #10854
- Update overview.json by @ArthurSens in #10914
- [installer]: implementation customization functions by @MrSimonEmms in #10906
- [db] Remove DeletedEntryGC and all references by @geropl in #10905
- [kots]: apply customization file to Installer by @MrSimonEmms in #10911
- [kots]: change to not install via Helm by @MrSimonEmms in #10933
- [licensor] Make LicensePayload.CustomerID omitEmpty by @AlexTugarev in #10957
- [installer]: allow docker-registry customization by @MrSimonEmms in #10949
- [ws-manager] enable the volume snapshot controller when the VolumeSnapshot CRD exists by @jenting in #10955
New Contributors
- @OljaKli made their first contribution in #10304
- @epk made their first contribution in #10401
- @CuriousCorrelation made their first contribution in #10538
Full Changelog: 2022.05.2...2022.06.0-rc1