mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
APPS-261 changes to travis file and scripts
This commit is contained in:
@@ -7,9 +7,6 @@ pushd "$(dirname "${BASH_SOURCE[0]}")/../"
|
||||
|
||||
docker login quay.io -u ${QUAY_USERNAME} -p ${QUAY_PASSWORD}
|
||||
|
||||
pip install awscli
|
||||
printf "${CREATE_BUCKET_AWS_ACCESS_KEY}\n${CREATE_BUCKET_AWS_SECRET_KEY}\n\n\n" | aws configure
|
||||
|
||||
export AWS_ACCESS_KEY_ID=${CREATE_BUCKET_AWS_ACCESS_KEY}
|
||||
export AWS_SECRET_ACCESS_KEY=${CREATE_BUCKET_AWS_SECRET_KEY}
|
||||
|
||||
@@ -19,11 +16,6 @@ export S3_BUCKET2_NAME="travis-ags-worm-${TRAVIS_JOB_NUMBER}-b2"
|
||||
export S3_PROTOCOL=s3v2
|
||||
export S3_BUCKET2_PROTOCOL=s3vTest
|
||||
|
||||
aws s3api create-bucket --bucket "${S3_BUCKET2_NAME}" --region us-east-1 --object-lock-enabled-for-bucket
|
||||
aws s3api put-object-lock-configuration \
|
||||
--bucket "${S3_BUCKET2_NAME}" \
|
||||
--object-lock-configuration '{ "ObjectLockEnabled": "Enabled", "Rule": { "DefaultRetention": { "Mode": "COMPLIANCE", "Days": 1 }}}'
|
||||
|
||||
bash ./scripts/start-compose.sh rm-enterprise/rm-enterprise-share/worm-support-docker-compose.yml
|
||||
|
||||
# Run the WORM tests
|
||||
|
Reference in New Issue
Block a user