Compare commits

...
Author SHA1 Message Date
Dominik Sokal 2f9d27ee08 send logs url with finished and errored messages 2020-08-17 12:28:44 +02:00
Wojciech Kozyra c31cd379c1 update CHANGELOG.md 2020-08-06 18:00:17 +02:00
2 changed files with 15 additions and 4 deletions

No files matched your search

+7 -1
View File
@@ -7,9 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
## [0.17.2] - 2020-08-06
### Changed
- Updated iOS shell app for SDK 38 with fixed integer tagging in expo-gl for iOS 14. ([#245](https://github.com/expo/turtle/pull/245))
# [0.17.1] - 2020-07-16
## [0.17.1] - 2020-08-05
### Changed
- Updated Android shell app for SDK 38 with `targetSdkVersion` bumped to 29. ([#244](https://github.com/expo/turtle/pull/244))
+8 -3
View File
@@ -143,15 +143,19 @@ async function build(job: any, turtleMode: TurtleMode) {
const s3Url = await logger.initForJob(job);
const calculateBuildDuration = () => Math.ceil((Date.now() - startTimestamp) / 1000);
const commonPayload = {
logUrl: s3Url,
logFormat: 'json',
turtleMode,
};
try {
await sqs.sendMessage(job.id, BUILD.JOB_STATES.IN_PROGRESS, {
logUrl: s3Url,
logFormat: 'json',
turtleMode,
...commonPayload,
});
const result = await (builders as any)[job.platform](job);
const buildDuration = calculateBuildDuration();
sqs.sendMessage(job.id, BUILD.JOB_STATES.FINISHED, {
...commonPayload,
...result,
turtleVersion,
buildDuration,
@@ -165,6 +169,7 @@ async function build(job: any, turtleMode: TurtleMode) {
reason = err.reason;
}
sqs.sendMessage(job.id, BUILD.JOB_STATES.ERRORED, {
...commonPayload,
turtleVersion,
buildDuration,
...reason && { reason },