From 1dced74825027fe3d481392163ed8fc56813fb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Fri, 5 Apr 2024 09:05:23 +0200 Subject: [PATCH] chore(ci): test hyperstack backend provider in ci --- .github/workflows/ci.yml | 7 +++++-- ci/slab.toml | 7 ++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 478f4e7..715fb69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,10 @@ jobs: test-action: name: GitHub Actions Test runs-on: ubuntu-latest - + strategy: + matrix: + provider: [ aws, hyperstack ] + fail-fast: false steps: - name: Checkout id: checkout @@ -59,7 +62,7 @@ jobs: github-token: ${{ secrets.SLAB_ACTION_TOKEN }} slab-url: ${{ secrets.SLAB_BASE_URL_PRE_PROD }} job-secret: ${{ secrets.JOB_SECRET }} - backend: aws + backend: ${{ matrix.provider }} profile: ci-test - name: Test stop instance diff --git a/ci/slab.toml b/ci/slab.toml index 7b89852..5db5621 100644 --- a/ci/slab.toml +++ b/ci/slab.toml @@ -1,9 +1,14 @@ -# This profile is dedicated to test action behavior by replicating +# These profiles are dedicated to test action behavior by replicating # profiles that can be found on repository using this workflow. [backend.aws.ci-test] region = "eu-west-3" image_id = "ami-01d21b7be69801c2f" # Ubuntu 22.04 instance_type = "t3.2xlarge" +[backend.hyperstack.ci-test] +environment_name = "canada" +image_name = "Ubuntu Server 22.04 LTS R535 CUDA 12.2" +flavor_name = "m" + [profile] [command]