Skip to content

Commit 486655d

Browse files
committed
ci: add variable to select gitlab sync or stay on github master
1 parent ef15717 commit 486655d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab/ci/downstream/build-test-app-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
if [ "${TEST_APP_IDF_DOCKER_IMAGE}" = "${TEST_APP_IDF_LATEST_DOCKER_IMAGE}" ]; then
2626
if [ -n "${TEST_APP_IDF_MASTER_BRANCH:-}" ]; then
2727
TEST_APP_CUSTOM_BRANCH="$TEST_APP_IDF_MASTER_BRANCH"
28-
else
28+
elif [ "${TEST_APP_IDF_LATEST_SYNC_FROM_GITLAB}" = "1" ]; then
2929
# Checkout from gitlab master
3030
TEST_APP_CUSTOM_BRANCH="master"
3131
fi

0 commit comments

Comments
 (0)