8000 gha: fix azure integration tests + per-job timeout by csegarragonz · Pull Request #857 · faasm/faasm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gha: fix azure integration tests + per-job timeout #857

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

Merged
merged 2 commits into from
Mar 14, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
- name: "Start a managed k8s cluster on Azure's Kubernetes Service"
run: |
[[ "${{ matrix.wasm_vm }}" == "sgx" ]] && SUFFIX_SGX="True" || SUFFIX_SGX="False"
./bin/inv_wrapper.sh cluster.provision --name ${{ env.CLUSTER_NAME }} --vm Standard_DC4s_v3 --nodes 4 --location eastus2 --sgx ${SUFFIX_SGX}
./bin/inv_wrapper.sh cluster.provision --name ${{ env.CLUSTER_NAME }} --vm Standard_DC4s_v3 --nodes 2 --location eastus2 --sgx ${SUFFIX_SGX}
./bin/inv_wrapper.sh cluster.credentials --name ${{ env.CLUSTER_NAME }}
working-directory: ${{ github.workspace }}/experiment-base
- name: "Install faasmctl"
run: source ./bin/workon.sh && pip3 install faasmctl==0.34.0
working-directory: ${{ github.workspace }}/experiment-base
- name: "Deploy Faasm on k8s cluster"
run: source ./bin/workon.sh && faasmctl deploy.k8s --workers=4
run: source ./bin/workon.sh && faasmctl deploy.k8s --workers=1
working-directory: ${{ github.workspace }}/experiment-base
- name: "Build, upload and run a simple CPP function"
run: source ./bin/workon.sh && faasmctl cli.cpp --cmd "./bin/inv_wrapper.sh func demo hello func.upload demo hello func.invoke demo hello"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ jobs:
(needs.cpp-funcs.result == 'success' || needs.cpp-funcs.result == 'skipped') &&
(needs.py-funcs.result == 'success' || needs.py-funcs.result == 'skipped')
runs-on: ubuntu-latest
# This timeout should be long enough to let slow tests (w/ sanitisers)
# build and run, but still kill the GHA if something goes wrong
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -391,6 +394,9 @@ jobs:
(needs.cpp-funcs.result == 'success' || needs.cpp-funcs.result == 'skipped') &&
(needs.py-funcs.result == 'success' || needs.py-funcs.result == 'skipped')
runs-on: self-hosted
# This timeout should be long enough to let slow tests (w/ SGX)
# build and run, but still kill the GHA if something goes wrong
timeout-minutes: 40
env:
HOST_TYPE: ci
IS_SGX_CI: true
Expand Down
0