Skip to content

Commit

Permalink
chore(ci): update usage of slab-github-runner to last version
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed May 10, 2024
1 parent 83f2441 commit c3104ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
runs-on: ubuntu-latest
outputs:
runner-name: ${{ steps.start-instance.outputs.label }}
instance-id: ${{ steps.start-instance.outputs.ec2-instance-id }}
steps:
- name: Start instance
id: start-instance
uses: zama-ai/slab-github-runner@ab65ad70bb9f9e9251e4915ea5612bcad23cd9b1
uses: zama-ai/slab-github-runner@1dced74825027fe3d481392163ed8fc56813fb5d
with:
mode: start
github-token: ${{ secrets.SLAB_ACTION_TOKEN }}
slab-url: ${{ secrets.SLAB_BASE_URL }}
job-secret: ${{ secrets.JOB_SECRET }}
backend: aws
profile: bench

fft-benchmarks:
Expand Down Expand Up @@ -166,13 +166,12 @@ jobs:
steps:
- name: Stop instance
id: stop-instance
uses: zama-ai/slab-github-runner@ab65ad70bb9f9e9251e4915ea5612bcad23cd9b1
uses: zama-ai/slab-github-runner@1dced74825027fe3d481392163ed8fc56813fb5d
with:
mode: stop
github-token: ${{ secrets.SLAB_ACTION_TOKEN }}
slab-url: ${{ secrets.SLAB_BASE_URL }}
job-secret: ${{ secrets.JOB_SECRET }}
profile: bench
label: ${{ needs.setup-ec2.outputs.runner-name }}

- name: Slack Notification
Expand Down
5 changes: 1 addition & 4 deletions ci/slab.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
[profile.bench]
[backend.aws.bench]
region = "eu-west-1"
image_id = "ami-0f96f17e9f652c6ab"
instance_type = "hpc7a.96xlarge"

[command]
# Slab needs at least an empty [command] as placeholder to parse this file.

0 comments on commit c3104ea

Please sign in to comment.