Update "make deploy" to new import/export system
This commit is contained in:
parent
2b04e1c217
commit
fb5ccf3f4e
|
@ -95,19 +95,19 @@ fi
|
|||
|
||||
if ${UPLOAD_MAPS} ; then
|
||||
|
||||
mkdir -p ${CARLA_EXPORTED_MAPS_FOLDER}
|
||||
pushd "${CARLA_EXPORTED_MAPS_FOLDER}" >/dev/null
|
||||
mkdir -p ${CARLA_DIST_FOLDER}
|
||||
|
||||
for MAP_PACKAGE in *.tar.gz; do
|
||||
pushd "${CARLA_DIST_FOLDER}" >/dev/null
|
||||
|
||||
DEPLOY_MAP_NAME=$(basename "${MAP_PACKAGE}" .tar.gz)_${REPOSITORY_TAG}.tar.gz
|
||||
DEPLOY_MAP_URI=${S3_PREFIX}/${DEPLOY_MAP_NAME}
|
||||
for MAP_PACKAGE in *_${REPOSITORY_TAG}.tar.gz ; do if [[ ${MAP_PACKAGE} != ${LATEST_PACKAGE} ]] ; then
|
||||
|
||||
DEPLOY_MAP_URI=${S3_PREFIX}/${MAP_PACKAGE}
|
||||
|
||||
${AWS_COPY} ${MAP_PACKAGE} ${DEPLOY_MAP_URI}
|
||||
|
||||
log "${MAP_PACKAGE} uploaded to ${DEPLOY_MAP_URI}."
|
||||
|
||||
done
|
||||
fi ; done
|
||||
|
||||
popd >/dev/null
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
CARLA_ROOT_FOLDER=${CURDIR}
|
||||
CARLA_BUILD_FOLDER=${CURDIR}/Build
|
||||
CARLA_DIST_FOLDER=${CURDIR}/Dist
|
||||
CARLA_EXPORTED_MAPS_FOLDER=${CURDIR}/ExportedMaps
|
||||
CARLA_BUILD_TOOLS_FOLDER=${CURDIR}/Util/BuildTools
|
||||
CARLA_TEST_RESULTS_FOLDER=${CARLA_BUILD_FOLDER}/test-results
|
||||
|
||||
|
|
Loading…
Reference in New Issue