Skip to content

[dashboard] Fix Prebuilds item truncate #10472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
906 commits
Select commit Hold shift + click to select a range
54e14f1
Record webhook events
AlexTugarev Jul 15, 2022
a031b85
[ws-manager-bridge] Remove HasMoreResources admission constraint
csweichel Jul 14, 2022
203b0dc
[ws-manager-api] Clean up "ExtendedUser"
csweichel Jul 14, 2022
200b9b4
Simple UI for Prebuild Events (sneak preview)
AlexTugarev Jul 15, 2022
f17bbb0
Add missing permission to watch node object
jenting Jul 15, 2022
413988f
Let the usage reconciler take a pricer
Jul 15, 2022
f7af373
Extract `CreditsUsedByInstance` method
Jul 15, 2022
ced6599
Populate credits field for usage records
Jul 15, 2022
68b56a6
Update tests with new field
Jul 15, 2022
fe076b2
[content-initializer] fix log
sagor999 Jul 15, 2022
4602a8d
[content-service] Switch to http/1.1 for gitlab.com repositories
aledbf Jul 15, 2022
03dfffe
[ws-manager] do not overwrite failed state
sagor999 Jul 15, 2022
e7eada7
[changelog] updated changelog
roboquat Jul 16, 2022
04aa024
[alerts] change alert for adding new nodes rapidly to only count if n…
iQQBot Jul 17, 2022
2255659
Install evans into base image
Jul 15, 2022
0179ad3
Remove leftover files and tar archives
Jun 5, 2022
83a2adc
Update image references
Jul 15, 2022
c1603ca
Revert "[ws-manager] do not overwrite failed state"
iQQBot Jul 18, 2022
7a081da
Test if auth host is reachable
AlexTugarev Jul 15, 2022
ff31f34
[server] Fix tracing and logging when aborting prebuilds on newer push
geropl Jul 18, 2022
a511cea
Fix cert exec commands to correctly return debug
Jul 18, 2022
529ddea
[usage] Implement GetBilledUsage rpc
Jul 18, 2022
2914131
Replace metrics that are sent to prod
ArthurSens Jul 15, 2022
fc07d4c
[usage] Store user, project, workspace, type & class
easyCZ Jul 18, 2022
2045cec
Use floats to calculate instance credit usage
Jul 18, 2022
6eb8b84
Update Preview env's dashboard with new metrics
ArthurSens Jul 18, 2022
83efa68
Add event to the workspace pod related to the restoration of the PVC
jenting Jul 14, 2022
ad52ba4
Use the eventRecorder from manager object
jenting Jul 14, 2022
4a587ef
Use correct log variable to include OWI information in each log entry
jenting Jul 18, 2022
91c717b
Update components/ws-manager/pkg/manager/manager.go
sagor999 Jul 18, 2022
5aad14a
Update components/ws-manager/pkg/manager/manager.go
sagor999 Jul 18, 2022
7c3830b
Remove no longer used annotation `gitpod.io/containerIsGone`
jenting Jul 18, 2022
5e87a04
Use switch case for better code reading
jenting Jul 18, 2022
87e6be1
[ws-daemon] Add support for limiting the number of processes in a wor…
aledbf Jul 18, 2022
8cdf14b
Add mising db-sync config for d_b_webhook_event
AlexTugarev Jul 19, 2022
7ee15ca
[kots]: delete channel on branch delete
Jul 12, 2022
2c2793b
Move migration file to correct dir
Jul 19, 2022
6d14149
[usage] Extend go model with extra fields for WorkspaceInstanceUsage
easyCZ Jul 19, 2022
479caa5
[usage] Return extra fields for ListBilledUsage
easyCZ Jul 18, 2022
0ad587f
[dashboard] BlockedRepo UI
geropl Jul 18, 2022
3680cd2
[changelog] updated changelog
roboquat Jul 19, 2022
3b5d64f
[code] Generate stable image for 1.69.2
Jul 19, 2022
67474bb
[installer]: add in ability to post-process
Jul 14, 2022
6968f15
[installer]: move the post-processing openvsx statefulset to installer
Jul 16, 2022
96b4f1d
[dashboard] Update design for class settings
Furisto Jul 17, 2022
6a7dfae
[usage] Store workspace, project, type & class
easyCZ Jul 19, 2022
11d241a
[common-go] Add config cat client
Furisto Jul 18, 2022
0d7ee07
[ssh-gateway] Reject ssh connection when workspace not found
iQQBot Jul 18, 2022
1bf1c2f
[ssh-gateway] cleanup code
iQQBot Jul 18, 2022
c21ef15
[code] Update stable to 1.69.2
Jul 19, 2022
7040cf2
[configcat] Upgrade JS SDKs
easyCZ Jul 19, 2022
4923eee
Simplify configuration of git setting safe.directory
aledbf Jul 15, 2022
17a4b49
[integration-test] make ide integration-test work again
iQQBot Jul 19, 2022
dcc674b
Add dashboard for swap utilization per cluster and node
aledbf Jul 19, 2022
b033242
[changelog] updated changelog
roboquat Jul 20, 2022
00ef7ff
[db][protocol] Implement a CostCenter entity to attribute workspace u…
AlexTugarev Jul 20, 2022
2978f27
[usage] Make endTime non-mandatory for billed session
Jul 20, 2022
586da57
[local-preview] honour `DO_NOT_TRACK` env variable
Pothulapati Jul 18, 2022
cea07df
Use variable rather than literal
Jul 20, 2022
1aff524
[kots]: add preflight checks for IDE/meta nodes
Jul 13, 2022
66addfb
[server, db] Fix BlockedRepository.delete
geropl Jul 19, 2022
8d64c89
[server] Remove blockedRepositories config
geropl Jul 19, 2022
59b4331
[dashboard] Remove blockedRepositories feature flag
geropl Jul 19, 2022
145c085
[dashboard] Address review feedback
geropl Jul 19, 2022
18cf0e4
[usage] CreateUsageRecords updates fields when they differ
easyCZ Jul 20, 2022
76cd232
[usage] Remove dummy data from server
easyCZ Jul 20, 2022
7c71150
[protocol, et al] Extract gRPC ClientCallMetrics into protocol
geropl Jul 14, 2022
2f028cc
[usage] Round credit values in UI
easyCZ Jul 20, 2022
749299b
[usage] Add proto definitions for timerange in list billed usage
easyCZ Jul 20, 2022
f5a83e9
[codeowners] Make WebApp owners of components/usage-api
easyCZ Jul 20, 2022
72784e3
[usage] Ensure billed usage results are ordered
easyCZ Jul 20, 2022
c732532
Add Summary row to Gitpod overview dashboard
aledbf Jul 20, 2022
5afd702
[ws-manager] fix not handling err in initializeWorkspaceContent
sagor999 Jul 21, 2022
74777f8
[ws-manager] when connecting to ws-daemon, ensure pod is running
sagor999 Jul 21, 2022
20c5e2c
Change blobserve CODEOWNERS to team IDE
mustard-mh Jul 21, 2022
60fbab2
[installer] Configure default workspace class
Furisto Jul 12, 2022
eadc35c
[server] Add debug script
Furisto Jul 12, 2022
c719081
[gitpod-db] Add class column to workspace table
Furisto Jul 12, 2022
a7f23b5
[server] Set workspace class based on user preference
Furisto Jul 12, 2022
427d1df
[server] Ensure old workspaces can be started
Furisto Jul 12, 2022
7b376c3
Incorporate review feedback
Furisto Jul 15, 2022
314f281
[server] Use WorkspaceClassesConfig
geropl Jul 19, 2022
24e572e
[local-preview] Remove `cert-manager` dependency
Pothulapati Jul 13, 2022
351958d
Support VSCodium for Settings Sync
filiptronicek Jul 14, 2022
10ad1ba
[changelog] updated changelog
roboquat Jul 21, 2022
b9f0b2b
pagination
Jul 19, 2022
171e00b
Move usageAttributionId
AlexTugarev Jul 21, 2022
d97d64e
[intellij] Update IDE image to build version 221.6008.13
roboquat Jul 21, 2022
c795b53
Add Spending Limit to Billing page
AlexTugarev Jul 21, 2022
dccbe72
Fix team reviews in Jetbrains auto updates
filiptronicek Jul 21, 2022
3a71c4a
[installer]: update jetstack/cert-manager 1.4 to 1.5
Jul 21, 2022
5588efb
[installer]: set secretTemplate for certs
Jul 21, 2022
4b83821
Fix persistence of usageAttributionId
AlexTugarev Jul 21, 2022
8a87cb6
update yarn.lock
AlexTugarev Jul 21, 2022
75f2abd
[goland] Update IDE image to build version 221.6008.15
roboquat Jul 21, 2022
abd5e6b
[installer] Disable integration tests during upgrade tests
nandajavarma Jul 21, 2022
0a62335
Refactor ws-daemon and registry-facade postStart hook
aledbf Jul 21, 2022
1898925
Remove the duplicated error message
jenting Jul 15, 2022
276face
Adjust the Workspace Start URL in JetBrains Gateway workspaces list
felladrin Jul 21, 2022
c744562
[server] GH: Send 401 with message on failed webhook
geropl Jul 21, 2022
97f8baa
[usage] ListUsage filters by time range
easyCZ Jul 20, 2022
9bbdab5
View without data or access
Jul 22, 2022
ee99548
Add Usage proto file
Jul 19, 2022
5b41d58
Run ./generate.sh
Jul 19, 2022
9f2353a
Add usagereport service
Jul 19, 2022
1baf409
Uppercase log message
Jul 21, 2022
591aca0
Don't take bucket name as a request parameter
Jul 21, 2022
4031a9a
Add a test for the UsageReportService
Jul 21, 2022
07b5ba0
Remove check for NotFound error
Jul 21, 2022
05acdfe
[usage] ListBilledUsage allows to specify ordering
easyCZ Jul 22, 2022
82a971a
Refactor Manager StartWorkspace
aledbf Jul 21, 2022
d347fe4
Add "spending limit is reached" notification
AlexTugarev Jul 22, 2022
4582016
Show app-level notifications on dashboard
AlexTugarev Jul 22, 2022
5ed0366
[usage] By default sort results descending
easyCZ Jul 22, 2022
c0a1a82
add a fail into the certificate issue function
Jul 22, 2022
ac5ff2a
Add a delete cert into the loop
Jul 22, 2022
934ed28
Remove config for cpu bucket limiting
Furisto Jul 22, 2022
b9390cc
[ws-manager] Only build snapshots of initialized/ready workspaces
aledbf Jul 20, 2022
26a1813
[terraform] update the disk size in eks module
nandajavarma Jul 21, 2022
ce2d8a8
Fix missing arguments
jenting Jul 22, 2022
c59e45c
Send event to workspace pod only when pod still exists
jenting Jul 22, 2022
9e617aa
Do not try to mark workspace pod if the pod does not exists
jenting Jul 22, 2022
fbd1c1a
Better wording
jenting Jul 22, 2022
54beb15
log warn if error happens and is not found error
jenting Jul 22, 2022
995eff8
[usage] Fix usage query
easyCZ Jul 22, 2022
a158838
[server] Never set User.usageAttribution automatically
geropl Jul 22, 2022
c98a097
[agent-smith] Add details from the workspace that triggered the block…
aledbf Jul 22, 2022
359a3e7
[installer] registry-facade: Fix render bug
geropl Jul 23, 2022
e8c2edb
Refactor configuration of localhost address, metric and debug ports
aledbf Jul 22, 2022
5d2efea
Set usage schedule to 1m in preview
Jul 22, 2022
8d66c54
Add build deps to BUILD.yaml
Jul 20, 2022
c91e0df
Add pkg/contentservice package
Jul 20, 2022
3da76d5
Create contentservice and pass to it to reconciler
Jul 20, 2022
cc2cfec
Make installer write content-service URL
Jul 20, 2022
1585ce5
Obtain and log signed upload URL
Jul 21, 2022
6c41f2f
Rename ContentServiceUrl to ContentServiceAddress
Jul 22, 2022
ec0dc46
Use net.JoinHostPort instead of Sprintf
Jul 22, 2022
93dc8c9
Add our Extension control manifest to the IDE proxy
filiptronicek Jul 13, 2022
c7476e7
[changelog] updated changelog
roboquat Jul 24, 2022
a9a8d53
Update docker compose to v2.7.0
aledbf Jul 25, 2022
21f9a9f
[installer] Sync alpine version
aledbf Jul 23, 2022
5551b6a
Add PageWithSettingsSubMenu component
Jul 25, 2022
07f9486
Use PageWithSettingsSubMenu component
Jul 25, 2022
43b2624
[usage] Implement ordering
easyCZ Jul 22, 2022
ad3e114
[usage] Allow marshalling of VarCharTime to JSON
easyCZ Jul 25, 2022
d726676
Move usage based pricing feat. flag into context
Jul 25, 2022
7e70623
Move FeatureFlagContextProvider lower in tree
Jul 25, 2022
2f264bd
Extend server args with time-filtering
Jul 24, 2022
4303773
[usage] Make workspace class non-mandatory
easyCZ Jul 25, 2022
5714ce7
Remove showUsageBasedUI from PaymentContext
Jul 25, 2022
95c3b0f
[pycharm] Update IDE image to build version 221.6008.17
roboquat Jul 25, 2022
53e1de1
[phpstorm] Update IDE image to build version 221.6008.16
roboquat Jul 25, 2022
049e45b
[usage] Fix conversion of from and to pb.Timestamp
easyCZ Jul 25, 2022
17a4f52
Update preview env image, enabling cgroupv2
vulkoingim Jul 21, 2022
fdd06da
Add UploadFile method to contentservice client
Jul 20, 2022
edbfbc7
Change UploadFile to UploadUsageReport
Jul 25, 2022
630689e
[config-inferrer] Use 'pnpm' package manager when there is a pnpm-loc…
jankeromnes Jun 17, 2022
0291f73
[config-inferrer] Add tests for npm and pnpm Node.js variants
jankeromnes Jul 25, 2022
329ab5d
[server] Add endpoint for retrieving workspace classes
Furisto Jul 22, 2022
770aba0
[dashboard] Get classes from server
Furisto Jul 22, 2022
2003955
[installer] Extend workspace class info
Furisto Jul 22, 2022
4d9ef66
[dashboard] Update service mocks
Furisto Jul 22, 2022
bb26738
[dashboard] Select default class if nothing is selected
Furisto Jul 25, 2022
2fd8b41
Retry ws-daemon if not found within 1 hour (every 5 seconds)
jenting Jul 22, 2022
61b27e3
docker-up: Update dependencies.
Jul 20, 2022
264531e
docker-up: Enable rootless mode only in cgroup v1
Jul 20, 2022
e7f4305
[changelog] updated changelog
roboquat Jul 26, 2022
07bb55c
[usage] Add grafana dashboard
easyCZ Jul 25, 2022
5be2e8e
[server] Use workspace classes for pvc workspaces
Furisto Jul 21, 2022
c1e3391
Use ceph v17.2.1 instead of latest v17
jenting Jul 26, 2022
14ff7c6
Improve Summary dashboard row
aledbf Jul 25, 2022
a8e0a51
Move workspace classes feature flag into context
Jul 25, 2022
fd9c394
Delete CONTRIBUTING.md
meysholdt Jul 26, 2022
2b0aa9a
Replace workspace search alert
gtsiolis Jul 22, 2022
025a5b3
Fix project settings page
Jul 26, 2022
a71d5c4
[usage] Remove pricer dependency from billing controller
easyCZ Jul 26, 2022
fee38b0
[usage] Add BillingService with UpdateInvoices RPC
easyCZ Jul 26, 2022
5fc3e9b
fix: new project widget broken if 'null' item(s) received from octokit
szab100 Jul 25, 2022
b51dbc9
Route GitpodWorkspaceStuckOnStarting to #t_workspace_alerts
ArthurSens Jul 26, 2022
11e424d
Add dashboard for ephemeral storage
aledbf Jul 23, 2022
df869f4
Add dashboard for node problem detector
aledbf Jul 26, 2022
d5e4e4b
[ws-daemon] Fix wait until workspace is stop
aledbf Jul 27, 2022
757beed
[ws-manager] Refactor connectToWorkspaceDaemon
aledbf Jul 26, 2022
ea4bdff
Fix tests
aledbf Jul 26, 2022
be8fbc4
[werft] support large vm
iQQBot Jul 26, 2022
24aec93
[changelog] updated changelog
roboquat Jul 27, 2022
081ed96
Filter grpc health check from tracing
aledbf Jul 27, 2022
c6f64bb
[ws-manager] Improve tracing logs
aledbf Jul 27, 2022
8d6670a
[usage] stripe.UpdateUsage uses context
easyCZ Jul 26, 2022
8988005
[usage] Fix BilledSession credits precision
easyCZ Jul 26, 2022
2945893
[installer] move workspaceImage out of experimental config
nandajavarma Jul 20, 2022
14debc0
[usage] Implement BillingService
easyCZ Jul 26, 2022
d39963e
Allow selection of billing months
Jul 25, 2022
4a383f5
[installer]: remove todo
Jul 27, 2022
81379bb
[usage] Add CollectUsage RPC
easyCZ Jul 27, 2022
177a04d
[usage] Rename CollectUsage to ReconcileUsage
easyCZ Jul 27, 2022
f8f7f45
[intellij] Update IDE image to build version 222.3345.118
felladrin Jul 27, 2022
3e679a1
[server] make less useless calls to SCM provider
svenefftinge Jul 26, 2022
5f84171
Move pvc feature flag into context
Jul 26, 2022
da31963
Refactor: Fetch by iterating over flags
Jul 27, 2022
ed44440
add spinner
Jul 27, 2022
0b47423
[kots]: put the "run" collectors into the active namespace
Jul 27, 2022
40ae8e2
Check the pod label to determine the PVC feature flag is set
jenting Jul 27, 2022
e985ad7
[billing] GetLatestInvoice RPC protos
easyCZ Jul 27, 2022
63307c5
[ws-manager] fix incorrect handling of failure state for workspaces
sagor999 Jul 19, 2022
f39643b
[ws-manager] add metrics for unintentional workspace stop
sagor999 Jul 27, 2022
e9bb1f8
previewctl: install-context honors the branch name
jenting Jul 28, 2022
dc6e305
Implement a Nightly GitHub Action that updates the Platform Version f…
felladrin Jul 26, 2022
8c4b524
add kube-rbac-proxy container to openvxs-proxy
vulkoingim Jul 27, 2022
4a2f89b
[changelog] updated changelog
roboquat Jul 28, 2022
27bc877
Update 'create-pull-request' GitHub Action to v4
felladrin Jul 28, 2022
cc42452
Update Platform Version of JetBrains Gateway Plugin to
roboquat Jul 28, 2022
310f9ae
Revert the ws-daemon max unavailable back to wsdaemonMaxAttempts
jenting Jul 28, 2022
c64d3b6
Filter grpc health check from tracing
aledbf Jul 27, 2022
f18fd12
Fix "how to test" instructions, commit message and branch name
felladrin Jul 28, 2022
39cc7bd
[pycharm] Update IDE image to build version 222.3345.131
felladrin Jul 28, 2022
2f116fe
[ws-daemon] Increase WaitForContainer timeout
aledbf Jul 28, 2022
c4531b2
Handle Pending pod due to Unschedulable reason
aledbf Jul 27, 2022
51433dc
[ws-daemon] Configure plugins log level to Debug
aledbf Jul 28, 2022
e7a7974
[installer] updating the refCache image in image-builder-mk3
nandajavarma Jul 28, 2022
30a33e8
Add label to differentiate backup/restore total/failure is PVC or GCS
jenting Jul 28, 2022
fd0ce0a
Add openvsx alert
jeanp413 Jul 28, 2022
fd05d06
[changelog] updated changelog
roboquat Jul 29, 2022
9e23bb4
[local-preview] Send telemetry for each event
Pothulapati Jul 25, 2022
b406482
[integration-test] re-enable jetbrains inte test
iQQBot Jul 26, 2022
1d4f932
[goland] Update IDE image to build version 222.3345.118
roboquat Jul 29, 2022
4197403
Add alert for OpenVSX-proxy scraping failures
ArthurSens Jul 29, 2022
aa1f7af
[code] build stable image for 1.69 with in-product changelog and port…
mustard-mh Jul 29, 2022
0d12b3d
[code] update stable code for 1.69 with in-product changelog and port…
mustard-mh Jul 29, 2022
6e32b36
Correct const variable naming. It should be a label, not an annotation
jenting Jul 29, 2022
7fa1123
Update unit test golden file
jenting Jul 29, 2022
1f8ffea
Add alert for target down
ArthurSens Jul 29, 2022
8699e74
ws-manager: go through stopping phase even if the workspace is not ready
jenting Jul 26, 2022
0c9c6e6
unit test: update golden file
jenting Jul 26, 2022
6631059
[changelog] updated changelog
roboquat Jul 30, 2022
11f1104
[docker-up] Update docker compose to v2.8.0
aledbf Jul 31, 2022
ce170d8
Hide PVC feature section when feat flag not set
Jul 27, 2022
f4a65bc
[server] add http endpoint workspacePageClose for beacon
mustard-mh Jul 29, 2022
e58eda1
Fix find authorized user for GHE prebuilds
AlexTugarev Jul 22, 2022
81aac2b
[changelog] updated changelog
roboquat Aug 1, 2022
c333080
Adding the cron for self-hosted preview cleanup
nandajavarma Jul 13, 2022
cfe21b1
add sorting
Jul 27, 2022
18dfdc9
[server] Tie protected_secrets to ConfigCag
csweichel Aug 1, 2022
9b9058f
Remove check for absense
ArthurSens Aug 1, 2022
d4913db
Fix args
Aug 1, 2022
3b79409
Delay gRPC self connection
Jul 29, 2022
f951266
Allow sorting in the UI
Aug 1, 2022
a38b7ec
[ws-daemon] Increase resources more real values
aledbf Aug 1, 2022
2d6ed8b
fix: overflow of item
flaming-codes Jun 4, 2022
f2f5be6
chore: revert headwind changes
flaming-codes Jun 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
/.github/CODEOWNERS

