Revert changes to aws deployment location for master builds on preview environment

This commit is contained in:
Rebecca Law
2016-04-18 14:13:38 +01:00
parent fb111b2968
commit 6c6dc51ea3
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
---
files:
-
destination: /home/notify-app/notifications-admin
destination: /home/ubuntu/notifications-admin
source: /
hooks:
AfterInstall:
+3 -3
View File
@@ -1,5 +1,5 @@
#!/bin/bash
echo "Chown application to be owned by notify"
cd /home/notify-app/;
chown -R notify-app:govuk-notify-applications notifications-admin
echo "Chown application to be owned by ubuntu"
cd /home/ubuntu/;
chown -R ubuntu:ubuntu notifications-admin
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash
echo "Install dependencies"
cd /home/notify-app/notifications-admin;
pip3 install -r /home/notify-app/notifications-admin/requirements.txt
cd /home/ubuntu/notifications-admin;
pip3 install -r /home/ubuntu/notifications-admin/requirements.txt
+1 -1
View File
@@ -1,7 +1,7 @@
from credstash import getAllSecrets
import os
default_env_file = '/home/notify-app/environment'
default_env_file = '/home/ubuntu/environment'
environment = 'live'
if os.path.isfile(default_env_file):