Skip to content

Streamline code formatting #7757

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
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
64a26b4
build: add Prettier support and configurations
trumbitta Jan 21, 2022
7231f56
build: add Prettier support and configurations
trumbitta Jan 21, 2022
464d396
style(dashboard): batch-format with Prettier
trumbitta Jan 21, 2022
866e7c5
style(operations): batch-format with Prettier
trumbitta Jan 21, 2022
56a87d0
style(test): batch-format with Prettier
trumbitta Jan 21, 2022
4a4cd4b
style(installer): batch-format with Prettier
trumbitta Jan 21, 2022
2166a5f
style(dev): batch-format with Prettier
trumbitta Jan 21, 2022
1d6886d
style(contrib): batch-format with Prettier
trumbitta Jan 21, 2022
523f715
style(ws-proxy): batch-format with Prettier
trumbitta Jan 21, 2022
cb27155
style(ws-manager): batch-format with Prettier
trumbitta Jan 21, 2022
7b8c1db
style(ws-manager-bridge): batch-format with Prettier
trumbitta Jan 21, 2022
7c6012a
style(ws-manager-bridge-api): batch-format with Prettier
trumbitta Jan 21, 2022
0997e29
style(ws-manager-api): batch-format with Prettier
trumbitta Jan 21, 2022
948d675
style(ws-daemon): batch-format with Prettier
trumbitta Jan 21, 2022
d4418f4
style(ws-daemon-api): batch-format with Prettier
trumbitta Jan 21, 2022
082998c
style(supervisor): batch-format with Prettier
trumbitta Jan 21, 2022
e9dbe7b
style(supervisor-api): batch-format with Prettier
trumbitta Jan 21, 2022
e2758bb
style(server): batch-format with Prettier
trumbitta Jan 21, 2022
1bf9242
style(registry-facade): batch-format with Prettier
trumbitta Jan 21, 2022
e6bd95b
style(local-app): batch-format with Prettier
trumbitta Jan 21, 2022
f2ef9bd
style(local-app-api): batch-format with Prettier
trumbitta Jan 21, 2022
0c98298
style(licensor): batch-format with Prettier
trumbitta Jan 21, 2022
5a20cc7
style(image-builder-mk3): batch-format with Prettier
trumbitta Jan 21, 2022
d1f9fe6
style(image-builder-bob): batch-format with Prettier
trumbitta Jan 21, 2022
3d8a081
style(image-builder-api): batch-format with Prettier
trumbitta Jan 21, 2022
65ee106
style(ide): batch-format with Prettier
trumbitta Jan 21, 2022
147550a
style(gitpod-protocol): batch-format with Prettier
trumbitta Jan 21, 2022
50f2b7e
style(gitpod-messagebus): batch-format with Prettier
trumbitta Jan 21, 2022
fcad743
style(gitpod-db): batch-format with Prettier
trumbitta Jan 21, 2022
c770ad2
style(ee): batch-format with Prettier
trumbitta Jan 21, 2022
18f423f
style(content-service): batch-format with Prettier
trumbitta Jan 21, 2022
bd53075
style(content-service-api): batch-format with Prettier
trumbitta Jan 21, 2022
4090806
style(common-go): batch-format with Prettier
trumbitta Jan 21, 2022
308dc7b
style(chart): batch-format with Prettier
trumbitta Jan 21, 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
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ vscode:
extensions:
- bajdzis.vscode-database
- bradlc.vscode-tailwindcss
- EditorConfig.EditorConfig
- editorconfig.editorconfig
- esbenp.prettier-vscode
- golang.go
- hashicorp.terraform
- ms-azuretools.vscode-docker
Expand Down
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Add files here to ignore them from prettier formatting

build/
dist/
templates/

# YAML is supported, but let's play it safe for now
*.yaml
*.yml
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"semi": true,
"trailingComma": "all",
"printWidth": 120,
"tabWidth": 2
}
30 changes: 8 additions & 22 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Installing Gitpod Self-Hosted via Helm has been deprecated and will eventually b

We have also created guides for the three major cloud providers which use the installer for your reference.

* [Amazon EKS](https://github.com/gitpod-io/gitpod-eks-guide)
* [Google Kubernetes Engine](https://github.com/gitpod-io/gitpod-gke-guide)
* [Azure AKS](https://github.com/gitpod-io/gitpod-microsoft-aks-guide)
- [Amazon EKS](https://github.com/gitpod-io/gitpod-eks-guide)
- [Google Kubernetes Engine](https://github.com/gitpod-io/gitpod-gke-guide)
- [Azure AKS](https://github.com/gitpod-io/gitpod-microsoft-aks-guide)

These charts will eventually be archived.

Expand All @@ -16,13 +16,11 @@ These charts will eventually be archived.

This [Helm](https://helm.sh) chart allows you to deploy and operate an instance of Gitpod on your own infrastructure.


## Prerequisites

- Kubernetes 1.13+
- Helm 3+


## Get Repo Info

```console
Expand All @@ -38,7 +36,6 @@ helm dep up

_See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation._


## Install Chart

```console
Expand All @@ -49,7 +46,6 @@ _See [configuration](#configuration) below._

_See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._


## Dependencies

By default this chart installs additional, dependent charts:
Expand All @@ -62,7 +58,6 @@ _See [configuration](#configuration) for options to replace those dependencies._

_See [helm dependency](https://helm.sh/docs/helm/helm_dependency/) for command documentation._


## Uninstall Chart

```console
Expand All @@ -73,7 +68,6 @@ This removes all the Kubernetes components associated with the chart and deletes

_See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command documentation._


## Upgrading Chart

```console
Expand All @@ -82,51 +76,43 @@ $ helm upgrade --install gitpod .

_See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documentation._


## Recommended Configuration

The default installation of this Chart works out-of-the box in the majority of scenarios. The following section
introduces the most important options you likely want to review and tune for your particular use case.


### Ingress, Domain and HTTPS

| Parameter | Description | Default |
|----------------------|------------------------------------------------|---------------------------------------------------------|
| `hostname` | The Hostname your installation is available at | `localhost` |
| `certificatesSecret` | Configures certificates for your domain | `{}` |
| Parameter | Description | Default |
| -------------------- | ---------------------------------------------- | ----------- |
| `hostname` | The Hostname your installation is available at | `localhost` |
| `certificatesSecret` | Configures certificates for your domain | `{}` |

Compare [values.yaml](./values.yaml) for details.

For more details and a complete example using `hosts` see [here](https://www.gitpod.io/docs/self-hosted/latest/install/configure-ingress/).


### OAuth

See [here](https://www.gitpod.io/docs/self-hosted/latest/install/oauth/) on how to pre-configure OAuth providers.


### Database

The default installation comes with a MySQL that runs inside the same cluster.

See [here](https://www.gitpod.io/docs/self-hosted/latest/install/database/) on how to configure a custom database.


### Storage

See [here](https://www.gitpod.io/docs/self-hosted/latest/install/storage/) on how to configure a custom storage provider.


### Docker Registry

See [here](https://www.gitpod.io/docs/self-hosted/latest/install/docker-registry/) on how to configure a custom docker registry.


## Advanced Configuration Reference

> Note: This is not complete yet and very much work-in-progress. Please [open an issue](https://github.com/gitpod-io/gitpod/issues/new?template=question.md) if you have a particular question!

> Note: This is not complete yet and very much work-in-progress. Please [open an issue](https://github.com/gitpod-io/gitpod/issues/new?template=question.md) if you have a particular question!

### Node Filesystem Layout

Expand Down
Loading