postcommit_asan.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. name: Postcommit_asan
  2. on:
  3. push:
  4. branches:
  5. - 'main'
  6. - 'stable-*'
  7. - 'stream-nb-*'
  8. paths-ignore:
  9. - 'ydb/docs/**'
  10. - '.github/**'
  11. - '*'
  12. jobs:
  13. build_and_test:
  14. if: ${{vars.CHECKS_SWITCH != '' && fromJSON(vars.CHECKS_SWITCH).postcommit_asan == true}}
  15. runs-on: [ self-hosted, auto-provisioned, build-preset-release-asan ]
  16. name: Build and test release-asan
  17. steps:
  18. - name: Checkout
  19. uses: actions/checkout@v3
  20. with:
  21. fetch-depth: 2
  22. - name: Build and test
  23. uses: ./.github/actions/build_and_test_ya
  24. with:
  25. build_preset: "release-asan"
  26. build_target: "ydb/"
  27. increment: true
  28. run_tests: true
  29. test_size: "small,medium"
  30. test_threads: 52
  31. put_build_results_to_cache: true
  32. secs: ${{ format('{{"TESTMO_TOKEN":"{0}","AWS_KEY_ID":"{1}","AWS_KEY_VALUE":"{2}","REMOTE_CACHE_USERNAME":"{3}","REMOTE_CACHE_PASSWORD":"{4}"}}',
  33. secrets.TESTMO_TOKEN, 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 ) }}