Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

planner: support preloading a scheduling decision #804

Merged
merged 10 commits into from
Nov 29, 2023
10 changes: 5 additions & 5 deletions .env
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FAASM_VERSION=0.13.0
FAASM_CLI_IMAGE=faasm.azurecr.io/cli:0.13.0
FAASM_WORKER_IMAGE=faasm.azurecr.io/worker:0.13.0
FAASM_VERSION=0.14.0
FAASM_CLI_IMAGE=faasm.azurecr.io/cli:0.14.0
FAASM_WORKER_IMAGE=faasm.azurecr.io/worker:0.14.0

FAABRIC_VERSION=0.8.0
FAABRIC_PLANNER_IMAGE=faasm.azurecr.io/planner:0.8.0
FAABRIC_VERSION=0.9.0
FAABRIC_PLANNER_IMAGE=faasm.azurecr.io/planner:0.9.0

CPP_VERSION=0.3.1
CPP_CLI_IMAGE=faasm.azurecr.io/cpp-sysroot:0.3.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
./bin/inv_wrapper.sh cluster.credentials --name ${{ env.CLUSTER_NAME }}
working-directory: ${{ github.workspace }}/experiment-base
- name: "Install faasmctl"
run: pip3 install faasmctl==0.13.3
run: pip3 install faasmctl==0.16.0
- name: "Deploy Faasm on k8s cluster"
run: faasmctl deploy.k8s --workers=4
- name: "Build, upload and run a simple CPP function"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sgx_hw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: self-hosted
env:
VM_BASE_NAME: gha-sgx-hw-vm
FAASM_VERSION: 0.13.0
FAASM_VERSION: 0.14.0
steps:
- name: "Check out the experiment-base code"
uses: actions/checkout@v4
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
container:
image: faasm.azurecr.io/cli:0.13.0
image: faasm.azurecr.io/cli:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
container:
image: faasm.azurecr.io/cli:0.13.0
image: faasm.azurecr.io/cli:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
container:
image: faasm.azurecr.io/cli:0.13.0
image: faasm.azurecr.io/cli:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
Expand Down Expand Up @@ -224,18 +224,18 @@ jobs:
env:
HOST_TYPE: ci
container:
image: faasm.azurecr.io/cli:0.13.0
image: faasm.azurecr.io/cli:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
services:
redis:
image: faasm.azurecr.io/redis:0.13.0
image: faasm.azurecr.io/redis:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
minio:
image: faasm.azurecr.io/minio:0.13.0
image: faasm.azurecr.io/minio:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
Expand Down Expand Up @@ -330,18 +330,18 @@ jobs:
env:
HOST_TYPE: ci
container:
image: faasm.azurecr.io/cli:0.13.0
image: faasm.azurecr.io/cli:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
services:
redis:
image: faasm.azurecr.io/redis:0.13.0
image: faasm.azurecr.io/redis:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
minio:
image: faasm.azurecr.io/minio:0.13.0
image: faasm.azurecr.io/minio:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
Expand Down Expand Up @@ -434,18 +434,18 @@ jobs:
env:
HOST_TYPE: ci
container:
image: faasm.azurecr.io/cli-sgx-sim:0.13.0
image: faasm.azurecr.io/cli-sgx-sim:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
services:
redis:
image: faasm.azurecr.io/redis:0.13.0
image: faasm.azurecr.io/redis:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
minio:
image: faasm.azurecr.io/minio:0.13.0
image: faasm.azurecr.io/minio:0.14.0
credentials:
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
Expand Down Expand Up @@ -525,7 +525,7 @@ jobs:
env:
CONAN_CACHE_MOUNT_SOURCE: ~/.conan
FAASM_INI_FILE: ./faasm.ini
FAASM_VERSION: 0.13.0
FAASM_VERSION: 0.14.0
WASM_VM: ${{ matrix.wasm_vm }}
steps:
- uses: csegarragonz/set-compose-version-action@main
Expand All @@ -549,7 +549,7 @@ jobs:
with:
submodules: true
- name: "Install faasmctl"
run: pip3 install faasmctl==0.13.3
run: pip3 install faasmctl==0.16.0
# Cache contains architecture-specific machine code
- name: "Get CPU model name"
run: echo "CPU_MODEL=$(./bin/print_cpu.sh)" >> $GITHUB_ENV
Expand Down Expand Up @@ -593,7 +593,7 @@ jobs:
working-directory: ${{ github.workspace }}
env:
FAASM_INI_FILE: ./faasm.ini
FAASM_VERSION: 0.13.0
FAASM_VERSION: 0.14.0
PYTHON_CODEGEN: "on"
steps:
- uses: csegarragonz/set-compose-version-action@main
Expand Down Expand Up @@ -622,7 +622,7 @@ jobs:
build-type: release
if: matrix.detached == false
- name: "Install faasmctl"
run: pip3 install faasmctl==0.13.3
run: pip3 install faasmctl==0.16.0
- name: "Fetch python's CPP submodulle"
run: git submodule update --init -f third-party/cpp
working-directory: ${{ github.workspace }}/clients/python
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.13.0
0.14.0
2 changes: 1 addition & 1 deletion deploy/k8s-common/minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
containers:
- name: minio-main
image: faasm.azurecr.io/minio:0.13.0
image: faasm.azurecr.io/minio:0.14.0
env:
- name: MINIO_ROOT_USER
value: "minio"
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s-common/planner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
containers:
- name: planner
image: faasm.azurecr.io/planner:0.8.0
image: faasm.azurecr.io/planner:0.9.0
ports:
- containerPort: 8081
env:
Expand Down
4 changes: 2 additions & 2 deletions deploy/k8s-common/redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
containers:
- name: master
image: faasm.azurecr.io/redis:0.13.0
image: faasm.azurecr.io/redis:0.14.0
ports:
- containerPort: 6379

Expand All @@ -28,7 +28,7 @@ metadata:
spec:
containers:
- name: master
image: faasm.azurecr.io/redis:0.13.0
image: faasm.azurecr.io/redis:0.14.0
ports:
- containerPort: 6379

Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s-sgx/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
containers:
- name: upload
image: faasm.azurecr.io/upload:0.13.0
image: faasm.azurecr.io/upload:0.14.0
ports:
- containerPort: 8002
- containerPort: 5000
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s-sgx/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
weight: 100

containers:
- image: faasm.azurecr.io/worker-sgx:0.13.0
- image: faasm.azurecr.io/worker-sgx:0.14.0
name: faasm-worker
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s-wamr/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
containers:
- name: upload
image: faasm.azurecr.io/upload:0.13.0
image: faasm.azurecr.io/upload:0.14.0
ports:
- containerPort: 8002
- containerPort: 5000
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s-wamr/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
weight: 100

containers:
- image: faasm.azurecr.io/worker:0.13.0
- image: faasm.azurecr.io/worker:0.14.0
name: faasm-worker
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
spec:
containers:
- name: upload
image: faasm.azurecr.io/upload:0.13.0
image: faasm.azurecr.io/upload:0.14.0
ports:
- containerPort: 8002
- containerPort: 5000
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
weight: 100

containers:
- image: faasm.azurecr.io/worker:0.13.0
- image: faasm.azurecr.io/worker:0.14.0
name: faasm-worker
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
black==22.3.0
breathe==4.32.0
docker==5.0.0
faasmctl==0.13.3
faasmctl==0.16.0
flake8==3.9.2
gunicorn==20.1.0
invoke>=2.0.0
Expand Down
Loading