mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
CI - Ability to run only e2e cloud in case is the only affected folder (#4783)
* Remove skiplint option in favour of lint Refactor protractor config * Move rebase check * Remove the skiplint and run only e2e cloud * Remove the skip lint * Change e2e cloud and check the CI runs only that one * Enable the smart e2e on content * Delegate the e2e run on the specific project * Fix typo on specs option * Add basic readme and fix process service name problem * Fix bash else if
This commit is contained in:
committed by
Eugenio Romano
parent
6897f20954
commit
f6d8bd4130
@@ -13,7 +13,6 @@ show_help() {
|
||||
}
|
||||
|
||||
gnu_mode() {
|
||||
echo "====== GNU MODE ====="
|
||||
GNU=true
|
||||
}
|
||||
|
||||
@@ -42,9 +41,6 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#check if branch needs to be updated
|
||||
./scripts/check-branch-updated.sh -b $BRANCH_NAME || exit 1;
|
||||
|
||||
# tmp folder doesn't exist.
|
||||
if [ ! -d "$DIRECTORY" ]; then
|
||||
#find affected libs
|
||||
@@ -58,7 +54,7 @@ if [ ! -f $DIRECTORY/deps.txt ]; then
|
||||
npm run affected:libs -- $HEAD_SHA_BRANCH "HEAD" > $DIRECTORY/deps.txt
|
||||
fi
|
||||
|
||||
cat $DIRECTORY/deps.txt
|
||||
#cat $DIRECTORY/deps.txt
|
||||
#echo "extensions" > deps.txt
|
||||
|
||||
#clean file
|
||||
@@ -135,4 +131,4 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
echo "AFFECTED LIBS => ${AFFECTED_LIBS}"
|
||||
echo "${AFFECTED_LIBS}"
|
||||
|
Reference in New Issue
Block a user