Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[ci] skip package_info tests on firebase test lab #3479

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion script/incremental_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,31 @@ else
fi

# Plugins that are excluded from this task.
ALL_EXCLUDED=("")
ALL_EXCLUDED=()
# Exclude nnbd plugins from stable.
if [ "$CHANNEL" == "stable" ]; then
ALL_EXCLUDED=($EXCLUDED_PLUGINS_FROM_STABLE)
fi

readonly FIREBASE_LAB_EXCLUDED_LIST=(
"package_info"
)

readonly FIREBASE_LAB_EXCLUDED=$(IFS=, ; echo "${FIREBASE_LAB_EXCLUDED_LIST[@]}")
# EXCLUDE plugins in FIREBASE_LAB_EXCLUDED_LIST when the command is firebase-test-lab.
# TODO(cyanglaz): remove this when firebase test lab tests isues are resolved for plugins in FIREBASE_LAB_EXCLUDED_LIST
# https://github.com/flutter/flutter/issues/74944
if [ "$1" == "firebase-test-lab" ]; then
if [ ${#ALL_EXCLUDED[@]} -eq 0 ]; then
ALL_EXCLUDED=("$FIREBASE_LAB_EXCLUDED")
else
ALL_EXCLUDED=("$ALL_EXCLUDED, $FIREBASE_LAB_EXCLUDED")
fi
fi

if [ ${#ALL_EXCLUDED[@]} -eq 0 ]; then
ALL_EXCLUDED=("")
else
echo "Excluding the following plugins: $ALL_EXCLUDED"
fi

Expand Down