Skip to content

Commit e8b01a9

Browse files
committed
Format .yaml files with prettier
1 parent a0cb6e3 commit e8b01a9

20 files changed

+118
-138
lines changed

.github/ISSUE_TEMPLATE/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ contact_links:
1010

1111
- name: All issues
1212
url: https://github.com/input-output-hk/mithril/issues
13-
about: Check whether your issue is not already covered here.
13+
about: Check whether your issue is not already covered here.

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
*.yaml
21
*.json
32
docs/website/.docusaurus/
43
mithril-explorer/font.css.hbs

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"printWidth": 100,
77
"bracketSameLine": true
88
}
9+
},
10+
{
11+
"files": "*.yaml",
12+
"options": {
13+
"trailingComma": "none"
14+
}
915
}
1016
]
1117
}

mithril-infra/assets/docker/docker-compose-aggregator-auth-p2p.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ services:
8484
- ../data/${NETWORK}/mithril-aggregator/cardano/ipc:/ipc
8585
ports:
8686
- "8080:8080"
87-
command: [ "-vvv", "serve" ]
87+
command: ["-vvv", "serve"]
8888
depends_on:
8989
cardano-node-aggregator:
9090
condition: service_started
@@ -93,10 +93,10 @@ services:
9393
options:
9494
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
9595
labels:
96-
- 'traefik.enable=true'
97-
- 'traefik.http.routers.mithril-aggregator.rule=Host(`${AGGREGATOR_HOST}`)'
98-
- 'traefik.http.routers.mithril-aggregator.tls=true'
99-
- 'traefik.http.routers.mithril-aggregator.tls.certresolver=lets-encrypt'
96+
- "traefik.enable=true"
97+
- "traefik.http.routers.mithril-aggregator.rule=Host(`${AGGREGATOR_HOST}`)"
98+
- "traefik.http.routers.mithril-aggregator.tls=true"
99+
- "traefik.http.routers.mithril-aggregator.tls.certresolver=lets-encrypt"
100100
- "traefik.http.routers.mithril-aggregator.middlewares=test-auth"
101101
- "traefik.http.middlewares.test-auth.basicauth.users=${AUTH_USER_PASSWORD}"
102102

@@ -114,7 +114,7 @@ services:
114114
- AGGREGATOR_ENDPOINT=http://${AGGREGATOR_CREDENTIALS}mithril-aggregator:8080/aggregator
115115
ports:
116116
- "${AGGREGATOR_RELAY_LISTEN_PORT}:${AGGREGATOR_RELAY_LISTEN_PORT}"
117-
command: [ "-vvv", "aggregator" ]
117+
command: ["-vvv", "aggregator"]
118118
depends_on:
119119
mithril-aggregator:
120120
condition: service_started

mithril-infra/assets/docker/docker-compose-aggregator-auth.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ services:
8484
- ../data/${NETWORK}/mithril-aggregator/cardano/ipc:/ipc
8585
ports:
8686
- "8080:8080"
87-
command: [ "-vvv", "serve" ]
87+
command: ["-vvv", "serve"]
8888
depends_on:
8989
cardano-node-aggregator:
9090
condition: service_started
@@ -93,10 +93,10 @@ services:
9393
options:
9494
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
9595
labels:
96-
- 'traefik.enable=true'
97-
- 'traefik.http.routers.mithril-aggregator.rule=Host(`${AGGREGATOR_HOST}`)'
98-
- 'traefik.http.routers.mithril-aggregator.tls=true'
99-
- 'traefik.http.routers.mithril-aggregator.tls.certresolver=lets-encrypt'
96+
- "traefik.enable=true"
97+
- "traefik.http.routers.mithril-aggregator.rule=Host(`${AGGREGATOR_HOST}`)"
98+
- "traefik.http.routers.mithril-aggregator.tls=true"
99+
- "traefik.http.routers.mithril-aggregator.tls.certresolver=lets-encrypt"
100100
- "traefik.http.routers.mithril-aggregator.middlewares=test-auth"
101101
- "traefik.http.middlewares.test-auth.basicauth.users=${AUTH_USER_PASSWORD}"
102102

