We are moving the metrics and rate-limiter workers to a bare-metal system, so that we can have more consistent results (particularly for the block device metrics) Signed-off-by: Bo Chen <bchen@crusoe.ai>
25 lines
878 B
YAML
25 lines
878 B
YAML
name: Cloud Hypervisor Tests (Rate-Limiter)
|
|
on: [merge_group, pull_request]
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Tests (Rate-Limiter)
|
|
runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-latest' || 'bare-metal-9950x' }}
|
|
env:
|
|
AUTH_DOWNLOAD_TOKEN: ${{ secrets.AUTH_DOWNLOAD_TOKEN }}
|
|
steps:
|
|
- name: Code checkout
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Run rate-limiter integration tests
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
timeout-minutes: 20
|
|
run: scripts/dev_cli.sh tests --integration-rate-limiter
|
|
- name: Skipping build for PR
|
|
if: ${{ github.event_name == 'pull_request' }}
|
|
run: echo "Skipping build for PR"
|