Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
maximyurchuk committed Apr 19, 2024
1 parent 7b69304 commit ed6d79f
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions .github/workflows/acceptance_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,27 @@ on:
type: string

jobs:
ya_x86_64:
name: Build/test x86_64 using YA
uses: ./.github/workflows/build_and_test_ya_provisioned.yml
secrets: inherit
with:
runner_label: auto-provisioned
build_preset: relwithdebinfo
build_target: ydb/tests/acceptance
run_build: true
run_tests: true
main:
name: Build and test ${{ inputs.build_preset }}
runs-on: [ self-hosted, "${{ inputs.runner_label }}", "${{ inputs.runner_additional_label || inputs.runner_label }}"]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ inputs.commit_sha }}

- name: Build and test
uses: ./.github/actions/build_and_test_ya
with:
build_preset: ${{ inputs.build_preset }}
build_target: ${{ inputs.build_target }}
increment: false
run_tests: ${{ inputs.run_tests }}
test_size: ${{ inputs.test_size }}
test_type: ${{ inputs.test_type }}
test_threads: ${{ inputs.test_threads }}
put_build_results_to_cache: ${{ inputs.put_build_results_to_cache }}
secs: ${{ format('{{"TESTMO_TOKEN":"{0}","AWS_KEY_ID":"{1}","AWS_KEY_VALUE":"{2}","REMOTE_CACHE_USERNAME":"{3}","REMOTE_CACHE_PASSWORD":"{4}"}}',
secrets.TESTMO_TOKEN, secrets.AWS_KEY_ID, secrets.AWS_KEY_VALUE, secrets.REMOTE_CACHE_USERNAME, secrets.REMOTE_CACHE_PASSWORD ) }}
vars: ${{ format('{{"AWS_BUCKET":"{0}","AWS_ENDPOINT":"{1}","REMOTE_CACHE_URL":"{2}","TESTMO_URL":"{3}","TESTMO_PROJECT_ID":"{4}"}}',
vars.AWS_BUCKET, vars.AWS_ENDPOINT, vars.REMOTE_CACHE_URL_YA, vars.TESTMO_URL, vars.TESTMO_PROJECT_ID ) }}

0 comments on commit ed6d79f

Please sign in to comment.