Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ running [Faasm](https://github.com/faasm/faasm) cluster.
To install `faasmctl` you need a working `pip` (virtual-)environment. Then:

```bash
pip install faasmctl==0.50.0
pip install faasmctl==0.51.0
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions faasmctl/bin/gen_proto_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ def gen_proto_files(clean=False):

# Find the right protoc binary
docker_exec_prefix = "docker exec {}".format(tmp_ctr_name)
find_protoc_cmd = "{} bash -c 'find ~/.conan -name protoc'".format(
find_protoc_cmd = "{} bash -c 'find ~/.conan2 -name protoc'".format(
docker_exec_prefix
)
protoc_bin = (
run(find_protoc_cmd, shell=True, capture_output=True)
.stdout.decode("utf-8")
.split("\n")
)
p_bin = [p_bin for p_bin in protoc_bin if "build_subfolder" in p_bin]
p_bin = [p_bin for p_bin in protoc_bin if "bin" in p_bin]
p_bin = p_bin[0].strip()

# Generate python protobuf files
Expand Down
8 changes: 4 additions & 4 deletions faasmctl/util/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ def get_compose_env_vars(faasm_checkout, mount_source, ini_file=None):

if mount_source:
env["FAASM_BUILD_DIR"] = join(faasm_checkout, "dev/faasm/build")
env["CONAN_CACHE_MOUNT_SOURCE"] = join(faasm_checkout, "dev/faasm/conan")
env["CONAN_CACHE_MOUNT_SOURCE"] = join(faasm_checkout, "dev/faasm/conan2")
env["FAASM_BUILD_MOUNT"] = "/build/faasm"
env["FAASM_CODE_MOUNT"] = "/usr/local/code/faasm"
env["FAASM_CONAN_MOUNT"] = "/root/.conan"
env["FAASM_CONAN_MOUNT"] = "/root/.conan2"
env["FAASM_LOCAL_MOUNT"] = "/usr/local/faasm"
env["PLANNER_BUILD_MOUNT"] = env["FAASM_BUILD_MOUNT"]
else:
# FIXME: by using `./dev` in non-mounted clusters we make it impossible
# to cleanly remove them (as ./dev is root-owned), so we can't rm -rf
# the directory
env["FAASM_BUILD_DIR"] = join(faasm_checkout, "dev/faasm/build")
env["CONAN_CACHE_MOUNT_SOURCE"] = join(faasm_checkout, "dev/faasm/conan")
env["CONAN_CACHE_MOUNT_SOURCE"] = join(faasm_checkout, "dev/faasm/conan2")
env["FAASM_BUILD_MOUNT"] = "/host_dev/build"
env["FAASM_CODE_MOUNT"] = "/host_dev/code"
env["FAASM_CONAN_MOUNT"] = "/host_dev/conan"
env["FAASM_CONAN_MOUNT"] = "/host_dev/conan2"
env["FAASM_LOCAL_MOUNT"] = "/host_dev/faasm-local"
env["PLANNER_BUILD_MOUNT"] = "/build/faabric/static"

Expand Down
2 changes: 1 addition & 1 deletion faasmctl/util/faasm.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from os import environ

FAASM_VERSION = "0.29.0"
FAASM_VERSION = "0.32.0"


def get_version():
Expand Down
2 changes: 1 addition & 1 deletion faasmctl/util/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FAASMCTL_VERSION = "0.50.0"
FAASMCTL_VERSION = "0.51.0"


def get_version():
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "faasmctl"
version = "0.50.0"
version = "0.51.0"
authors = [
{ name="Faasm Team", email="foo@bar.com" },
]
Expand Down