diff --git a/Cargo.lock b/Cargo.lock index 3a314a9..f9537ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,7 +10,7 @@ checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "apache" -version = "0.1.3" +version = "0.1.4" dependencies = [ "anyhow", "extism-pdk", @@ -534,7 +534,7 @@ dependencies = [ [[package]] name = "postgres" -version = "0.1.3" +version = "0.1.4" dependencies = [ "anyhow", "extism-pdk", diff --git a/apache/Cargo.toml b/apache/Cargo.toml index 83bc00d..a52121a 100644 --- a/apache/Cargo.toml +++ b/apache/Cargo.toml @@ -6,7 +6,7 @@ description = "Apache HTTPD server plugin for FluentCI" edition = "2021" license = "MIT" name = "apache" -version = "0.1.3" +version = "0.1.4" [lib] crate-type = [ diff --git a/apache/README.md b/apache/README.md index 2b7a76e..29fea31 100644 --- a/apache/README.md +++ b/apache/README.md @@ -36,7 +36,7 @@ use fluentci_pdk::dag; // ... -dag().call("https://pkg.fluentci.io/apache@v0.1.2?wasm=1", "start", vec![])?; +dag().call("https://pkg.fluentci.io/apache@v0.1.4?wasm=1", "start", vec![])?; ``` ## 📚 Examples diff --git a/apache/fluentci.toml b/apache/fluentci.toml index a1249e0..533400a 100644 --- a/apache/fluentci.toml +++ b/apache/fluentci.toml @@ -8,4 +8,4 @@ keywords = [ ] license = "MIT" name = "apache" -version = "0.1.3" +version = "0.1.4" diff --git a/apache/src/helpers.rs b/apache/src/helpers.rs index 2b5bcaf..5602b87 100644 --- a/apache/src/helpers.rs +++ b/apache/src/helpers.rs @@ -66,7 +66,7 @@ pub fn setup() -> Result { .with_exec(vec!["[ -f ../../index.html ] || flox activate -- wget https://raw.githubusercontent.com/fluentci-io/services/main/apache/web/index.html -O ../../index.html"])? .with_exec(vec![ match is_root { - true => "chown -R fluentci /root /nix && chown -R root /root/.cache", + true => "chown -R fluentci ../.. /nix", false => "true" } ])? diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml index 0171a23..7135dce 100644 --- a/postgres/Cargo.toml +++ b/postgres/Cargo.toml @@ -6,7 +6,7 @@ description = "Postgres plugin for FluentCI" edition = "2021" license = "MIT" name = "postgres" -version = "0.1.3" +version = "0.1.4" [lib] crate-type = [ diff --git a/postgres/README.md b/postgres/README.md index 30a8e8d..7ba1383 100644 --- a/postgres/README.md +++ b/postgres/README.md @@ -36,7 +36,7 @@ use fluentci_pdk::dag; // ... -dag().call("https://pkg.fluentci.io/postgres@v0.1.3?wasm=1", "start", vec![])?; +dag().call("https://pkg.fluentci.io/postgres@v0.1.4?wasm=1", "start", vec![])?; ``` ## 📚 Examples diff --git a/postgres/fluentci.toml b/postgres/fluentci.toml index cdfa397..254fbf2 100644 --- a/postgres/fluentci.toml +++ b/postgres/fluentci.toml @@ -8,4 +8,4 @@ keywords = [ ] license = "MIT" name = "postgres" -version = "0.1.3" +version = "0.1.4" diff --git a/postgres/src/helpers.rs b/postgres/src/helpers.rs index bdff791..d691513 100644 --- a/postgres/src/helpers.rs +++ b/postgres/src/helpers.rs @@ -65,7 +65,7 @@ pub fn setup() -> Result { ])? .with_exec(vec![ match is_root { - true => "chown -R fluentci /root /nix && chown -R root /root/.cache", + true => "chown -R fluentci ../.. /nix", false => "true" } ])?