Skip to content

Commit 820739f

Browse files
committed
cherry-pick: Enable tag event and nightly builds (#19452)
Refs: #19413
1 parent 3127131 commit 820739f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/actions/test_ya/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ runs:
141141
RUN_ID=$(
142142
testmo automation:run:create --instance "$TESTMO_URL" --project-id ${{ inputs.testman_project_id }} \
143143
--name "$TESTMO_RUN_NAME" --source "$TESTMO_SOURCE" --resources testmo.json \
144-
--tags "$BRANCH_TAG" --tags "$EXTRA_TAG"
144+
--tags "${BRANCH_NAME//[^a-zA-Z0-9-]/-}" --tags "$EXTRA_TAG"
145145
)
146146
echo "runid=${RUN_ID}" >> $GITHUB_OUTPUT
147147
echo "TEST_HISTORY_URL=${TESTMO_URL}/automation/runs/view/${RUN_ID}" >> $GITHUB_ENV

.github/workflows/nightly_build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
commit_sha:
1010
type: string
1111
default: ""
12+
push:
13+
tags:
14+
- '[0-9]**'
1215
jobs:
1316
build_and_test:
1417
strategy:
@@ -35,6 +38,7 @@ jobs:
3538
increment: false
3639
run_tests: false
3740
put_build_results_to_cache: false
41+
additional_ya_make_args: "-DDEBUGINFO_LINES_ONLY" # we don't need full symbols in CI checks
3842
secs: ${{ format('{{"TESTMO_TOKEN2":"{0}","AWS_KEY_ID":"{1}","AWS_KEY_VALUE":"{2}","REMOTE_CACHE_USERNAME":"{3}","REMOTE_CACHE_PASSWORD":"{4}"}}',
3943
secrets.TESTMO_TOKEN2, secrets.AWS_KEY_ID, secrets.AWS_KEY_VALUE, secrets.REMOTE_CACHE_USERNAME, secrets.REMOTE_CACHE_PASSWORD ) }}
4044
vars: ${{ format('{{"AWS_BUCKET":"{0}","AWS_ENDPOINT":"{1}","REMOTE_CACHE_URL":"{2}","TESTMO_URL":"{3}","TESTMO_PROJECT_ID":"{4}"}}',

0 commit comments

Comments
 (0)