use enterprise installer 5.2.7.4 for enterprise rest api tests

This commit is contained in:
Claudia Agache
2020-10-01 12:57:00 +03:00
parent 064d59b9ad
commit 8e73809c57
3 changed files with 8 additions and 7 deletions

View File

@@ -73,7 +73,7 @@ jobs:
stage: Tests stage: Tests
before_install: before_install:
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q - travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_COMMUNITY_PATH/target - travis_wait 5 bash scripts/downloadInstaller.sh $S3_COMMUNITY_INSTALLER_PATH $AUTOMATION_COMMUNITY_PATH/target
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_COMMUNITY_PATH/pom.xml install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_COMMUNITY_PATH/pom.xml
script: script:
- travis_wait 60 mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_COMMUNITY_PATH/pom.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - travis_wait 60 mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_COMMUNITY_PATH/pom.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
@@ -81,7 +81,7 @@ jobs:
stage: Tests stage: Tests
before_install: before_install:
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q - travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_ENTERPRISE_PATH/target - travis_wait 5 bash scripts/downloadInstaller.sh $S3_ENTERPRISE_INSTALLER_PATH $AUTOMATION_ENTERPRISE_PATH/target
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-enterprise -q -f $AUTOMATION_ENTERPRISE_PATH/pom.xml install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-enterprise -q -f $AUTOMATION_ENTERPRISE_PATH/pom.xml
script: script:
- travis_wait 60 mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_ENTERPRISE_PATH/pom.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - travis_wait 60 mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_ENTERPRISE_PATH/pom.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
@@ -89,7 +89,7 @@ jobs:
stage: Tests stage: Tests
before_install: before_install:
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q - travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target - travis_wait 5 bash scripts/downloadInstaller.sh $S3_COMMUNITY_INSTALLER_PATH $AUTOMATION_UI_PATH/target
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml
script: script:
- echo "Community UI Tests ..." - echo "Community UI Tests ..."
@@ -97,7 +97,7 @@ jobs:
stage: Tests stage: Tests
before_install: before_install:
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q - travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target - travis_wait 5 bash scripts/downloadInstaller.sh $S3_ENTERPRISE_INSTALLER_PATH $AUTOMATION_UI_PATH/target
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-enterprise -q -f $AUTOMATION_UI_PATH/pom.xml install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-enterprise -q -f $AUTOMATION_UI_PATH/pom.xml
script: script:
- echo "Enterprise UI Tests ..." - echo "Enterprise UI Tests ..."

View File

@@ -2,7 +2,7 @@
# fail script immediately on any errors in external commands and print the lines # fail script immediately on any errors in external commands and print the lines
set -ev set -ev
outputFile="$TRAVIS_BUILD_DIR/$1/alf-installer.bin" outputFile="$TRAVIS_BUILD_DIR/$2/alf-installer.bin"
host="s3-eu-west-1.amazonaws.com" host="s3-eu-west-1.amazonaws.com"
contentType="binary/octet-stream" contentType="binary/octet-stream"
dateValue=`TZ=GMT date -R` dateValue=`TZ=GMT date -R`
@@ -12,4 +12,4 @@ curl -H "Host: ${host}" \
-H "Date: ${dateValue}" \ -H "Date: ${dateValue}" \
-H "Content-Type: ${contentType}" \ -H "Content-Type: ${contentType}" \
-H "Authorization: AWS $RELEASE_AWS_ACCESS_KEY:${signature}" \ -H "Authorization: AWS $RELEASE_AWS_ACCESS_KEY:${signature}" \
https://${host}${S3_INSTALLER_PATH} -o ${outputFile} https://${host}$1 -o ${outputFile}

View File

@@ -3,4 +3,5 @@ env:
- AUTOMATION_COMMUNITY_PATH=rm-automation/rm-automation-community-rest-api - AUTOMATION_COMMUNITY_PATH=rm-automation/rm-automation-community-rest-api
- AUTOMATION_ENTERPRISE_PATH=rm-automation/rm-automation-enterprise-rest-api - AUTOMATION_ENTERPRISE_PATH=rm-automation/rm-automation-enterprise-rest-api
- AUTOMATION_UI_PATH=rm-automation/rm-automation-ui - AUTOMATION_UI_PATH=rm-automation/rm-automation-ui
- S3_INSTALLER_PATH=/eu.dl.alfresco.com/release/community/201707-build-00028/alfresco-community-installer-201707-linux-x64.bin - S3_COMMUNITY_INSTALLER_PATH=/eu.dl.alfresco.com/release/community/201707-build-00028/alfresco-community-installer-201707-linux-x64.bin
- S3_ENTERPRISE_INSTALLER_PATH=/eu.dl.alfresco.com/release/enterprise/5.2/5.2.7/5.2.7.4/alfresco-content-services-installer-5.2.7.4-linux-x64.bin