From f0cde33c336eae5322ce7fff2b1740fe1ccd27e3 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Tue, 22 Apr 2025 16:20:05 +0000 Subject: [PATCH 1/2] docker: move from acr to ghcr --- README.md | 2 +- faasmctl/bin/gen_proto_files.py | 2 +- faasmctl/util/faasm.py | 4 ++-- faasmctl/util/version.py | 2 +- pyproject.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 050f0d5..f60c36f 100644 --- a/README.md +++ b/README.md @@ -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.48.0 +pip install faasmctl==0.49.0 ``` ## Usage diff --git a/faasmctl/bin/gen_proto_files.py b/faasmctl/bin/gen_proto_files.py index e797f92..e07bdc9 100755 --- a/faasmctl/bin/gen_proto_files.py +++ b/faasmctl/bin/gen_proto_files.py @@ -12,7 +12,7 @@ # able to run this file in standalone mode, as if the proto files are not # generated, some imports in `faasmctl` will fail GEN_PROTO_DIR = join(FAASMCTL_ROOT, "util", "gen_proto") -FAASM_CLI_IMAGE = "faasm.azurecr.io/cli" +FAASM_CLI_IMAGE = "ghcr.io/faasm/cli" PROTO_FILES = [ "faabric_pb2.py", diff --git a/faasmctl/util/faasm.py b/faasmctl/util/faasm.py index 070758c..a895b13 100644 --- a/faasmctl/util/faasm.py +++ b/faasmctl/util/faasm.py @@ -1,6 +1,6 @@ from os import environ -FAASM_VERSION = "0.27.0" +FAASM_VERSION = "0.30.0" def get_version(): @@ -21,5 +21,5 @@ def get_version(): # Define this constants after the above method to be able to use it -FAASM_DOCKER_REGISTRY = "faasm.azurecr.io" +FAASM_DOCKER_REGISTRY = "ghcr.io/faasm" FAASM_CLI_IMAGE = "{}/cli:{}".format(FAASM_DOCKER_REGISTRY, get_version()) diff --git a/faasmctl/util/version.py b/faasmctl/util/version.py index 5a18fd7..3846785 100644 --- a/faasmctl/util/version.py +++ b/faasmctl/util/version.py @@ -1,4 +1,4 @@ -FAASMCTL_VERSION = "0.48.0" +FAASMCTL_VERSION = "0.49.0" def get_version(): diff --git a/pyproject.toml b/pyproject.toml index 6612167..af6ffa0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "faasmctl" -version = "0.48.0" +version = "0.49.0" authors = [ { name="Faasm Team", email="foo@bar.com" }, ] From d60f5d07b5c1d615b5b8050fada69aefb7a554b1 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Tue, 22 Apr 2025 16:25:51 +0000 Subject: [PATCH 2/2] earlier faasm --- faasmctl/util/faasm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faasmctl/util/faasm.py b/faasmctl/util/faasm.py index a895b13..654a5d1 100644 --- a/faasmctl/util/faasm.py +++ b/faasmctl/util/faasm.py @@ -1,6 +1,6 @@ from os import environ -FAASM_VERSION = "0.30.0" +FAASM_VERSION = "0.29.0" def get_version():