EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit d16a4a70 authored by Mussab Abdalla's avatar Mussab Abdalla
Browse files

using the variable single bucket in django

parent 3d024ade
No related branches found
No related tags found
No related merge requests found
......@@ -124,12 +124,11 @@ if python3 manage.py id check "${COLLECTION}"; then
-p tenant-id "${OS_TENANT_ID}" \
-p region-name "${OS_REGION_NAME}"
for bucket in "data10" "data11" "data12" "data13" "data14" "data15" "data16" "data17" "data18" "data20" "data21" "data22" "data23" "data24" "data25" "data26"; do
python3 manage.py storage create \
${bucket} ${bucket} \
--type swift \
--storage-auth auth-cloud-ovh
done
python3 manage.py storage create \
${BUCKET_NAME} ${BUCKET_NAME} \
--type swift \
--storage-auth auth-cloud-ovh
else
......
......@@ -411,12 +411,10 @@ if python3 manage.py id check "${COLLECTION}"; then
-p tenant-id "${OS_TENANT_ID}" \
-p region-name "${OS_REGION_NAME}"
for bucket in "data10" "data11" "data12" "data13" "data14" "data15" "data16" "data17" "data18" "data20" "data21" "data22" "data23" "data24" "data25" "data26"; do
python3 manage.py storage create \
${bucket} ${bucket} \
--type swift \
--storage-auth auth-cloud-ovh
done
python3 manage.py storage create \
${BUCKET_NAME} ${BUCKET_NAME} \
--type swift \
--storage-auth auth-cloud-ovh
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment