(MODE-11365) Escape variables from terraform renderer.

This commit is contained in:
siozosdr 2019-06-24 10:54:36 +02:00
parent 1d4013c091
commit eec55f5aa7

View file

@ -51,13 +51,13 @@ sudo chown -R ubuntu:ubuntu /usr/src/app/.
tar xzf /tmp/tileserver-gl.tar.gz -C /tmp/uncompressed/ tar xzf /tmp/tileserver-gl.tar.gz -C /tmp/uncompressed/
# Setup map files # Setup map files
sudo mv -f /tmp/uncompressed/configuration/map_files/config.json /data/ sudo mv -f /tmp/uncompressed/configuration/map_files/config.json /data/
sudo rm -rf /data/mbtiles/${DATA_VERSION}_data/styles \ sudo rm -rf /data/mbtiles/$${DATA_VERSION}_data/styles \
/data/mbtiles/${DATA_VERSION}_data/glyphs \ /data/mbtiles/$${DATA_VERSION}_data/glyphs \
/data/mbtiles/${DATA_VERSION}_data/sprites /data/mbtiles/$${DATA_VERSION}_data/sprites
sudo mv -f /tmp/uncompressed/configuration/map_files/* /data/mbtiles/${DATA_VERSION}_data/ sudo mv -f /tmp/uncompressed/configuration/map_files/* /data/mbtiles/$${DATA_VERSION}_data/
sudo chown -R ubuntu:ubuntu /data/mbtiles/${DATA_VERSION}_data/styles sudo chown -R ubuntu:ubuntu /data/mbtiles/$${DATA_VERSION}_data/styles
sudo chown -R ubuntu:ubuntu /data/mbtiles/${DATA_VERSION}_data/glyphs sudo chown -R ubuntu:ubuntu /data/mbtiles/$${DATA_VERSION}_data/glyphs
sudo chown -R ubuntu:ubuntu /data/mbtiles/${DATA_VERSION}_data/sprites sudo chown -R ubuntu:ubuntu /data/mbtiles/$${DATA_VERSION}_data/sprites
sudo chown ubuntu:ubuntu /data/config.json sudo chown ubuntu:ubuntu /data/config.json
# Setup nginx # Setup nginx
sudo mv /tmp/uncompressed/configuration/nginx.conf /etc/nginx/. sudo mv /tmp/uncompressed/configuration/nginx.conf /etc/nginx/.