Skip to content

Commit 09b0109

Browse files
authored
fix for k8 client (#723)
* fix for k8 client * use new snapshot with correct folder structure * use correct snapshots for zombienet
1 parent f03c9b6 commit 09b0109

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

javascript/packages/orchestrator/src/providers/k8s/kubeClient.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -144,19 +144,19 @@ export class KubeClient extends Client {
144144
[
145145
"mkdir",
146146
"-p",
147-
"/data/chains",
147+
"/data/",
148148
"&&",
149149
"wget",
150150
dbSnapshot,
151151
"-O",
152-
"/data/chains/db.tgz",
152+
"/data/db.tgz",
153153
"&&",
154154
"cd",
155-
"/data/chains",
155+
"/",
156156
"&&",
157157
"tar",
158158
"-xzvf",
159-
"db.tgz",
159+
"/data/db.tgz",
160160
].join(" "),
161161
]);
162162
}

tests/0013-db-snapshot.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
default_image = "docker.io/paritypr/polkadot-debug:master"
33
default_command = "polkadot"
44
default_args = [ "-lparachain=debug" ]
5-
default_db_snapshot = "https://storage.googleapis.com/zombienet-db-snaps/chains-test.tgz"
5+
default_db_snapshot = "https://github.com/samelamin/cumulus/blob/chain-snapshots/docker/snapshots/chains-test-ed6f7df940effb8cc31d373822b4c1b301648223.tgz?raw=true"
66

77
chain = "rococo-local"
88

0 commit comments

Comments
 (0)