-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapply.sh
More file actions
32 lines (24 loc) · 806 Bytes
/
apply.sh
File metadata and controls
32 lines (24 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Apply all application resources
BASE_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# System resources
bash $BASE_PATH/system/scripts/apply.sh
if [ $? -ne 0 ]; then
exit 1
fi
# Postgres resources
# Postgres HOSTNAME: postgres-0.postgres.postgres.svc.cluster.local
# Postgres PORT: 5432
bash $BASE_PATH/postgres/scripts/apply.sh
# RabbitMQ resources
# RabbitMQ HOSTNAME: rabbitmq-0.rabbitmq.rabbits.svc.cluster.local
# RabbitMQ PORT: 5672
# RabbitMQ MANAGEMENT PORT: 15672
bash $BASE_PATH/rabbits/scripts/apply.sh
# Redis resources
# Redis HOSTNAME: redis-0.redis.redis.svc.cluster.local
# Redis PORT: 6379
bash $BASE_PATH/redis/scripts/apply.sh
# Services resources
bash $BASE_PATH/services/scripts/apply.sh
# Gateway resources
bash $BASE_PATH/gateway/scripts/apply.sh