2023-02-13 17:51:45 +00:00
|
|
|
import gov025 from "./go/v0.25/image.json"
|
2023-01-10 22:26:27 +00:00
|
|
|
import gov024 from "./go/v0.24/image.json"
|
|
|
|
import gov023 from "./go/v0.23/image.json"
|
|
|
|
import gov022 from "./go/v0.22/image.json"
|
|
|
|
import rustv050 from "./rust/v0.50/image.json"
|
2023-01-24 17:52:44 +00:00
|
|
|
import jsV041 from "./js/v0.41/node-image.json"
|
|
|
|
import chromiumJsV041 from "./js/v0.41/chromium-image.json"
|
2023-01-10 22:26:27 +00:00
|
|
|
|
|
|
|
export type Version = {
|
|
|
|
id: string,
|
|
|
|
containerImageID: string,
|
2023-01-24 17:52:44 +00:00
|
|
|
// If defined, this will increase the timeout for tests using this version
|
|
|
|
timeoutSecs?: number,
|
|
|
|
transports: Array<(string | { name: string, onlyDial: boolean })>,
|
2023-01-10 22:26:27 +00:00
|
|
|
secureChannels: string[],
|
2023-01-24 17:52:44 +00:00
|
|
|
muxers: string[]
|
2023-01-10 22:26:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const versions: Array<Version> = [
|
|
|
|
{
|
|
|
|
id: "rust-v0.50.0",
|
|
|
|
containerImageID: rustv050.imageID,
|
2023-01-18 11:56:09 +00:00
|
|
|
transports: ["ws", "tcp", "quic-v1", "webrtc"],
|
2023-01-10 22:26:27 +00:00
|
|
|
secureChannels: ["tls", "noise"],
|
|
|
|
muxers: ["mplex", "yamux"],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "js-v0.41.0",
|
|
|
|
containerImageID: jsV041.imageID,
|
|
|
|
transports: ["tcp", "ws"],
|
|
|
|
secureChannels: ["noise"],
|
|
|
|
muxers: ["mplex", "yamux"],
|
|
|
|
},
|
2023-01-24 17:52:44 +00:00
|
|
|
{
|
|
|
|
id: "chromium-js-v0.41.0",
|
|
|
|
containerImageID: chromiumJsV041.imageID,
|
2023-02-11 01:00:53 +00:00
|
|
|
transports: [{ name: "webtransport", onlyDial: true }, { name: "webrtc", onlyDial: true }],
|
2023-01-24 17:52:44 +00:00
|
|
|
secureChannels: [],
|
|
|
|
muxers: []
|
|
|
|
},
|
2023-02-13 17:51:45 +00:00
|
|
|
{
|
|
|
|
id: "go-v0.25.1",
|
|
|
|
containerImageID: gov025.imageID,
|
|
|
|
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
|
|
|
|
secureChannels: ["tls", "noise"],
|
|
|
|
muxers: ["mplex", "yamux"],
|
|
|
|
},
|
2023-01-10 22:26:27 +00:00
|
|
|
{
|
|
|
|
id: "go-v0.24.2",
|
|
|
|
containerImageID: gov024.imageID,
|
|
|
|
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
|
|
|
|
secureChannels: ["tls", "noise"],
|
|
|
|
muxers: ["mplex", "yamux"],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "go-v0.23.4",
|
|
|
|
containerImageID: gov023.imageID,
|
|
|
|
transports: ["tcp", "ws", "quic"],
|
|
|
|
secureChannels: ["tls", "noise"],
|
|
|
|
muxers: ["mplex", "yamux"],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "go-v0.22.0",
|
|
|
|
containerImageID: gov022.imageID,
|
|
|
|
transports: ["tcp", "ws", "quic"],
|
|
|
|
secureChannels: ["tls", "noise"],
|
|
|
|
muxers: ["mplex", "yamux"],
|
|
|
|
},
|
2023-01-18 11:56:09 +00:00
|
|
|
]
|