Skip to content

Commit 25113f4

Browse files
authored
Publishing new layers and update Travis (#8)
1 parent 2796b0d commit 25113f4

File tree

4 files changed

+164
-41
lines changed

4 files changed

+164
-41
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ services:
1010
env:
1111
- LAYER=amqp PHP="72 73 74"
1212
- LAYER=blackfire PHP="72 73 74"
13+
- LAYER=gmp PHP="72 73 74"
14+
- LAYER=memcached PHP="72 73 74"
1315
- LAYER=xdebug PHP="72 73 74"
1416

1517
before_install:

checksums.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
{
2-
"blackfire-php-74": "d84b2d7f3e290237a40994e2d758fb05",
2+
"amqp-php-72": "5f7a99b816afb6f8135b0c03d047a45f",
3+
"amqp-php-73": "32a6249787c6d087a8d7f9ee1576cb51",
34
"amqp-php-74": "a77a771d9fbdb85c3733be399fe1d674",
4-
"xdebug-php-74": "943b56db0f477f0be019318338f84dcb",
55
"blackfire-php-72": "41ee2abc51d6645b451b1ca712b989eb",
66
"blackfire-php-73": "b8c9548691e517c73aa9342fc17d7a85",
7-
"amqp-php-72": "5f7a99b816afb6f8135b0c03d047a45f",
7+
"blackfire-php-74": "d84b2d7f3e290237a40994e2d758fb05",
8+
"gmp-php-72": "69ed7961ec8a033c38a8bb42be585511",
9+
"gmp-php-73": "4f15e5c23678d8601f33188277701160",
10+
"gmp-php-74": "9f30c5d02aab1a509d34d81ce65cc1b8",
11+
"memcached-php-72": "cba6854cf7a4d6fc52607dc236cad9a4",
12+
"memcached-php-73": "3a283bb60997aa2a756909dcc21bbb0f",
13+
"memcached-php-74": "c4ab31ec43aecd6ac0478196d5c3ed6d",
814
"xdebug-php-72": "44d5a532fcb4a54ac4d9b2d6f1337c92",
915
"xdebug-php-73": "4918003f160dd65986f5247d283846d4",
10-
"amqp-php-73": "32a6249787c6d087a8d7f9ee1576cb51"
16+
"xdebug-php-74": "943b56db0f477f0be019318338f84dcb"
1117
}

layers.json

Lines changed: 145 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"blackfire-php-74": {
2+
"amqp-php-72": {
33
"ca-central-1": 1,
44
"eu-central-1": 1,
55
"eu-north-1": 1,
@@ -17,25 +17,25 @@
1717
"ap-southeast-1": 1,
1818
"ap-southeast-2": 1
1919
},
20-
"amqp-php-74": {
21-
"ca-central-1": 1,
22-
"eu-central-1": 1,
23-
"eu-north-1": 1,
24-
"eu-west-1": 1,
25-
"eu-west-2": 1,
26-
"eu-west-3": 1,
27-
"sa-east-1": 1,
28-
"us-east-1": 1,
29-
"us-east-2": 1,
30-
"us-west-1": 1,
31-
"us-west-2": 1,
32-
"ap-south-1": 1,
33-
"ap-northeast-1": 1,
34-
"ap-northeast-2": 1,
35-
"ap-southeast-1": 1,
36-
"ap-southeast-2": 1
20+
"amqp-php-73": {
21+
"ca-central-1": 4,
22+
"eu-central-1": 4,
23+
"eu-north-1": 4,
24+
"eu-west-1": 4,
25+
"eu-west-2": 4,
26+
"eu-west-3": 4,
27+
"sa-east-1": 4,
28+
"us-east-1": 4,
29+
"us-east-2": 4,
30+
"us-west-1": 4,
31+
"us-west-2": 4,
32+
"ap-south-1": 4,
33+
"ap-northeast-1": 4,
34+
"ap-northeast-2": 4,
35+
"ap-southeast-1": 4,
36+
"ap-southeast-2": 4
3737
},
38-
"xdebug-php-74": {
38+
"amqp-php-74": {
3939
"ca-central-1": 1,
4040
"eu-central-1": 1,
4141
"eu-north-1": 1,
@@ -89,7 +89,115 @@
8989
"ap-southeast-1": 2,
9090
"ap-southeast-2": 2
9191
},
92-
"amqp-php-72": {
92+
"blackfire-php-74": {
93+
"ca-central-1": 1,
94+
"eu-central-1": 1,
95+
"eu-north-1": 1,
96+
"eu-west-1": 1,
97+
"eu-west-2": 1,
98+
"eu-west-3": 1,
99+
"sa-east-1": 1,
100+
"us-east-1": 1,
101+
"us-east-2": 1,
102+
"us-west-1": 1,
103+
"us-west-2": 1,
104+
"ap-south-1": 1,
105+
"ap-northeast-1": 1,
106+
"ap-northeast-2": 1,
107+
"ap-southeast-1": 1,
108+
"ap-southeast-2": 1
109+
},
110+
"gmp-php-72": {
111+
"ca-central-1": 1,
112+
"eu-central-1": 1,
113+
"eu-north-1": 1,
114+
"eu-west-1": 1,
115+
"eu-west-2": 1,
116+
"eu-west-3": 1,
117+
"sa-east-1": 1,
118+
"us-east-1": 1,
119+
"us-east-2": 1,
120+
"us-west-1": 1,
121+
"us-west-2": 1,
122+
"ap-south-1": 1,
123+
"ap-northeast-1": 1,
124+
"ap-northeast-2": 1,
125+
"ap-southeast-1": 1,
126+
"ap-southeast-2": 1
127+
},
128+
"gmp-php-73": {
129+
"ca-central-1": 1,
130+
"eu-central-1": 2,
131+
"eu-north-1": 1,
132+
"eu-west-1": 1,
133+
"eu-west-2": 1,
134+
"eu-west-3": 1,
135+
"sa-east-1": 1,
136+
"us-east-1": 1,
137+
"us-east-2": 1,
138+
"us-west-1": 1,
139+
"us-west-2": 1,
140+
"ap-south-1": 1,
141+
"ap-northeast-1": 1,
142+
"ap-northeast-2": 1,
143+
"ap-southeast-1": 1,
144+
"ap-southeast-2": 1
145+
},
146+
"gmp-php-74": {
147+
"ca-central-1": 1,
148+
"eu-central-1": 1,
149+
"eu-north-1": 1,
150+
"eu-west-1": 1,
151+
"eu-west-2": 1,
152+
"eu-west-3": 1,
153+
"sa-east-1": 1,
154+
"us-east-1": 1,
155+
"us-east-2": 1,
156+
"us-west-1": 1,
157+
"us-west-2": 1,
158+
"ap-south-1": 1,
159+
"ap-northeast-1": 1,
160+
"ap-northeast-2": 1,
161+
"ap-southeast-1": 1,
162+
"ap-southeast-2": 1
163+
},
164+
"memcached-php-72": {
165+
"ca-central-1": 1,
166+
"eu-central-1": 1,
167+
"eu-north-1": 1,
168+
"eu-west-1": 1,
169+
"eu-west-2": 1,
170+
"eu-west-3": 1,
171+
"sa-east-1": 1,
172+
"us-east-1": 1,
173+
"us-east-2": 1,
174+
"us-west-1": 1,
175+
"us-west-2": 1,
176+
"ap-south-1": 1,
177+
"ap-northeast-1": 1,
178+
"ap-northeast-2": 1,
179+
"ap-southeast-1": 1,
180+
"ap-southeast-2": 1
181+
},
182+
"memcached-php-73": {
183+
"ca-central-1": 4,
184+
"eu-central-1": 6,
185+
"eu-north-1": 4,
186+
"eu-west-1": 4,
187+
"eu-west-2": 4,
188+
"eu-west-3": 4,
189+
"sa-east-1": 4,
190+
"us-east-1": 4,
191+
"us-east-2": 4,
192+
"us-west-1": 4,
193+
"us-west-2": 4,
194+
"ap-south-1": 4,
195+
"ap-northeast-1": 4,
196+
"ap-northeast-2": 4,
197+
"ap-southeast-1": 4,
198+
"ap-southeast-2": 4
199+
},
200+
"memcached-php-74": {
93201
"ca-central-1": 1,
94202
"eu-central-1": 1,
95203
"eu-north-1": 1,
@@ -143,22 +251,22 @@
143251
"ap-southeast-1": 3,
144252
"ap-southeast-2": 3
145253
},
146-
"amqp-php-73": {
147-
"ca-central-1": 4,
148-
"eu-central-1": 4,
149-
"eu-north-1": 4,
150-
"eu-west-1": 4,
151-
"eu-west-2": 4,
152-
"eu-west-3": 4,
153-
"sa-east-1": 4,
154-
"us-east-1": 4,
155-
"us-east-2": 4,
156-
"us-west-1": 4,
157-
"us-west-2": 4,
158-
"ap-south-1": 4,
159-
"ap-northeast-1": 4,
160-
"ap-northeast-2": 4,
161-
"ap-southeast-1": 4,
162-
"ap-southeast-2": 4
254+
"xdebug-php-74": {
255+
"ca-central-1": 1,
256+
"eu-central-1": 1,
257+
"eu-north-1": 1,
258+
"eu-west-1": 1,
259+
"eu-west-2": 1,
260+
"eu-west-3": 1,
261+
"sa-east-1": 1,
262+
"us-east-1": 1,
263+
"us-east-2": 1,
264+
"us-west-1": 1,
265+
"us-west-2": 1,
266+
"ap-south-1": 1,
267+
"ap-northeast-1": 1,
268+
"ap-northeast-2": 1,
269+
"ap-southeast-1": 1,
270+
"ap-southeast-2": 1
163271
}
164272
}

src/Command/PublishCommand.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ public function __invoke(OutputInterface $output): int
4646
}
4747
}
4848
$output->writeln(sprintf('Found %d new layers', count($layers)));
49+
foreach ($layers as $layer => $file) {
50+
$output->writeln('- ' . $layer);
51+
}
52+
$output->writeln('');
53+
$output->writeln('Publishing new layers:');
4954

5055
try {
5156
$this->publisher->publishLayers($layers, $this->regionProvider->getAll());
@@ -58,6 +63,8 @@ public function __invoke(OutputInterface $output): int
5863
// Dump checksums
5964
file_put_contents($this->projectDir . '/checksums.json', json_encode($discoveredChecksums, \JSON_PRETTY_PRINT));
6065

66+
$output->writeln('');
67+
$output->writeln('');
6168
$output->writeln('Done');
6269
$output->writeln('Remember to commit and push changes to ./checksums.json');
6370

0 commit comments

Comments
 (0)