collect_analytics_fast.yml 866 B

12345678910111213141516171819202122232425262728293031
  1. name: Collect-analytics-fast-run
  2. on:
  3. schedule:
  4. - cron: "*/5 * * * *" # Every 5 min
  5. workflow_dispatch:
  6. inputs:
  7. commit_sha:
  8. type: string
  9. default: ""
  10. defaults:
  11. run:
  12. shell: bash
  13. jobs:
  14. main:
  15. name: Checkout and setup
  16. runs-on: [ self-hosted ]
  17. steps:
  18. - name: Checkout
  19. uses: actions/checkout@v4
  20. with:
  21. ref: ${{ inputs.commit_sha }}
  22. - name: Setup ydb access
  23. uses: ./.github/actions/setup_ci_ydb_service_account_key_file_credentials
  24. with:
  25. ci_ydb_service_account_key_file_credentials: ${{ secrets.CI_YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS }}
  26. - name: Install dependencies
  27. run: |
  28. python3 -m pip install ydb ydb[yc] codeowners pandas
  29. - name: Upload new test history to fast table
  30. run: python3 .github/scripts/analytics/test_history_fast.py