Skip to content

Commit af51739

Browse files
autofix-botjankeromnes
authored andcommitted
Autofix: trailing-spaces
1 parent 8eb2cb7 commit af51739

File tree

144 files changed

+640
-643
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+640
-643
lines changed

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"type": "go",
1919
"request": "attach",
2020
"port": 32991,
21-
"mode": "remote"
21+
"mode": "remote"
2222
}
2323
]
2424
}

.werft/build.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async function build(context, version) {
151151
// if (masterBuild) {
152152
/**
153153
* Deploy master
154-
*
154+
*
155155
* [cw] we don't have a core-staging environment (yet)
156156
*/
157157
// exec(`git config --global user.name "${context.Owner}"`);
@@ -179,7 +179,7 @@ async function build(context, version) {
179179
dstNamespace: `staging-${withWsCluster.subdomain}`,
180180
}
181181
}
182-
182+
183183
const destname = version.split(".")[0];
184184
const namespace = `staging-${destname}`;
185185
const domain = `${destname}.staging.gitpod-dev.com`;
@@ -222,7 +222,7 @@ async function deployToDev(deploymentConfig, workspaceFeatureFlags, dynamicCPULi
222222
const additionalWsSubdomains = withWsCluster ? [withWsCluster.shortname] : [];
223223
await issueCertficate(werft, ".werft/certs", GCLOUD_SERVICE_ACCOUNT_PATH, namespace, "gitpod-dev.com", domain, "34.76.116.244", additionalWsSubdomains);
224224
}
225-
225+
226226
werft.log('certificate', 'waiting for preview env namespace being re-created...');
227227
await namespaceRecreatedPromise;
228228

@@ -334,7 +334,7 @@ async function deployToDev(deploymentConfig, workspaceFeatureFlags, dynamicCPULi
334334
// it's not possible to set certificatesSecret={} so we set secretName to empty string
335335
flags+=` --set certificatesSecret.secretName=""`;
336336
}
337-
337+
338338
try {
339339
shell.cd("chart");
340340
werft.log('helm', 'installing Gitpod');
@@ -343,7 +343,7 @@ async function deployToDev(deploymentConfig, workspaceFeatureFlags, dynamicCPULi
343343
exec("kubectl get secret gcp-sa-cloud-storage-dev-sync-key -n werft -o yaml | yq d - metadata | yq w - metadata.name remote-storage-gcloud | kubectl apply -f -")
344344
flags+=` -f ../.werft/values.dev.gcp-storage.yaml`;
345345
}
346-
346+
347347
exec(`helm dependencies up`);
348348
exec(`/usr/local/bin/helm3 upgrade --install --timeout 10m -f ../.werft/values.dev.yaml ${flags} gitpod .`);
349349

.werft/certs/cert/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ locals {
44
dns_zone_name = replace(trimsuffix(var.dns_zone_domain, ".-"), ".", "-")
55

66
cert_dns_names = [for subdomain in var.subdomains : "${subdomain}${var.domain}"]
7-
}
7+
}
88

99
#
1010
# DNS records

.werft/certs/cert/variables.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ variable "public_ip" {
3535
# Kubernetes name of the certificate
3636
#
3737
variable "cert_name" {
38-
type = string
38+
type = string
3939
}
4040

4141
#
4242
# Kubernetes namespace to install the certificate to
4343
#
4444
variable "cert_namespace" {
45-
type = string
45+
type = string
4646
}

.werft/certs/main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "cert" {
22
source = "./cert"
3-
3+
44
# The project the DNS zone lives in
55
project = "gitpod-dev"
66
region = "europe-west-3"
@@ -9,7 +9,7 @@ module "cert" {
99
domain = var.domain
1010
subdomains = var.subdomains
1111
public_ip = var.public_ip
12-
12+
1313
cert_name = var.namespace
1414
cert_namespace = "certs"
1515
}

.werft/values.variant.cpuLimits.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
workspaceSizing:
22
dynamic:
3-
cpu:
3+
cpu:
44
buckets:
55
# three minutes of 5 CPUs: 5 [numCPU] * 100 [jiffies/sec] * (3 * 60) [seconds] = 90000
66
- budget: 90000

.werft/values.wsCluster.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
components:
33
proxy:
44
disabled: true
5-
5+
66
wsProxy:
77
hostHeader: Host
88

License.enterprise.txt

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# Gitpod Self-Hosted Free License Terms and
3+
# Gitpod Self-Hosted Free License Terms and
44
# Gitpod Enterprise Source Code License
55

66

@@ -10,7 +10,7 @@
1010
that govern usage of the Software Gitpod Self-Hosted Free Edition in source and
1111
binary form (“Software”). The Software is provided by Gitpod GmbH, Am
1212
Germaniahafen 1, 24143 Kiel (“Gitpod”). By downloading or using to the
13-
Software, you agree to be bound by the following Terms.
13+
Software, you agree to be bound by the following Terms.
1414

1515
### 2 Scope of Terms
1616

@@ -31,7 +31,7 @@ may only take place in accordance with these Terms.
3131

3232
3.2 In case you want to use additional features or distribute the Software or
3333
modifications to it without the restrictions of these Terms, please reach out
34-
for a license key, which is subject to different legal and commercial terms.
34+
for a license key, which is subject to different legal and commercial terms.
3535

3636
### 4 Granting of Rights
3737

@@ -48,7 +48,7 @@ accordance with these Terms. You may not distribute Modifications to any third
4848
party. Nonetheless, you may make such modifications publicly available as fork
4949
of the repository which hosts the original version of the Software, however only
5050
under these Terms and only, if accompanied by the complete machine-readable
51-
source code of the Modifications and of the Software.
51+
source code of the Modifications and of the Software.
5252

5353
4.3 The copyright notices in the Software and this entire statement, including
5454
the above license grant and these Terms must be included in all copies of the
@@ -82,14 +82,14 @@ usage rights and additional features.
8282
Software on an anonymized basis in the future with a future version of the
8383
Software. The data will only be used to improve the Software and the data will
8484
not be sold to third parties. Gitpod will inform about this with the future
85-
release.
85+
release.
8686

8787
### 6 Warranty and Liability
8888

8989
6.1 THE SOFTWARE IS PROVIDED FREE OF CHARGE ON AN “AS IS” BASIS, WITHOUT
9090
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
9191
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
92-
NON-INFRINGEMENT.
92+
NON-INFRINGEMENT.
9393

9494
6.2 IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE
9595
BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR
@@ -109,7 +109,7 @@ Third-Party Components and its respective Third-Party License Terms are
109109
available via the files License.third-party.npm.txt and
110110
License.third-party.go.txt. No stipulation in these Terms is intended to impose
111111
further restrictions on your use of such Third-Party Components licensed under
112-
Third-Party License Terms.
112+
Third-Party License Terms.
113113

114114
7.2 Gitpod reserves the right to introduce deviating or additional Third-Party
115115
License Terms in the course of modifications of the Software and in case of

License.third-party.go.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ k8s.io/apimachinery Apache License 2.0
8686
k8s.io/client-go Apache License 2.0
8787
k8s.io/klog Apache License 2.0
8888
k8s.io/utils Apache License 2.0
89-
sigs.k8s.io/yaml MIT License
89+
sigs.k8s.io/yaml MIT License

0 commit comments

Comments
 (0)