mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Remove demo shell test and make cloud a bit more stable (#6781)
* remove demo shell test and make cloud a bit more stable * fix lint * Update restore-content-directive.e2e.ts * Update restore-content-directive.e2e.ts * Update restore-content-directive.e2e.ts * try fix attach * Update .travis.yml * sleep... * remove about e2e demo shell.... * fix * lint fix * configure * refactor buuild * names and remove demo shell build from libs * fix new build approach * fix * fix * . * uncomment * . * . * fix * fix * . * fix * lock update * fix demo shell errors * use replay subject * fix some console log error * suffix problem * split process e2e * not need to check everywhere the pagination e2e * split content * fix * fix * fix * fix * reorg # Conflicts: # .travis.yml
This commit is contained in:
@@ -26,6 +26,3 @@ then
|
||||
fi;
|
||||
|
||||
./scripts/build/build-all-lib.sh
|
||||
|
||||
echo "====== Build Demo shell for production ====="
|
||||
NODE_OPTIONS=--max_old_space_size=8192 nx build demoshell --prod
|
@@ -6,7 +6,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR/../../../
|
||||
|
||||
export CONTEXT_ENV="content-services"
|
||||
export PROVIDER='ECM'
|
||||
export AUTH_TYPE='BASIC'
|
||||
|
||||
@@ -20,7 +19,7 @@ if [ "${TRAVIS_EVENT_TYPE}" == "pull_request" ]; then
|
||||
fi;
|
||||
|
||||
#-b is needed to run the Folder upload test that are not workin in Headless chrome
|
||||
RUN_E2E=$(echo ./scripts/test-e2e-lib.sh -host http://localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" --use-dist -m 4 || exit 1)
|
||||
RUN_E2E=$(echo ./scripts/test-e2e-lib.sh -host http://localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" --use-dist || exit 1)
|
||||
if [[ $AFFECTED_LIBS =~ "testing" || $AFFECTED_LIBS =~ "$CONTEXT_ENV" || "${TRAVIS_EVENT_TYPE}" == "push" || "${TRAVIS_EVENT_TYPE}" == "api" ]]; then
|
||||
echo "Run all e2e $CONTEXT_ENV"
|
||||
$RUN_CHECK
|
||||
|
@@ -6,7 +6,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR/../../../
|
||||
|
||||
export CONTEXT_ENV="process-services-cloud"
|
||||
export PROVIDER="ALL"
|
||||
export AUTH_TYPE="OAUTH"
|
||||
|
||||
|
@@ -4,7 +4,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR/../../../
|
||||
|
||||
export CONTEXT_ENV="process-services"
|
||||
export PROVIDER='BPM'
|
||||
export AUTH_TYPE="OAUTH"
|
||||
|
||||
|
@@ -97,12 +97,11 @@ while [[ $1 == -* ]]; do
|
||||
esac
|
||||
done
|
||||
|
||||
cd "$REPO_DIR"
|
||||
|
||||
JS_API_INSTALLED=$(npm list @alfresco/js-api --depth=0 --json | jq -r '.dependencies["@alfresco/js-api"].version')
|
||||
|
||||
JS_API_INSTALLED=$(cat package.json | jq -r '.dependencies["@alfresco/js-api"]')
|
||||
echo "Current installed JS-API $JS_API_INSTALLED"
|
||||
|
||||
cd "$REPO_DIR"
|
||||
|
||||
if [[ (-z "$TOKEN") || (-z "$VERSION") ]]
|
||||
then
|
||||
echo "Each of 'branch name' (-b) token (-t) and pr number (-p) have to be set. See -help."
|
||||
|
Reference in New Issue
Block a user