Skip to content

Commit

Permalink
Add custom docker image support
Browse files Browse the repository at this point in the history
  • Loading branch information
jfldde committed Dec 2, 2024
1 parent e628066 commit fdc64d2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/framework.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,33 +434,34 @@ fn generate_test_config<T: TestCase>(
}
};

let citrea_docker_image = std::env::var("CITREA_DOCKER_IMAGE").ok();
Ok(TestConfig {
bitcoin: bitcoin_confs,
sequencer: FullSequencerConfig::new(
sequencer,
sequencer_rollup,
None,
citrea_docker_image,
sequencer_dir,
env.sequencer(),
)?,
batch_prover: FullBatchProverConfig::new(
batch_prover,
batch_prover_rollup,
None,
citrea_docker_image,
batch_prover_dir,
env.batch_prover(),
)?,
light_client_prover: FullLightClientProverConfig::new(
light_client_prover,
light_client_prover_rollup,
None,
citrea_docker_image,
light_client_prover_dir,
env.light_client_prover(),
)?,
full_node: FullFullNodeConfig::new(
(),
full_node_rollup,
None,
citrea_docker_image,
full_node_dir,
env.full_node(),
)?,
Expand Down

0 comments on commit fdc64d2

Please sign in to comment.