prewarm-debug.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. name: Prewarm-debug
  2. on:
  3. schedule:
  4. - cron: "0 */2 * * *" # At minute 0 past every 2nd hour
  5. workflow_dispatch:
  6. jobs:
  7. build_and_test:
  8. strategy:
  9. fail-fast: false
  10. matrix:
  11. build_preset: ["relwithdebinfo", "release-asan", "debug"]
  12. runs-on: [ self-hosted, auto-provisioned, "${{ format('build-preset-{0}', matrix.build_preset) }}" ]
  13. name: Build and test ${{ matrix.build_preset }}
  14. steps:
  15. - name: Checkout
  16. uses: actions/checkout@v4
  17. with:
  18. ref: ${{ needs.check-running-allowed.outputs.commit_sha }}
  19. fetch-depth: 2
  20. - name: Setup ydb access
  21. uses: ./.github/actions/setup_ci_ydb_service_account_key_file_credentials
  22. with:
  23. ci_ydb_service_account_key_file_credentials: ${{ secrets.CI_YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS }}
  24. - name: Build and test
  25. uses: ./.github/actions/build_and_test_ya
  26. with:
  27. build_preset: ${{ matrix.build_preset }}
  28. build_target: "ydb/"
  29. increment: false
  30. run_tests: false
  31. put_build_results_to_cache: true
  32. secs: ${{ format('{{"TESTMO_TOKEN2":"{0}","AWS_KEY_ID":"{1}","AWS_KEY_VALUE":"{2}","REMOTE_CACHE_USERNAME":"{3}","REMOTE_CACHE_PASSWORD":"{4}"}}',
  33. secrets.TESTMO_TOKEN2, secrets.AWS_KEY_ID, secrets.AWS_KEY_VALUE, secrets.REMOTE_CACHE_USERNAME, secrets.REMOTE_CACHE_PASSWORD ) }}
  34. vars: ${{ format('{{"AWS_BUCKET":"{0}","AWS_ENDPOINT":"{1}","REMOTE_CACHE_URL":"{2}","TESTMO_URL":"{3}","TESTMO_PROJECT_ID":"{4}"}}',
  35. vars.AWS_BUCKET, vars.AWS_ENDPOINT, vars.REMOTE_CACHE_URL_YA, vars.TESTMO_URL, vars.TESTMO_PROJECT_ID ) }}