mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-25 02:38:54 +00:00
Fixed mix tag
This commit is contained in:
@@ -16,7 +16,7 @@ WORKDIR /code
|
||||
ADD requirements.txt /code/
|
||||
ADD . /code/
|
||||
|
||||
RUN apt-get update && apt-get install -y sox lame vim ccze node npm \
|
||||
RUN apt-get update --fix-missing && apt-get install -y sox lame vim ccze node npm \
|
||||
libboost-program-options-dev libsox-fmt-mp3 postgresql-client rsync openssh-client
|
||||
|
||||
RUN npm install -g yuglify
|
||||
|
||||
@@ -3,7 +3,7 @@ import os
|
||||
|
||||
print("Importing storage settings")
|
||||
|
||||
AZURE_ACCOUNT_NAME = os.environ.get('CDN_NAME', 'dsscdn')
|
||||
AZURE_ACCOUNT_NAME = os.environ.get('CDN_NAME', 'dsscdn2')
|
||||
AZURE_CONTAINER = 'media'
|
||||
AZURE_ACCOUNT_KEY = localsettings.AZURE_ACCOUNT_KEY
|
||||
AZURE_ITEM_BASE_URL = 'https://{}.blob.core.windows.net/'.format(AZURE_ACCOUNT_NAME)
|
||||
|
||||
@@ -7,7 +7,7 @@ from spa.models.mix import Mix
|
||||
|
||||
|
||||
def _update_azure_headers():
|
||||
ms = Mix.objects.all()
|
||||
ms = Mix.objects.filter(slug='september-2015')
|
||||
for m in ms:
|
||||
print("Update headers for {0}".format(m.title))
|
||||
cdn.set_azure_details(
|
||||
|
||||
Reference in New Issue
Block a user