Skip to content

Commit

Permalink
fix(arangodb): always remove stopped docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 24, 2024
1 parent 98a8e44 commit c3c1e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arangodb/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub fn setup() -> Result<String, Error> {
true => "grep -q arangodb: Procfile || echo -e 'arangodb: sudo -H -E -u fluentci PATH=$PATH bash -c \"devbox run arangod --configuration ../../arangod.conf\" \\n' >> Procfile",
false => "grep -q arangodb: Procfile || echo -e 'arangodb: devbox run arangod --configuration ../../arangod.conf \\n' >> Procfile"
},
_ => &format!("grep -q arangodb: Procfile || echo -e 'arangodb: pkgx docker run -p $ARANGODB_PORT:8529 {} arangodb:$ARANGODB_VERSION \\n' >> Procfile", envs.iter().map(|(k, v)| format!("-e {}={}", k, v)).collect::<Vec<String>>().join(" "))
_ => &format!("grep -q arangodb: Procfile || echo -e 'arangodb: pkgx docker run --rm -p $ARANGODB_PORT:8529 {} arangodb:$ARANGODB_VERSION \\n' >> Procfile", envs.iter().map(|(k, v)| format!("-e {}={}", k, v)).collect::<Vec<String>>().join(" "))
};

let stdout = dag()
Expand Down

0 comments on commit c3c1e24

Please sign in to comment.