forked from projectcontour/contour
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
174 lines (148 loc) · 6.76 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[build]
base = "site/"
command = "hugo --gc --minify"
publish = "site/public"
[context.production.environment]
HUGO_VERSION = "0.83.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.83.1"
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.83.1"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.83.1"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
[build.processing]
skip_processing = false # -> Enable processing
[build.processing.css]
bundle = true # -> Concatenate consecutive CSS files together to reduce HTTP requests.
minify = true # -> Run CSS through a minifier to reduce file size.
[build.processing.js]
bundle = true # -> Concatenate consecutive JS files together to reduce HTTP requests.
minify = true # -> Run JS through a minifier to reduce file size.
[build.processing.images]
compress = true # -> Run all images through lossless image compression.
# Reference documentation
# Optimization blog post: https://www.netlify.com/blog/2019/08/05/control-your-asset-optimization-settings-from-netlify.toml/
# How to guide: https://docs.netlify.com/configure-builds/file-based-configuration/#post-processing
# Redirect /quickstart/contour.yaml to the deployment that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/contour.yaml
[[redirects]]
from = "/quickstart/contour.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour/release-1.21/examples/render/contour.yaml"
status = 302
# Redirect versioned quickstarts so that they can easily be referenced by
# users or for upgrade testing.
#
# kubectl apply https://projectcontour.io/quickstart/v1.4.0/contour.yaml
[[redirects]]
from = "/quickstart/*/contour.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour/:splat/examples/render/contour.yaml"
status = 302
# Redirect /quickstart/operator.yaml to the deployment that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/operator.yaml
[[redirects]]
from = "/quickstart/operator.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/release-1.21/examples/operator/operator.yaml"
status = 302
# Redirect versioned quickstarts so that they can easily be referenced by
# users or for upgrade testing.
#
# kubectl apply https://projectcontour.io/quickstart/v1.11.0/operator.yaml
[[redirects]]
from = "/quickstart/*/operator.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/:splat/examples/operator/operator.yaml"
status = 302
# Redirect /quickstart/contour-custom-resource.yaml to the Contour custom resource that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/contour-custom-resource.yaml
[[redirects]]
from = "/quickstart/contour-custom-resource.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/release-1.21/examples/contour/contour.yaml"
status = 302
# Redirect versioned quickstarts so that they can easily be referenced by
# users or for upgrade testing.
#
# kubectl apply https://projectcontour.io/quickstart/v1.11.0/contour-custom-resource.yaml
[[redirects]]
from = "/quickstart/*/contour-custom-resource.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/:splat/examples/contour/contour.yaml"
status = 302
# Redirect /quickstart/gateway.yaml to the example Gateway manifest that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/gateway.yaml
[[redirects]]
from = "/quickstart/gateway.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/release-1.21/examples/gateway/gateway.yaml"
status = 302
# Redirect /quickstart/contour-gateway.yaml to the example Contour-Gateway manifest that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/contour-gateway.yaml
[[redirects]]
from = "/quickstart/contour-gateway.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour/release-1.21/examples/render/contour-gateway.yaml"
status = 302
# Redirect versioned quickstarts so that they can easily be referenced by
# users or for upgrade testing.
#
# kubectl apply https://projectcontour.io/quickstart/v1.11.0/gateway.yaml
[[redirects]]
from = "/quickstart/*/gateway.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/:splat/examples/gateway/gateway.yaml"
status = 302
# Redirect /quickstart/gateway-nodeport.yaml to the example Gateway manifest that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/gateway-nodeport.yaml
[[redirects]]
from = "/quickstart/gateway-nodeport.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/release-1.21/examples/gateway/gateway-nodeport.yaml"
status = 302
# Redirect versioned quickstarts so that they can easily be referenced by
# users or for upgrade testing.
#
# kubectl apply https://projectcontour.io/quickstart/v1.11.0/gateway-nodeport.yaml
[[redirects]]
from = "/quickstart/*/gateway-nodeport.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/:splat/examples/gateway/gateway-nodeport.yaml"
status = 302
# Redirect /quickstart/kuard.yaml to the example Kuard manifest that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/kuard.yaml
[[redirects]]
from = "/quickstart/kuard.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/release-1.21/examples/gateway/kuard/kuard.yaml"
status = 302
# Redirect versioned quickstarts so that they can easily be referenced by
# users or for upgrade testing.
#
# kubectl apply https://projectcontour.io/quickstart/v1.11.0/kuard.yaml
[[redirects]]
from = "/quickstart/*/kuard.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour-operator/:splat/examples/gateway/kuard/kuard.yaml"
status = 302
# Redirect /quickstart/contour-gateway-provisioner.yaml to the Gateway provisioner manifest that matches :latest.
#
# kubectl apply https://projectcontour.io/quickstart/contour-gateway-provisioner.yaml
[[redirects]]
from = "/quickstart/contour-gateway-provisioner.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour/release-1.21/examples/render/contour-gateway-provisioner.yaml"
status = 302
# Redirect versioned quickstarts so that they can easily be referenced by
# users or for upgrade testing.
#
# kubectl apply https://projectcontour.io/quickstart/v1.4.0/contour-gateway-provisioner.yaml
[[redirects]]
from = "/quickstart/*/contour-gateway-provisioner.yaml"
to = "https://raw.githubusercontent.com/projectcontour/contour/:splat/examples/render/contour-gateway-provisioner.yaml"
status = 302