Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set default flakeguard runner #16043

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

lukaszcl
Copy link
Collaborator

Allow to change default flakeguard runner which is ubuntu-latest by default.

To do it call ./.github/workflows/flakeguard.yml workflow with default_tests_runner in extraArgs. E.g.

  trigger-flaky-test-detection-for-deployment-project:
    name: Flakeguard Deployment Project
    uses: ./.github/workflows/flakeguard.yml
    needs: [detect-changes]
    if: ${{ needs.detect-changes.outputs.deployment-changes == 'true'}}
    with:
      repoUrl: 'https://github.com/smartcontractkit/chainlink'
      projectPath: 'deployment'
      baseRef: ${{ github.base_ref }}
      headRef: ${{ github.head_ref }}
      maxPassRatio: '1.0'
      findByTestFilesDiff: true
      findByAffectedPackages: false
      slackNotificationAfterTestsChannelId: 'C07TRF65CNS' #flaky-test-detector-notifications
      extraArgs: '{ "skipped_tests": "TestAddLane", "run_with_race": "true", "print_failed_tests": "true", "test_repeat_count": "3", "omit_test_outputs_on_success": "true", "default_tests_runner": "<CUSTOM-RUNNER>" }'
    secrets:
      SLACK_BOT_TOKEN: ${{ secrets.QA_SLACK_API_KEY }}
      GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      FLAKEGUARD_SPLUNK_ENDPOINT: ${{ secrets.FLAKEGUARD_SPLUNK_ENDPOINT }}
      FLAKEGUARD_SPLUNK_HEC: ${{ secrets.FLAKEGUARD_SPLUNK_HEC }}

@lukaszcl lukaszcl requested review from a team as code owners January 23, 2025 11:24
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@lukaszcl lukaszcl enabled auto-merge January 23, 2025 14:08
@lukaszcl lukaszcl added this pull request to the merge queue Jan 24, 2025
Merged via the queue into develop with commit 1b7ebb2 Jan 24, 2025
101 of 102 checks passed
@lukaszcl lukaszcl deleted the allow-to-set-default-flakeguard-runner branch January 24, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants