mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-09-10 14:12:09 +00:00
Original version was: 7.0.0-A3 (but keystore changes where cherry picked into the branch) Uses alfresco-community-repo project structure rather than alfresco-core, alfresco-data-model, alfresco-repository and alfresco-remote-api. Simplify dependencies, which flow downstream rather than being overridden in packaging. Content repo base image separated from acs-community-packaging. Licenses and default key store moved upstream. Allows use in upstream images. TAS tests moved upstream, where they are content repository specific.
32 lines
1.0 KiB
Bash
Executable File
32 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
echo "=========================== Starting Copy to Release Bucket Script ==========================="
|
|
PS4="\[\e[35m\]+ \[\e[m\]"
|
|
set -vex
|
|
|
|
#
|
|
# Copy from S3 Release bucket to S3 eu.dl bucket
|
|
#
|
|
|
|
if [ -z "${RELEASE_VERSION}" ]; then
|
|
echo "Please provide a RELEASE_VERSION in the format <acs-version>-<additional-info> (7.0.0-EA or 7.0.0-SNAPSHOT)"
|
|
exit 1
|
|
fi
|
|
|
|
SOURCE="s3://alfresco-artefacts-staging/alfresco-content-services-community/release/${TRAVIS_BRANCH}/${TRAVIS_BUILD_NUMBER}"
|
|
DESTINATION="s3://eu.dl.alfresco.com/release/community/${RELEASE_VERSION}-build-${TRAVIS_BUILD_NUMBER}"
|
|
|
|
printf "\n%s\n%s\n" "${SOURCE}" "${DESTINATION}"
|
|
|
|
aws s3 cp --acl private \
|
|
"${SOURCE}/alfresco.war" \
|
|
"${DESTINATION}/alfresco.war"
|
|
|
|
aws s3 cp --acl private \
|
|
"${SOURCE}/alfresco-content-services-community-distribution-${RELEASE_VERSION}.zip" \
|
|
"${DESTINATION}/alfresco-content-services-community-distribution-${RELEASE_VERSION}.zip"
|
|
|
|
|
|
set +vex
|
|
echo "=========================== Finishing Copy to Release Bucket Script =========================="
|
|
|