mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
APPS-261 Initial setup for WORM test automation
This commit is contained in:
35
scripts/worm-mb-tests.sh
Normal file
35
scripts/worm-mb-tests.sh
Normal file
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "=========================== Starting Integration Tests Script ==========================="
|
||||
PS4="\[\e[35m\]+ \[\e[m\]"
|
||||
set -vex
|
||||
pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
||||
|
||||
export AWS_ACCESS_KEY_ID=${CREATE_BUCKET_AWS_ACCESS_KEY}
|
||||
export AWS_SECRET_ACCESS_KEY=${CREATE_BUCKET_AWS_SECRET_KEY}
|
||||
|
||||
export BUCKET_NAME="travis-ags-worm-${TRAVIS_BUILD_NUMBER}-${TRAVIS_JOB_NUMBER}"
|
||||
export BUCKET2_NAME="travis-ags-worm-${TRAVIS_BUILD_NUMBER}-${TRAVIS_JOB_NUMBER}-b2"
|
||||
|
||||
export S3_BUCKET_REGION="eu-west-1"
|
||||
export S3_BUCKET_NAME="${BUCKET_NAME}"
|
||||
export S3_BUCKET2_NAME="${BUCKET2_NAME}"
|
||||
export S3_PROTOCOL=s3v2
|
||||
export S3_BUCKET2_PROTOCOL=s3vTest
|
||||
|
||||
mvn -B -U clean install -DskipTests -Pbuild-test-image
|
||||
|
||||
./scripts/start-compose.sh ./rm-enterprise/rm-enterprise-share/worm-support-docker-compose.yml
|
||||
|
||||
# Run the WORM tests
|
||||
# mvn -B -U clean test \
|
||||
# -Prun-tas-tests,run-multiple-buckets-tests \
|
||||
# -Denvironment=default \
|
||||
# -DrunBugs=false \
|
||||
# -Dalfresco.port=8080 \
|
||||
# -Dconnector.s3.bucketName=${BUCKET_NAME2}
|
||||
|
||||
|
||||
popd
|
||||
set +vex
|
||||
echo "=========================== Finishing Integration Tests Script =========================="
|
Reference in New Issue
Block a user