mithril-infra/assets/docker/docker-compose-aggregator-noauth-p2p.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ services:
8484
- ../data/${NETWORK}/mithril-aggregator/cardano/ipc:/ipc
8585
ports:
8686
- "8080:8080"
87-
command: [ "-vvv", "serve" ]
87+
command: ["-vvv", "serve"]
8888
depends_on:
8989
cardano-node-aggregator:
9090
condition: service_started
@@ -93,10 +93,10 @@ services:
9393
options:
9494
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
9595
labels:
96-
- 'traefik.enable=true'
97-
- 'traefik.http.routers.mithril-aggregator.rule=Host(`${AGGREGATOR_HOST}`)'
98-
- 'traefik.http.routers.mithril-aggregator.tls=true'
99-
- 'traefik.http.routers.mithril-aggregator.tls.certresolver=lets-encrypt'
96+
- "traefik.enable=true"
97+
- "traefik.http.routers.mithril-aggregator.rule=Host(`${AGGREGATOR_HOST}`)"
98+
- "traefik.http.routers.mithril-aggregator.tls=true"
99+
- "traefik.http.routers.mithril-aggregator.tls.certresolver=lets-encrypt"
100100

101101
mithril-aggregator-relay:
102102
image: ghcr.io/input-output-hk/mithril-relay:${MITHRIL_IMAGE_ID}
@@ -112,7 +112,7 @@ services:
112112
- AGGREGATOR_ENDPOINT=http://${AGGREGATOR_CREDENTIALS}mithril-aggregator:8080/aggregator
113113
ports:
114114
- "${AGGREGATOR_RELAY_LISTEN_PORT}:${AGGREGATOR_RELAY_LISTEN_PORT}"
115-
command: [ "-vvv", "aggregator" ]
115+
command: ["-vvv", "aggregator"]
116116
depends_on:
117117
mithril-aggregator:
118118
condition: service_started

mithril-infra/assets/docker/docker-compose-aggregator-noauth.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ services:
8484
- ../data/${NETWORK}/mithril-aggregator/cardano/ipc:/ipc
8585
ports:
8686
- "8080:8080"
87-
command: [ "-vvv", "serve" ]
87+
command: ["-vvv", "serve"]
8888
depends_on:
8989
cardano-node-aggregator:
9090
condition: service_started
@@ -93,10 +93,10 @@ services:
9393
options:
9494
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
9595
labels:
96-
- 'traefik.enable=true'
97-
- 'traefik.http.routers.mithril-aggregator.rule=Host(`${AGGREGATOR_HOST}`)'
98-
- 'traefik.http.routers.mithril-aggregator.tls=true'
99-
- 'traefik.http.routers.mithril-aggregator.tls.certresolver=lets-encrypt'
96+
- "traefik.enable=true"
97+
- "traefik.http.routers.mithril-aggregator.rule=Host(`${AGGREGATOR_HOST}`)"
98+
- "traefik.http.routers.mithril-aggregator.tls=true"
99+
- "traefik.http.routers.mithril-aggregator.tls.certresolver=lets-encrypt"
100100

101101
networks:
102102
default:

mithril-infra/assets/docker/docker-compose-monitoring.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ services:
2323
options:
2424
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
2525
labels:
26-
- 'traefik.enable=true'
27-
- 'traefik.http.routers.prometheus.rule=Host(`${PROMETHEUS_HOST}`)'
28-
- 'traefik.http.routers.prometheus.tls=true'
29-
- 'traefik.http.routers.prometheus.tls.certresolver=lets-encrypt'
26+
- "traefik.enable=true"
27+
- "traefik.http.routers.prometheus.rule=Host(`${PROMETHEUS_HOST}`)"
28+
- "traefik.http.routers.prometheus.tls=true"
29+
- "traefik.http.routers.prometheus.tls.certresolver=lets-encrypt"
3030
- "traefik.http.routers.prometheus.middlewares=prometheus-auth"
3131
- "traefik.http.middlewares.prometheus-auth.basicauth.users=${PROMETHEUS_AUTH_USER_PASSWORD}"
3232

@@ -43,10 +43,10 @@ services:
4343
- /sys:/host/sys:ro
4444
- /:/rootfs:ro
4545
command:
46-
- '--path.procfs=/host/proc'
47-
- '--path.rootfs=/rootfs'
48-
- '--path.sysfs=/host/sys'
49-
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
46+
- "--path.procfs=/host/proc"
47+
- "--path.rootfs=/rootfs"
48+
- "--path.sysfs=/host/sys"
49+
- "--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)"
5050
logging:
5151
driver: "${LOGGING_DRIVER}"
5252
options:
@@ -71,10 +71,10 @@ services:
7171
options:
7272
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
7373
labels:
74-
- 'traefik.enable=true'
75-
- 'traefik.http.routers.loki.rule=Host(`${LOKI_HOST}`)'
76-
- 'traefik.http.routers.loki.tls=true'
77-
- 'traefik.http.routers.loki.tls.certresolver=lets-encrypt'
74+
- "traefik.enable=true"
75+
- "traefik.http.routers.loki.rule=Host(`${LOKI_HOST}`)"
76+
- "traefik.http.routers.loki.tls=true"
77+
- "traefik.http.routers.loki.tls.certresolver=lets-encrypt"
7878
- "traefik.http.routers.loki.middlewares=loki-auth"
7979
- "traefik.http.middlewares.loki-auth.basicauth.users=${LOKI_AUTH_USER_PASSWORD}"
8080

