Skip to content

Commit

Permalink
feat: add neo4j service
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 24, 2024
1 parent 86cc5f5 commit 8bf8aa9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions neo4j/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ pub fn setup() -> Result<String, Error> {
.with_exec(vec!["mkdir", "-p", ".fluentci/neo4j"])?
.stdout()?;

let pwd = dag().get_env("PWD")?;
dag().set_envs(vec![
("NEO4J_CONF".into(), "../../neo4j.conf".into()),
("NEO4J_HOME".into(), "../../neo4j".into()),
("NEO4J_CONF".into(), format!("{}", pwd)),
("NEO4J_HOME".into(), format!("{}/neo4j", pwd)),
])?;

let stdout = dag()
Expand Down

0 comments on commit 8bf8aa9

Please sign in to comment.