Skip to content

Commit

Permalink
chore(ci): test hyperstack backend provider in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed Apr 5, 2024
1 parent da46a71 commit 1dced74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 6 additions & 1 deletion ci/slab.toml
Original file line number Diff line number Diff line change
@@ -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]

0 comments on commit 1dced74

Please sign in to comment.