mithril-infra/assets/docker/docker-compose-reverse-proxy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ services:
1010
- reverse-proxy
1111
- all
1212
ports:
13-
- '80:80'
14-
- '443:443'
13+
- "80:80"
14+
- "443:443"
1515
volumes:
1616
- ./traefik:/etc/traefik
1717
- /var/run/docker.sock:/var/run/docker.sock:ro

mithril-infra/assets/docker/docker-compose-signer-unverified-alone.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/mithril:/mithril-signer-${SIGNER_ID}/mithril
3232
- ../data/${NETWORK}/mithril-aggregator/cardano/db:/mithril-aggregator/cardano/db
3333
- ../data/${NETWORK}/mithril-aggregator/cardano/ipc:/ipc
34-
command: [ "-vvv" ]
34+
command: ["-vvv"]
3535
logging:
3636
driver: "${LOGGING_DRIVER}"
3737
options:

mithril-infra/assets/docker/docker-compose-signer-unverified-norelay.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ services:
6767
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/mithril:/mithril-signer-${SIGNER_ID}/mithril
6868
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/passive:/mithril-signer-${SIGNER_ID}/cardano/db
6969
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
70-
command: [ "-vvv" ]
70+
command: ["-vvv"]
7171
depends_on:
7272
cardano-node-signer:
7373
condition: service_started

mithril-infra/assets/docker/docker-compose-signer-unverified-p2p.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ services:
6767
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/mithril:/mithril-signer-${SIGNER_ID}/mithril
6868
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/passive:/mithril-signer-${SIGNER_ID}/cardano/db
6969
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
70-
command: [ "-vvv" ]
70+
command: ["-vvv"]
7171
depends_on:
7272
cardano-node-signer:
7373
condition: service_started
@@ -94,7 +94,7 @@ services:
9494
ports:
9595
- "${SIGNER_RELAY_LISTEN_PORT}:${SIGNER_RELAY_LISTEN_PORT}"
9696
- "${SIGNER_RELAY_SERVER_PORT}:${SIGNER_RELAY_SERVER_PORT}"
97-
command: [ "-vvv", "signer" ]
97+
command: ["-vvv", "signer"]
9898
depends_on:
9999
mithril-signer:
100100
condition: service_started

mithril-infra/assets/docker/docker-compose-signer-unverified.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ services:
7777
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/mithril:/mithril-signer-${SIGNER_ID}/mithril
7878
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/db/passive:/mithril-signer-${SIGNER_ID}/cardano/db
7979
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
80-
command: [ "-vvv" ]
80+
command: ["-vvv"]
8181
depends_on:
8282
cardano-node-signer:
8383
condition: service_started

mithril-infra/assets/docker/docker-compose-signer-verified-norelay.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ services:
123123
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/pool:/mithril-signer-${SIGNER_ID}/cardano/pool
124124
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
125125
- ./cardano-configurations/network/${NETWORK}:/config
126-
command: [ "-vvv" ]
126+
command: ["-vvv"]
127127
depends_on:
128128
cardano-node-signer-block-producer:
129129
condition: service_started
@@ -150,10 +150,10 @@ services:
150150
options:
151151
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
152152
labels:
153-
- 'traefik.enable=true'
154-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.rule=Host(`${SIGNER_HOST}`)'
155-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.tls=true'
156-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.tls.certresolver=lets-encrypt'
153+
- "traefik.enable=true"
154+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.rule=Host(`${SIGNER_HOST}`)"
155+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.tls=true"
156+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.tls.certresolver=lets-encrypt"
157157

158158
networks:
159159
default:

