Skip to content

Commit

Permalink
Label postcommit for postcommit workflows (#6121)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexv-smirnov authored Jul 1, 2024
1 parent ada3760 commit 88e58ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/postcommit_asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build_and_test:
if: ${{vars.CHECKS_SWITCH != '' && fromJSON(vars.CHECKS_SWITCH).postcommit_asan == true}}
runs-on: [ self-hosted, auto-provisioned, build-preset-release-asan ]
runs-on: [ self-hosted, auto-provisioned, build-preset-release-asan, postcommit ]
name: Build and test release-asan
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postcommit_cmakebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Build and test cmake
uses: ./.github/workflows/build_and_test_provisioned.yml
with:
runner_label: auto-provisioned
runner_label: auto-provisioned, postcommit
run_unit_tests: false
run_functional_tests: false
secrets: inherit
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postcommit_relwithdebinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build_and_test:
if: ${{vars.CHECKS_SWITCH != '' && fromJSON(vars.CHECKS_SWITCH).postcommit_relwithdebinfo == true}}
runs-on: [ self-hosted, auto-provisioned, build-preset-relwithdebinfo ]
runs-on: [ self-hosted, auto-provisioned, build-preset-relwithdebinfo, postcommit ]
name: Build and test relwithdebinfo
steps:
- name: Checkout
Expand All @@ -35,4 +35,4 @@ jobs:
secs: ${{ format('{{"TESTMO_TOKEN2":"{0}","AWS_KEY_ID":"{1}","AWS_KEY_VALUE":"{2}","REMOTE_CACHE_USERNAME":"{3}","REMOTE_CACHE_PASSWORD":"{4}"}}',
secrets.TESTMO_TOKEN2, 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 ) }}
vars.AWS_BUCKET, vars.AWS_ENDPOINT, vars.REMOTE_CACHE_URL_YA, vars.TESTMO_URL, vars.TESTMO_PROJECT_ID ) }}

0 comments on commit 88e58ec

Please sign in to comment.