/components/blobserve @gitpod-io/engineering-workspace
/components/blobserve @gitpod-io/engineering-ide
/components/common-go @gitpod-io/engineering-workspace @gitpod-io/engineering-webapp
/components/content-service-api @csweichel @geropl @corneliusludmann
/components/content-service @gitpod-io/engineering-workspace
Expand All @@ -27,7 +27,7 @@
/install @gitpod-io/engineering-self-hosted
/install/installer @gitpod-io/engineering-self-hosted
/install/installer/pkg/components/agent-smith @gitpod-io/engineering-workspace
/install/installer/pkg/components/blobserve @gitpod-io/engineering-workspace
/install/installer/pkg/components/blobserve @gitpod-io/engineering-ide
/install/installer/pkg/components/components-webapp @gitpod-io/engineering-webapp
/install/installer/pkg/components/components-workspace @gitpod-io/engineering-workspace
/install/installer/pkg/components/content-service @gitpod-io/engineering-workspace
Expand All @@ -41,6 +41,7 @@
/install/installer/pkg/components/server @gitpod-io/engineering-webapp
/install/installer/pkg/components/server/ide @gitpod-io/engineering-ide
/install/installer/pkg/components/usage @gitpod-io/engineering-webapp
/install/installer/pkg/components/usage-api @gitpod-io/engineering-webapp
/install/installer/pkg/components/workspace @gitpod-io/engineering-workspace
/install/installer/pkg/components/workspace/ide @gitpod-io/engineering-ide
/install/installer/pkg/components/ws-daemon @gitpod-io/engineering-workspace
Expand All @@ -61,6 +62,8 @@
/components/service-waiter @gitpod-io/engineering-webapp
/components/supervisor-api @csweichel @akosyakov
/components/supervisor @gitpod-io/engineering-ide
/components/usage @gitpod-io/engineering-webapp
/components/usage-api @gitpod-io/engineering-webapp
/components/workspacekit @gitpod-io/engineering-workspace
/components/ws-daemon-api @aledbf @Furisto
/components/ws-daemon @gitpod-io/engineering-workspace
Expand Down
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/feedback_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Feedback Issue
description: Open a feedback issue to gather feedback, suggestions, and experiences from users.
title: "Feedback Issue: "
labels: ["feedback-issue"]
body:
- type: markdown
attributes:
value: Before raising a feedback issue, please search for [existing feedback issues](https://github.com/gitpod-io/gitpod/issues?q=is%3Aopen+is%3Aissue+label%3Afeedback-issue) to avoid creating duplicates.
- type: textarea
id: objective
attributes:
label: Objective
description: Include the objective of this issue and any relevant features
validations:
required: true
38 changes: 38 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## Description
<!-- Describe your changes in detail -->

## Related Issue(s)
<!-- List the issue(s) this PR solves -->
Fixes #

## How to test
<!-- Provide steps to test this PR -->

## Release Notes
<!--
Add entries for the CHANGELOG.md or "NONE" if there aren't any user facing changes.
Each line becomes a separate entry.
Format: [!<optional for breaking>] <description>
Example: !basic auth is no longer supported
See https://www.notion.so/gitpod/Release-Notes-513a74fdd23b4cb1b3b3aefb1d34a3e0
-->
```release-note
```

## Documentation
<!--
Does this PR require updates to the documentation at www.gitpod.io/docs?
* Yes
* 1. Please create a docs issue: https://github.com/gitpod-io/website/issues/new?labels=documentation&template=DOCS-NEW-FEATURE.yml&title=%5BDocs+-+New+Feature%5D%3A+%3Cyour+feature+name+here%3E
* 2. Paste the link to the docs issue below this comment
* No
* Are you sure? If so, nothing to do here.
-->

## Werft options:
<!--
Optional annotations to add to the werft job.

* with-preview - whether to create a preview environment for this PR
-->
- [ ] /werft with-preview
2 changes: 1 addition & 1 deletion .github/workflows/code-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Download leeway
run: cd /usr/bin && curl -fsSL https://github.com/gitpod-io/leeway/releases/download/v0.2.17/leeway_0.2.17_Linux_x86_64.tar.gz | sudo tar xz
- name: Download golangci-lint
run: cd /usr/local && curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.45.2
run: cd /usr/local && curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.46.2
- name: Download GoKart
run: cd /usr/local/bin && curl -L https://github.com/praetorian-inc/gokart/releases/download/v0.4.0/gokart_0.4.0_linux_x86_64.tar.gz | tar xzv gokart
- name: Auth Google Cloud SDK
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/configcat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on: [push]
name: Configcat code references
jobs:
scan-repo:
runs-on: ubuntu-latest
name: Scan repository for configcat code references
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Scan & upload
uses: configcat/scan-repository@v1
with:
api-user: ${{ secrets.CONFIGCAT_API_USER }}
api-pass: ${{ secrets.CONFIGCAT_API_PASS }}
config-id: 08da1258-6541-4fc7-8b61-c8b47f82f3a0
32 changes: 32 additions & 0 deletions .github/workflows/delete-kots-channel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Branch Deleted
on: delete
env:
REPLICATED_CLI_VERSION: 0.40.1
REPLICATED_API_TOKEN: ${{ secrets.REPLICATED_API_TOKEN }}
REPLICATED_APP: ${{ secrets.REPLICATED_APP }}
jobs:
delete:
if: github.event.ref_type == 'branch'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Install Replicated CLI
run: |
curl -sL https://github.com/replicatedhq/replicated/releases/download/v${{ env.REPLICATED_CLI_VERSION }}/replicated_${{ env.REPLICATED_CLI_VERSION }}_linux_amd64.tar.gz -o replicated.tar.gz
tar xf replicated.tar.gz replicated && rm replicated.tar.gz
mv replicated /usr/local/bin/replicated

- name: Delete Replicated channel
run: |
CHANNEL_ID=$(replicated channel inspect ${{ github.event.ref }} \
| grep "ID:" \
| sed "s/ID://" \
| sed "s/ //g" || true)

if [ "${CHANNEL_ID}" = "" ]; then
echo "No channel found"
exit 0
fi

# Allowed to fail if customers on channel - this will need to be manually deleted
replicated channel rm "${CHANNEL_ID}" || true
13 changes: 5 additions & 8 deletions .github/workflows/jetbrains-auto-update-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Download leeway
run: cd /usr/local/bin && curl -fsSL https://github.com/gitpod-io/leeway/releases/download/v0.2.17/leeway_0.2.17_Linux_x86_64.tar.gz | tar xz
- name: Download golangci-lint
run: cd /usr/local && curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.45.2
run: cd /usr/local && curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.46.2
- name: Download GoKart
run: cd /usr/local/bin && curl -L https://github.com/praetorian-inc/gokart/releases/download/v0.4.0/gokart_0.4.0_linux_x86_64.tar.gz | tar xzv gokart
- name: Auth Google Cloud SDK
Expand All @@ -37,19 +37,16 @@ jobs:
with:
distribution: zulu
java-version: "11"
- name: Leeway build
- name: Setup Google Cloud
uses: google-github-actions/setup-gcloud@v0
with:
project_id: ${{ secrets.projectId }}
env:
LEEWAY_REMOTE_CACHE_BUCKET: gitpod-core-leeway-cache-branch
- run: |
- name: Leeway build
run: |
gcloud auth configure-docker --quiet
export LEEWAY_WORKSPACE_ROOT=$(pwd)
data=$(curl -sSL "https://data.services.jetbrains.com/products?code=${{ inputs.productCode }}&fields=distributions%2Clink%2Cname%2Creleases&_=$(date +%s)000")
link=$(echo "$data" | jq -r '.[0].releases[0].downloads.linux.link')
cd components/ide/jetbrains/image
leeway build -Dversion=latest -DimageRepoBase=eu.gcr.io/gitpod-core-dev/build -DjetbrainsBackendQualifier=latest -D${{ inputs.productId }}DownloadUrl=$link .:${{ inputs.productId }}
leeway build -Dversion=latest -DimageRepoBase=eu.gcr.io/gitpod-core-dev/build .:${{ inputs.productId }}-latest
- name: Slack Notification
if: always()
uses: rtCamp/action-slack-notify@v2
Expand Down
129 changes: 129 additions & 0 deletions .github/workflows/jetbrains-update-plugin-platform-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
on:
workflow_call:
inputs:
pluginName:
description: Name of the plugin.
type: string
required: true
pluginId:
description: ID of the plugin in lowercase and without spaces.
type: string
required: true
xpath:
description: Xpath for the latest platform version in https://www.jetbrains.com/intellij-repository/snapshots
type: string
required: true
gradlePropertiesPath:
description: Path for the gradle.properties file of the plugin.
type: string
required: true
secrets:
slackWebhook:
required: true
jobs:
update-plugin-platform:
name: Update Platform Version from ${{ inputs.pluginName }}
runs-on: ubuntu-latest
env:
SNAPSHOTS_HTML_FILENAME: snapshots.html
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Save the snapshots page to an HTML file
run: curl -sL https://www.jetbrains.com/intellij-repository/snapshots > ${{ env.SNAPSHOTS_HTML_FILENAME }}
- name: Get Current Platform Version
id: current-version
run: |
CURRENT_VERSION=$(cat ${{ inputs.gradlePropertiesPath }} | grep platformVersion= | sed 's/platformVersion=//')
echo "::set-output name=result::$CURRENT_VERSION"
- name: Extract Major Version from Current Platform Version
id: major-version
run: |
MAJOR_VERSION=$(cut -c 1-3 <<< ${{ steps.current-version.outputs.result }})
echo "Major Version from Current Platform Version: $MAJOR_VERSION"
echo "::set-output name=result::$MAJOR_VERSION"
- name: Replace Major Version Placeholder
id: update-xpath
run: |
UPDATED_XPATH=$(echo "${{ inputs.xpath }}" | sed 's/MAJOR_VERSION_PLACEHOLDER/${{ steps.major-version.outputs.result }}/')
echo "Updated xpath: $UPDATED_XPATH"
echo "::set-output name=result::$UPDATED_XPATH"
- name: Get Latest Platform Version
uses: QwerMike/xpath-action@v1
id: latest-version
with:
filename: ${{ env.SNAPSHOTS_HTML_FILENAME }}
expression: ${{ steps.update-xpath.outputs.result }}
- run: rm ${{ env.SNAPSHOTS_HTML_FILENAME }}
- name: Print Result
run: |
echo "Current platform version: ${{ steps.current-version.outputs.result }}"
echo "Latest platform version: ${{ steps.latest-version.outputs.result }}"
- name: Update ${{ inputs.gradlePropertiesPath }}
if: ${{ steps.latest-version.outputs.result != steps.current-version.outputs.result }}
run: |
sed -i 's/platformVersion=${{ steps.current-version.outputs.result }}/platformVersion=${{ steps.latest-version.outputs.result }}/' ${{ inputs.gradlePropertiesPath }}
git diff
- name: Create Pull Request for Gateway Plugin
if: ${{ inputs.pluginId == 'gateway-plugin' && steps.latest-version.outputs.result != steps.current-version.outputs.result }}
uses: peter-evans/create-pull-request@v4
with:
title: "Update Platform Version from ${{ inputs.pluginName }}"
body: |
## Description
This PR updates the Platform Version from ${{ inputs.pluginName }} to the latest version.

## How to test
1. Ensure you have the [latest JetBrains Gateway](https://www.jetbrains.com/remote-development/gateway/) installed.
2. Download the plugin build related to this branch in [Dev Versions](https://plugins.jetbrains.com/plugin/18438-gitpod-gateway/versions/dev), and [install it on the Gateway](https://www.jetbrains.com/help/idea/managing-plugins.html#install_plugin_from_disk).
3. Create a new workspace from the Gateway (it's ok to use the pre-selected IDE and Repository) and confirm if JetBrains Client can connect to it.

## Release Notes
```release-note
NONE
```

## Werft options:
- [ ] /werft with-preview

_This PR was created automatically with GitHub Actions using [this](https://github.com/gitpod-io/gitpod/blob/main/.github/workflows/jetbrains-update-plugin-platform-template.yml) template._
commit-message: "Update Platform Version of ${{ inputs.pluginName }} to ${{ steps.latest-version.outputs.result }}"
branch: "jetbrains/${{ inputs.pluginId }}-platform-${{ steps.latest-version.outputs.result }}"
labels: "team: IDE"
team-reviewers: "engineering-ide"
- name: Create Pull Request for Backend Plugin
if: ${{ inputs.pluginId == 'backend-plugin' && steps.latest-version.outputs.result != steps.current-version.outputs.result }}
uses: peter-evans/create-pull-request@v4
with:
title: "Update Platform Version from ${{ inputs.pluginName }}"
body: |
## Description
This PR updates the Platform Version from ${{ inputs.pluginName }} to the latest version.

## How to test
1. Open the preview environment generated for this branch
2. Choose the stable version of IntelliJ IDEA as your preferred editor
3. Start a workspace using this repository: https://github.com/gitpod-io/spring-petclinic
4. Verify that the workspace starts successfully
5. Verify that the IDE opens successfully

## Release Notes
```release-note
NONE
```

## Werft options:
- [x] /werft with-preview

_This PR was created automatically with GitHub Actions using [this](https://github.com/gitpod-io/gitpod/blob/main/.github/workflows/jetbrains-update-plugin-platform-template.yml) template._
commit-message: "Update Platform Version of ${{ inputs.pluginName }} to ${{ steps.latest-version.outputs.result }}"
branch: "jetbrains/${{ inputs.pluginId }}-platform-${{ steps.latest-version.outputs.result }}"
labels: "team: IDE"
team-reviewers: "engineering-ide"
- name: Slack Notification
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.slackWebhook }}
SLACK_COLOR: ${{ job.status }}
SLACK_TITLE: ${{ inputs.productName }}
25 changes: 25 additions & 0 deletions .github/workflows/jetbrains-update-plugin-platform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: JB Plugins Platform Update
on:
workflow_dispatch:
schedule:
# At 11:00 on every day-of-week from Monday through Friday.
- cron: "0 11 * * 1-5"
jobs:
update-backend-plugin-platform:
uses: ./.github/workflows/jetbrains-update-plugin-platform-template.yml
with:
pluginName: JetBrains Backend Plugin
pluginId: backend-plugin
xpath: "(/html/body/table[preceding::h2/text()='com.jetbrains.intellij.idea'][1]/tbody/tr/td[contains(text(),'-EAP-CANDIDATE-SNAPSHOT') and starts-with(text(),'MAJOR_VERSION_PLACEHOLDER')]/text())[1]"
gradlePropertiesPath: components/ide/jetbrains/backend-plugin/gradle-latest.properties
secrets:
slackWebhook: ${{ secrets.IDE_SLACK_WEBHOOK }}
update-gateway-plugin-platform:
uses: ./.github/workflows/jetbrains-update-plugin-platform-template.yml
with:
pluginName: JetBrains Gateway Plugin
pluginId: gateway-plugin
xpath: "(/html/body/table[preceding::h2/text()='com.jetbrains.gateway'][1]/tbody/tr/td[contains(text(),'-CUSTOM-SNAPSHOT') and starts-with(text(),'MAJOR_VERSION_PLACEHOLDER') and not(contains(text(),'-NIGHTLY'))]/text())[1]"
gradlePropertiesPath: components/ide/jetbrains/gateway-plugin/gradle.properties
secrets:
slackWebhook: ${{ secrets.IDE_SLACK_WEBHOOK }}
11 changes: 9 additions & 2 deletions .github/workflows/jetbrains-updates-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
git diff
- name: Create Pull Request
if: steps.latest-release.outputs.result != steps.used-release.outputs.result
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
title: "[${{ inputs.productId }}] Update IDE image to build version ${{ steps.latest-release.outputs.version }}"
body: |
Expand All @@ -79,11 +79,18 @@ jobs:
Update ${{ inputs.productName }} IDE image to version ${{ steps.latest-release.outputs.version }}.
```

## Werft options:
<!--
Optional annotations to add to the werft job.
* with-preview - whether to create a preview environment for this PR
-->
- [x] /werft with-preview

_This PR was created automatically with GitHub Actions using [this](https://github.com/gitpod-io/gitpod/blob/main/.github/workflows/jetbrains-updates-template.yml) template_
commit-message: "[${{ inputs.productId }}] Update IDE image to build version ${{ steps.latest-release.outputs.version }}"
branch: "jetbrains/${{ inputs.productId }}-${{ steps.latest-release.outputs.version2 }}"
labels: "team: IDE"
team-reviewers: "gitpod-io/engineering-ide"
team-reviewers: "engineering-ide"
- name: Slack Notification
if: always()
uses: rtCamp/action-slack-notify@v2
Expand Down
9 changes: 6 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:me-me-image.1
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:af-install-evans-in-base-image.1
workspaceLocation: gitpod/gitpod-ws.code-workspace
checkoutLocation: gitpod
ports:
Expand Down Expand Up @@ -30,11 +30,14 @@ ports:
onOpen: ignore
# Dev Theia
- port: 13444
# Used when using port-forwarding to SSH to preview environment VMs
- port: 8022
onOpen: ignore
tasks:
- name: Install Preview Environment kube-context
command: |
(cd dev/preview/previewctl && go install .)
previewctl install-context
previewctl install-context --watch
exit
- name: Add Harvester kubeconfig
command: |
Expand All @@ -46,7 +49,7 @@ tasks:
read -r -p "Press enter to continue Java gradle task"
fi
leeway exec --package components/supervisor-api/java:lib --package components/gitpod-protocol/java:lib -- ./gradlew --build-cache build
leeway exec --package components/ide/jetbrains/backend-plugin:plugin --package components/ide/jetbrains/gateway-plugin:publish --parallel -- ./gradlew --build-cache buildPlugin
leeway exec --package components/ide/jetbrains/backend-plugin:plugin-latest --package components/ide/jetbrains/gateway-plugin:publish --parallel -- ./gradlew --build-cache buildPlugin
- name: TypeScript
before: scripts/branch-namespace.sh
init: yarn --network-timeout 100000 && yarn build
Expand Down
Loading