Skip to content

Commit

Permalink
chore(system-tests-k8s): use --local_test_jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-k0 committed Jan 20, 2025
1 parent 8035be0 commit b4906ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/system-tests-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ on:
required: false
default: '//rs/tests/nns:node_removal_from_registry_test'
jobs:
description: 'Concurrent Bazel Jobs'
description: 'Concurrent Bazel Test Jobs'
required: false
default: '32'
default: '10'

env:
TARGETS: |
${{ github.event_name == 'schedule' && '//...' ||
github.event_name == 'workflow_dispatch' && github.event.inputs.targets ||
'//rs/tests/nns:node_removal_from_registry_test' }}
JOBS: |
${{ github.event_name == 'schedule' && '12' ||
${{ github.event_name == 'schedule' && '10' ||
github.event_name == 'workflow_dispatch' && github.event.inputs.jobs ||
'32' }}
'10' }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
CI_COMMIT_SHA: ${{ github.sha }}
CI_JOB_NAME: ${{ github.job }}
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
BAZEL_COMMAND: "test"
BAZEL_TARGETS: "${{ env.TARGETS }}"
BAZEL_CI_CONFIG: "--config=ci --repository_cache=/cache/bazel"
BAZEL_EXTRA_ARGS: "--jobs=${{ env.JOBS }} --test_tag_filters=k8s,-manual,-colocated,-long_test,-system_test_hourly,-system_test_nightly --k8s"
BAZEL_EXTRA_ARGS: "--local_test_jobs=${{ env.JOBS }} --test_tag_filters=k8s,-manual,-colocated,-long_test,-system_test_hourly,-system_test_nightly --k8s"
BUILDEVENT_APIKEY: ${{ secrets.HONEYCOMB_API_TOKEN }}

- name: Upload bazel-bep
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
BAZEL_COMMAND: "test"
BAZEL_TARGETS: "${{ env.TARGETS }}"
BAZEL_CI_CONFIG: "--config=ci --repository_cache=/cache/bazel"
BAZEL_EXTRA_ARGS: "--jobs=${{ env.JOBS }} --test_tag_filters=k8s --k8s"
BAZEL_EXTRA_ARGS: "--local_test_jobs=${{ env.JOBS }} --test_tag_filters=k8s --k8s"
BUILDEVENT_APIKEY: ${{ secrets.HONEYCOMB_API_TOKEN }}

- name: Upload bazel-bep
Expand Down

0 comments on commit b4906ce

Please sign in to comment.