zombienet icon indicating copy to clipboard operation
zombienet copied to clipboard

`chain_spec_path` should support `https`

Open michalkucharczyk opened this issue 2 years ago • 3 comments

For tests with db_snapshot stored in cloud, the raw chain_spec must be kept together with the snapshot. It would be good to store it in the cloud in the same bucket as db_snaphot. Would be good if chain_spec_path supported the https and zombienet automatically downloaded spec file (as it downloads db_snapshot file).

michalkucharczyk avatar Nov 22 '22 07:11 michalkucharczyk

is db_snapshot also uses https?

dzmitry-lahoda avatar Dec 09 '22 12:12 dzmitry-lahoda

is db_snapshot also uses https?

yes: https://github.com/paritytech/substrate/blob/master/zombienet/0001-basic-warp-sync/test-warp-sync.toml#L14

michalkucharczyk avatar Dec 09 '22 12:12 michalkucharczyk

and implementation (for k8s): https://github.com/paritytech/zombienet/blob/a1227232ba91b2f6bfd98f54cd820f8b5c0d23dd/javascript/packages/orchestrator/src/providers/k8s/kubeClient.ts#L121-L154

michalkucharczyk avatar Dec 09 '22 12:12 michalkucharczyk