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:
Maurizio Vitale
2019-05-28 11:04:40 +01:00
committed by Eugenio Romano
parent 6897f20954
commit f6d8bd4130
12 changed files with 213 additions and 50 deletions

View File

@@ -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}"