Skip to content

Commit 26a8a5f

Browse files
committed
build: ensure EngFlow priority is set properly on Trunk staging branch
Release note: none Epic: CODESYS-84
1 parent 2baf03a commit 26a8a5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/github/engflow-args.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ARGS="--config engflowpublic --tls_client_certificate=/home/agent/engflow.crt --
1515
if [[ "$GITHUB_ACTIONS_BRANCH" == staging-* ]]
1616
then
1717
ARGS="$ARGS --remote_execution_priority=8"
18-
elif [ "$GITHUB_ACTIONS_BRANCH" == "staging" ]
18+
elif [[ "$GITHUB_ACTIONS_BRANCH" == "staging" || "$GITHUB_ACTIONS_BRANCH" == trunk-merge/* ]]
1919
then
2020
ARGS="$ARGS --remote_execution_priority=6"
2121
fi

build/github/unit-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -euxo pipefail
1010

1111
EXTRA_PARAMS=""
1212

13-
if [ "$GITHUB_ACTIONS_BRANCH" == "staging" ]; then
13+
if [[ "$GITHUB_ACTIONS_BRANCH" == "staging" || "$GITHUB_ACTIONS_BRANCH" == trunk-merge/* ]]; then
1414
# enable up to 1 retry (2 attempts, worst-case) per test executable to report flakes but only on release branches and staging.
1515
EXTRA_PARAMS=" --flaky_test_attempts=2"
1616
fi

0 commit comments

Comments
 (0)