File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
if [ $# -eq 0 ]
4
4
then
5
- echo " Usage: compose [alpha| dev|staging|test] VERSION"
5
+ echo " Usage: compose [dev|staging|test] VERSION"
6
6
exit 1
7
7
fi
8
8
@@ -11,7 +11,7 @@ APP_VERSION=$2
11
11
12
12
if [ $2 = " dev" ] || [ $2 = " staging" ] || [ $2 = " test" ] || [ $2 = " live" ]; then
13
13
echo " Environment is now first argument to this script. Sorry James."
14
- echo " Usage: compose [alpha| dev|staging|test] VERSION"
14
+ echo " Usage: compose [dev|staging|test] VERSION"
15
15
exit 1
16
16
fi
17
17
shift 2
@@ -44,9 +44,7 @@ cs-pg-$ENV:
44
44
EOM
45
45
46
46
47
- if [ " $ENV " == " alpha" ]; then
48
- : # Continue
49
- elif [ " $ENV " == " dev" ]; then
47
+ if [ " $ENV " == " dev" ]; then
50
48
: # Continue
51
49
elif [ " $ENV " == " staging" ]; then
52
50
: # Continue
@@ -58,7 +56,7 @@ elif [ "$ENV" == "test" ]; then
58
56
TEST_INIT_DATA=" - /local/data/test-cs-db-schema.sql:/docker-entrypoint-initdb.d/test-db-schema.sql"
59
57
PG_SERVICE=" $PG_SERVICE " $' \n ' " $TEST_INIT_DATA "
60
58
else
61
- echo " Must set environment to alpha, dev, staging or test"
59
+ echo " Must set environment to dev, staging or test"
62
60
exit 1
63
61
fi
64
62
Original file line number Diff line number Diff line change 9
9
10
10
11
11
APP_VERSION=$1
12
- ENV=alpha # Yes, we'll want to change this later
12
+ ENV=live
13
13
14
14
# We're done with the first argument. The remainder will be passed to docker-compose
15
15
shift 1
@@ -36,8 +36,8 @@ services:
36
36
volumes:
37
37
- /local/data/m2:/root/.m2:rw
38
38
- /local/data/isaac-config/cs/segue-config.$ENV .properties:/local/data/conf/segue-config.properties:ro
39
- - /local/data/cs-content:/local/data/cs-content:rw
40
39
- /local/data/isaac-config/cs/content_indices.properties:/local/data/conf/content_indices.properties:rw
40
+ - /local/data/cs-content:/local/data/cs-content:rw
41
41
- /local/data/keys:/local/data/keys:ro
42
42
- /local/data/school_list_2019.csv:/local/data/school_list_2019.csv:ro
43
43
- /var/log/isaac/cs-etl:/isaac-logs:rw
You can’t perform that action at this time.
0 commit comments