Skip to content

Commit

Permalink
chore(IDX): k8s system tests schedule (#599)
Browse files Browse the repository at this point in the history
Adding a schedule for system tests on k8s.
  • Loading branch information
marko-k0 authored Jul 25, 2024
1 parent cb69def commit a98f594
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/system-tests-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ name: Sytem Tests K8s
# --field jobs="32"

on:
schedule:
- cron: "0 3 * * *"
pull_request:
paths:
- '.github/workflows/system-tests-k8s.yml'
Expand All @@ -22,8 +24,14 @@ on:
default: '32'

env:
TARGETS: "${{ github.event.inputs.targets || '//rs/tests/testing_verification:basic_health_test' }}"
JOBS: "${{ github.event.inputs.jobs || '32' }}"
TARGETS: |
${{ github.event_name == 'schedule' && '//...' ||
github.event_name == 'workflow_dispatch' && github.event.inputs.targets ||
'//rs/tests/testing_verification:basic_health_test' }}
JOBS: |
${{ github.event_name == 'schedule' && '9' ||
github.event_name == 'workflow_dispatch' && github.event.inputs.jobs ||
'32' }}
AWS_SHARED_CREDENTIALS_CONTENT: ${{ secrets.AWS_SHARED_CREDENTIALS_FILE }}
BAZEL_STARTUP_ARGS: "--output_base=/var/tmp/bazel-output/"
CI_COMMIT_SHA: ${{ github.sha }}
Expand Down

0 comments on commit a98f594

Please sign in to comment.