From 6b2fe8d1b62fc9acacfdfc180cc7003d9c787710 Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Tue, 12 Nov 2024 14:48:39 +0100 Subject: [PATCH] chore(ci): run bench profile as ubuntu --- .github/workflows/benchmark_boolean.yml | 5 ----- .github/workflows/benchmark_core_crypto.yml | 5 ----- .github/workflows/benchmark_erc20.yml | 5 ----- .github/workflows/benchmark_integer.yml | 5 ----- .github/workflows/benchmark_shortint.yml | 5 ----- .github/workflows/benchmark_signed_integer.yml | 5 ----- .github/workflows/benchmark_zk_pke.yml | 5 ----- ci/slab.toml | 7 +------ 8 files changed, 1 insertion(+), 41 deletions(-) diff --git a/.github/workflows/benchmark_boolean.yml b/.github/workflows/benchmark_boolean.yml index 3305b802aa..9a6b014b46 100644 --- a/.github/workflows/benchmark_boolean.yml +++ b/.github/workflows/benchmark_boolean.yml @@ -61,11 +61,6 @@ jobs: echo "COMMIT_HASH=$(git describe --tags --dirty)"; } >> "${GITHUB_ENV}" - - name: Set up home - # "Install rust" step require root user to have a HOME directory which is not set. - run: | - echo "HOME=/home/ubuntu" >> "${GITHUB_ENV}" - - name: Install rust uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a with: diff --git a/.github/workflows/benchmark_core_crypto.yml b/.github/workflows/benchmark_core_crypto.yml index 6bb615ae1e..d79b7a29fb 100644 --- a/.github/workflows/benchmark_core_crypto.yml +++ b/.github/workflows/benchmark_core_crypto.yml @@ -57,11 +57,6 @@ jobs: echo "COMMIT_HASH=$(git describe --tags --dirty)"; } >> "${GITHUB_ENV}" - - name: Set up home - # "Install rust" step require root user to have a HOME directory which is not set. - run: | - echo "HOME=/home/ubuntu" >> "${GITHUB_ENV}" - - name: Install rust uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a with: diff --git a/.github/workflows/benchmark_erc20.yml b/.github/workflows/benchmark_erc20.yml index 97491e82f3..f0f28b66f4 100644 --- a/.github/workflows/benchmark_erc20.yml +++ b/.github/workflows/benchmark_erc20.yml @@ -62,11 +62,6 @@ jobs: echo "COMMIT_HASH=$(git describe --tags --dirty)"; } >> "${GITHUB_ENV}" - - name: Set up home - # "Install rust" step require root user to have a HOME directory which is not set. - run: | - echo "HOME=/home/ubuntu" >> "${GITHUB_ENV}" - - name: Install rust uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a with: diff --git a/.github/workflows/benchmark_integer.yml b/.github/workflows/benchmark_integer.yml index 298450682c..87d99d4d67 100644 --- a/.github/workflows/benchmark_integer.yml +++ b/.github/workflows/benchmark_integer.yml @@ -100,11 +100,6 @@ jobs: echo "COMMIT_HASH=$(git describe --tags --dirty)"; } >> "${GITHUB_ENV}" - - name: Set up home - # "Install rust" step require root user to have a HOME directory which is not set. - run: | - echo "HOME=/home/ubuntu" >> "${GITHUB_ENV}" - - name: Install rust uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a with: diff --git a/.github/workflows/benchmark_shortint.yml b/.github/workflows/benchmark_shortint.yml index e978b70757..4864910a1c 100644 --- a/.github/workflows/benchmark_shortint.yml +++ b/.github/workflows/benchmark_shortint.yml @@ -92,11 +92,6 @@ jobs: echo "COMMIT_HASH=$(git describe --tags --dirty)"; } >> "${GITHUB_ENV}" - - name: Set up home - # "Install rust" step require root user to have a HOME directory which is not set. - run: | - echo "HOME=/home/ubuntu" >> "${GITHUB_ENV}" - - name: Install rust uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a with: diff --git a/.github/workflows/benchmark_signed_integer.yml b/.github/workflows/benchmark_signed_integer.yml index 63aee4aab3..b9bd0ad786 100644 --- a/.github/workflows/benchmark_signed_integer.yml +++ b/.github/workflows/benchmark_signed_integer.yml @@ -100,11 +100,6 @@ jobs: echo "COMMIT_HASH=$(git describe --tags --dirty)"; } >> "${GITHUB_ENV}" - - name: Set up home - # "Install rust" step require root user to have a HOME directory which is not set. - run: | - echo "HOME=/home/ubuntu" >> "${GITHUB_ENV}" - - name: Install rust uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a with: diff --git a/.github/workflows/benchmark_zk_pke.yml b/.github/workflows/benchmark_zk_pke.yml index 7b7b085559..5deb61c93b 100644 --- a/.github/workflows/benchmark_zk_pke.yml +++ b/.github/workflows/benchmark_zk_pke.yml @@ -97,11 +97,6 @@ jobs: echo "COMMIT_HASH=$(git describe --tags --dirty)"; } >> "${GITHUB_ENV}" - - name: Set up home - # "Install rust" step require root user to have a HOME directory which is not set. - run: | - echo "HOME=/home/ubuntu" >> "${GITHUB_ENV}" - - name: Install rust uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a with: diff --git a/ci/slab.toml b/ci/slab.toml index 337f11be19..6dd9fc20ca 100644 --- a/ci/slab.toml +++ b/ci/slab.toml @@ -20,12 +20,7 @@ user = "ubuntu" region = "eu-west-1" image_id = "ami-0e88d98b86aff13de" instance_type = "hpc7a.96xlarge" - -# Legacy profile section, to be removed. -[profile.bench] -region = "eu-west-1" -image_id = "ami-0e88d98b86aff13de" -instance_type = "hpc7a.96xlarge" +user = "ubuntu" # Profile used to build CUDA code without the need to get p-like instance. [backend.aws.gpu-build]