Skip to content

Commit

Permalink
fix(e2e): download spell for rust-peer snapshot (#1355)
Browse files Browse the repository at this point in the history
  • Loading branch information
justprosh authored Dec 1, 2022
1 parent dec50fb commit 371c7e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/snapshot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ ENV RUST_LOG="info,aquamarine=warn,tokio_threadpool=info,tokio_reactor=info,mio=
ENV RUST_BACKTRACE="1"
ADD https://github.com/fluencelabs/trust-graph/releases/download/v3.0.4/trust-graph.tar.gz trust-graph.tar.gz
RUN mkdir -p .fluence/v1/builtins && tar -C .fluence/v1/builtins -xf trust-graph.tar.gz && rm trust-graph.tar.gz
ADD https://github.com/fluencelabs/spell/releases/latest/download/spell.tar.gz spell.tar.gz
RUN mkdir -p .fluence/v1/spell && tar -C .fluence/v1/spell -xf spell.tar.gz && rm spell.tar.gz
ENTRYPOINT ["/usr/bin/fluence"]
CMD ["--local"]
2 changes: 1 addition & 1 deletion crates/server-config/src/dir_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl UnresolvedDirConfig {
let air_interpreter_path = self
.air_interpreter_path
.unwrap_or(air_interpreter_path(&base));
let spell_base_dir = self.spell_base_dir.unwrap_or(base.join("spell_bundle"));
let spell_base_dir = self.spell_base_dir.unwrap_or(base.join("spell"));

ResolvedDirConfig {
base_dir: base,
Expand Down

0 comments on commit 371c7e8

Please sign in to comment.