-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprod-buildspec.yml
126 lines (122 loc) · 3.08 KB
/
prod-buildspec.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: 0.2
phases:
install:
runtime-versions:
python: 3.7
java: corretto8
commands:
- echo Entered the install phase...
- echo About to build $RESOURCE_PATH
- export PATH="/usr/local/bin:$PATH"
- /usr/local/bin/dockerd-entrypoint.sh
- cat /var/log/docker.log
- echo java version
- java -version
- pwd
- ls
- mvn package -DskipTests
batch:
build-list:
- identifier: af-south-1
env:
PUBLISH_TO_REGION: af-south-1
- identifier: ap-east-1
env:
PUBLISH_TO_REGION: ap-east-1
- identifier: ap-northeast-1
env:
PUBLISH_TO_REGION: ap-northeast-1
- identifier: ap-northeast-2
env:
PUBLISH_TO_REGION: ap-northeast-2
- identifier: ap-northeast-3
env:
PUBLISH_TO_REGION: ap-northeast-3
- identifier: ap-south-1
env:
PUBLISH_TO_REGION: ap-south-1
- identifier: ap-south-2
env:
PUBLISH_TO_REGION: ap-south-2
- identifier: ap-southeast-1
env:
PUBLISH_TO_REGION: ap-southeast-1
- identifier: ap-southeast-2
env:
PUBLISH_TO_REGION: ap-southeast-2
- identifier: ap-southeast-3
env:
PUBLISH_TO_REGION: ap-southeast-3
- identifier: ca-central-1
env:
PUBLISH_TO_REGION: ca-central-1
- identifier: cn-amazon
env:
PUBLISH_TO_REGION: cn-amazon
- identifier: eu-central-1
env:
PUBLISH_TO_REGION: eu-central-1
- identifier: eu-central-2
env:
PUBLISH_TO_REGION: eu-central-2
- identifier: eu-luxembourg
env:
PUBLISH_TO_REGION: eu-luxembourg
- identifier: eu-north-1
env:
PUBLISH_TO_REGION: eu-north-1
- identifier: eu-south-1
env:
PUBLISH_TO_REGION: eu-south-1
- identifier: eu-south-2
env:
PUBLISH_TO_REGION: eu-south-2
- identifier: eu-west-1
env:
PUBLISH_TO_REGION: eu-west-1
- identifier: eu-west-2
env:
PUBLISH_TO_REGION: eu-west-2
- identifier: eu-west-3
env:
PUBLISH_TO_REGION: eu-west-3
- identifier: in-amazon-1
env:
PUBLISH_TO_REGION: in-amazon-1
- identifier: me-central-1
env:
PUBLISH_TO_REGION: me-central-1
- identifier: me-south-1
env:
PUBLISH_TO_REGION: me-south-1
- identifier: sa-east-1
env:
PUBLISH_TO_REGION: sa-east-1
- identifier: us-east-1
env:
PUBLISH_TO_REGION: us-east-1
- identifier: us-east-2
env:
PUBLISH_TO_REGION: us-east-2
- identifier: us-seattle
env:
PUBLISH_TO_REGION: us-seattle
- identifier: us-west-1
env:
PUBLISH_TO_REGION: us-west-1
- identifier: us-west-2
env:
PUBLISH_TO_REGION: us-west-2
build:
commands:
- echo Entered the build phase...
- cd $RESOURCE_PATH
- pwd
- ls
- mvn package -DskipTests
- ./setup.sh
- ../deregister-all.sh $PUBLISH_TO_REGION
- ../publish.sh $PUBLISH_TO_REGION
finally:
- cat rpdk.log
- ./cleanup.sh