mithril-infra/assets/docker/docker-compose-signer-verified-p2p.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ services:
123123
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/pool:/mithril-signer-${SIGNER_ID}/cardano/pool
124124
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
125125
- ./cardano-configurations/network/${NETWORK}:/config
126-
command: [ "-vvv" ]
126+
command: ["-vvv"]
127127
depends_on:
128128
cardano-node-signer-block-producer:
129129
condition: service_started
@@ -152,7 +152,7 @@ services:
152152
ports:
153153
- "${SIGNER_RELAY_LISTEN_PORT}:${SIGNER_RELAY_LISTEN_PORT}"
154154
- "${SIGNER_RELAY_SERVER_PORT}:${SIGNER_RELAY_SERVER_PORT}"
155-
command: [ "-vvv", "signer" ]
155+
command: ["-vvv", "signer"]
156156
depends_on:
157157
mithril-signer:
158158
condition: service_started
@@ -177,10 +177,10 @@ services:
177177
options:
178178
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
179179
labels:
180-
- 'traefik.enable=true'
181-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.rule=Host(`${SIGNER_HOST}`)'
182-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.tls=true'
183-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.tls.certresolver=lets-encrypt'
180+
- "traefik.enable=true"
181+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.rule=Host(`${SIGNER_HOST}`)"
182+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.tls=true"
183+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.tls.certresolver=lets-encrypt"
184184

185185
networks:
186186
default:

mithril-infra/assets/docker/docker-compose-signer-verified.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ services:
133133
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/pool:/mithril-signer-${SIGNER_ID}/cardano/pool
134134
- ../data/${NETWORK}/mithril-signer-${SIGNER_ID}/cardano/ipc:/ipc
135135
- ./cardano-configurations/network/${NETWORK}:/config
136-
command: [ "-vvv" ]
136+
command: ["-vvv"]
137137
depends_on:
138138
cardano-node-signer-block-producer:
139139
condition: service_started
@@ -160,10 +160,10 @@ services:
160160
options:
161161
tag: "{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}"
162162
labels:
163-
- 'traefik.enable=true'
164-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.rule=Host(`${SIGNER_HOST}`)'
165-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.tls=true'
166-
- 'traefik.http.routers.mithril-signer-${SIGNER_ID}.tls.certresolver=lets-encrypt'
163+
- "traefik.enable=true"
164+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.rule=Host(`${SIGNER_HOST}`)"
165+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.tls=true"
166+
- "traefik.http.routers.mithril-signer-${SIGNER_ID}.tls.certresolver=lets-encrypt"
167167

168168
networks:
169169
default:

mithril-infra/assets/docker/loki/local-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ schema_config:
3535

3636
ruler:
3737
alertmanager_url: http://localhost:9093
38-
3938
# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration
4039
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
4140
#

mithril-test-lab/mithril-devnet/configuration/byron/configuration.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
############### Cardano Byron Node Configuration #########
44
##########################################################
55

6-
76
##### Locations #####
87

98
GenesisFile: genesis.json
@@ -31,7 +30,6 @@ Protocol: RealPBFT
3130
# The mainnet does not include the network magic into addresses. Testnets do.
3231
RequiresNetworkMagic: RequiresNoMagic
3332

34-
3533
##### Update system parameters #####
3634

3735
# This protocol version number gets used by block producing nodes as part
@@ -130,9 +128,8 @@ defaultScribes:
130128
# in the setupScribes above for specific scribes.
131129
rotation:
132130
rpLogLimitBytes: 5000000
133-
rpKeepFilesNum: 3
134-
rpMaxAgeHours: 24
135-
131+
rpKeepFilesNum: 3
132+
rpMaxAgeHours: 24
136133

137134
##### Coarse grained logging control #####
138135

@@ -198,7 +195,7 @@ TraceIpSubscription: True
198195
TraceLocalRootPeers: True
199196

200197
# Trace public root peers
201-
TracePublicRootPeers: True
198+
TracePublicRootPeers: True
202199

203200
# Trace peer selection
204201
TracePeerSelection: True
@@ -249,7 +246,6 @@ TraceTxOutbound: False
249246
# Trace TxSubmission protocol messages.
250247
TraceTxSubmissionProtocol: False
251248

252-
253249
##### Fine grained logging control #####
254250

255251
# It is also possible to have more fine grained control over filtering of
@@ -258,7 +254,6 @@ TraceTxSubmissionProtocol: False
258254
# much more precise control.
259255

260256
options:
261-
262257
# This routes metrics matching specific names to particular backends.
263258
# This overrides the 'defaultBackends' listed above. And note that it is
264259
# an override and not an extension so anything matched here will not

0 commit comments

Comments
 (0)