:test_cube: Upgrade testing data schema to v2
This commit is contained in:
parent
61d30315ec
commit
440851a305
@ -14,6 +14,7 @@ host = ["localhost:4321"]
|
|||||||
path = ["/"]
|
path = ["/"]
|
||||||
[[locations.destinations]]
|
[[locations.destinations]]
|
||||||
id = "example-warden-destination"
|
id = "example-warden-destination"
|
||||||
|
uri = "http://localhost:4321"
|
||||||
|
|
||||||
[[applications]]
|
[[applications]]
|
||||||
id = "example-warden-app"
|
id = "example-warden-app"
|
||||||
@ -21,10 +22,10 @@ workdir = "test/data/warden"
|
|||||||
command = ["node", "dist/server/entry.mjs"]
|
command = ["node", "dist/server/entry.mjs"]
|
||||||
environment = ["PUBLIC_CMS=https://smartsheep.studio"]
|
environment = ["PUBLIC_CMS=https://smartsheep.studio"]
|
||||||
|
|
||||||
# [[locations]]
|
[[locations]]
|
||||||
# id = "example-location"
|
id = "example-static"
|
||||||
# host = ["localhost:8000"]
|
host = ["localhost:8000"]
|
||||||
# path = ["/"]
|
path = ["/roadsign"]
|
||||||
# [[locations.destinations]]
|
[[locations.destinations]]
|
||||||
# id = "example-destination"
|
id = "example-static-destination"
|
||||||
# uri = "files://test/data"
|
uri = "files://test/data"
|
9
test/roadsign-spa/config/example.toml
Normal file
9
test/roadsign-spa/config/example.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
id = "example"
|
||||||
|
|
||||||
|
[[locations]]
|
||||||
|
id = "example-location"
|
||||||
|
host = ["localhost:8000"]
|
||||||
|
path = ["/"]
|
||||||
|
[[locations.destinations]]
|
||||||
|
id = "example-destination"
|
||||||
|
uri = "files://../data/spa?fallback=index.html"
|
@ -1,8 +0,0 @@
|
|||||||
name: Example Site
|
|
||||||
rules:
|
|
||||||
- host: ["localhost:8000"]
|
|
||||||
path: ["/"]
|
|
||||||
upstreams:
|
|
||||||
- id: example
|
|
||||||
name: Benchmarking Data
|
|
||||||
uri: files://../data/spa?fallback=index.html
|
|
15
test/roadsign-ssr/config/example.toml
Normal file
15
test/roadsign-ssr/config/example.toml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
id = "example-region"
|
||||||
|
|
||||||
|
[[locations]]
|
||||||
|
id = "example-warden"
|
||||||
|
host = ["localhost:8000"]
|
||||||
|
path = ["/"]
|
||||||
|
[[locations.destinations]]
|
||||||
|
id = "example-warden-destination"
|
||||||
|
uri = "http://localhost:4321"
|
||||||
|
|
||||||
|
[[applications]]
|
||||||
|
id = "example-warden-app"
|
||||||
|
workdir = "../data/warden"
|
||||||
|
command = ["node", "dist/server/entry.mjs"]
|
||||||
|
environment = ["PUBLIC_CMS=https://smartsheep.studio"]
|
@ -1,12 +0,0 @@
|
|||||||
name: Example Site
|
|
||||||
rules:
|
|
||||||
- host: ["localhost:8000"]
|
|
||||||
path: ["/"]
|
|
||||||
upstreams:
|
|
||||||
- id: example
|
|
||||||
name: Benchmarking Data
|
|
||||||
uri: http://localhost:3000
|
|
||||||
processes:
|
|
||||||
- id: nuxt-ssr
|
|
||||||
workdir: ../data/ssr
|
|
||||||
command: ["node", ".output/server/index.mjs"]
|
|
9
test/roadsign-with-prefork/config/example.toml
Normal file
9
test/roadsign-with-prefork/config/example.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
id = "example"
|
||||||
|
|
||||||
|
[[locations]]
|
||||||
|
id = "example-location"
|
||||||
|
host = ["localhost:8000"]
|
||||||
|
path = ["/"]
|
||||||
|
[[locations.destinations]]
|
||||||
|
id = "example-destination"
|
||||||
|
uri = "files://../data/spa?fallback=index.html"
|
@ -1,8 +0,0 @@
|
|||||||
name: Example Site
|
|
||||||
rules:
|
|
||||||
- host: ["localhost:8000"]
|
|
||||||
path: ["/"]
|
|
||||||
upstreams:
|
|
||||||
- id: example
|
|
||||||
name: Benchmarking Data
|
|
||||||
uri: files://../data
|
|
Loading…
Reference in New Issue
Block a user