-
Notifications
You must be signed in to change notification settings - Fork 13
/
appspec.yml
61 lines (61 loc) · 1.6 KB
/
appspec.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: 0
os: linux
files:
- source: /wp
destination: /home/ubuntu/app/wp
overwrite: true
- source: /nginx
destination: /home/ubuntu/app/nginx
overwrite: true
- source: wp-cli.yml
destination: /home/ubuntu/app
overwrite: true
file_exists_behavior: OVERWRITE
permissions:
- object: /home/ubuntu/app/wp
owner: ubuntu
group: ubuntu
- object: /home/ubuntu/app/nginx
owner: ubuntu
group: ubuntu
- object: /home/ubuntu/app/wp-cli.yml
owner: ubuntu
group: ubuntu
hooks:
BeforeInstall:
- location: scripts/predeploy.sh
runas: ubuntu
AfterInstall:
- location: scripts/composer.sh
runas: ubuntu
- location: scripts/sso-conf.sh
runas: ubuntu
- location: scripts/deploy.sh
runas: ubuntu
- location: scripts/db-config.sh
runas: ubuntu
- location: scripts/clean-machine.sh
runas: ubuntu
branch_config:
wip\/.*: null
staging:
deploymentGroupName: staging-phila-gov
deploymentGroupConfig:
serviceRoleArn: 'arn:aws:iam::676612114792:role/beta.phila.gov_CodeDeploy'
deploymentConfig:
autoRollbackConfiguration:
enabled: false
test:
deploymentGroupName: test-phila-gov
deploymentGroupConfig:
serviceRoleArn: 'arn:aws:iam::676612114792:role/beta.phila.gov_CodeDeploy'
deploymentConfig:
autoRollbackConfiguration:
enabled: false
main:
deploymentGroupName: prod-phila-gov
deploymentGroupConfig:
serviceRoleArn: 'arn:aws:iam::676612114792:role/beta.phila.gov_CodeDeploy'
deploymentConfig:
autoRollbackConfiguration:
enabled: false