Closed Patrick-Kladek closed 4 years ago
@Patrick-Kladek I think this one is already included in our CI setup - can we merge this also here into master?
@schwmi yes can be merged. Did you encounter any bugs until now? I also extend the PR Description. Does it make sense or do you need additional information?
Thanks for the description 👍
This allows Callisto to post the build Summary directly to GitHub. Posting to slack is not supported anymore.
Changes
Buildkite supports building both platforms simultaneously by splitting the workload to different servers. Because we don't want duplicate build warnings & errors Callisto now runs in two steps.
Step 1
Each build parses the output from fastlane and saves the information in a
.buildreport
file. This file is then uploaded to Buildkite because it's marked as build artifact/annotation - this is defined somewere inbuildkite.yml
Step 2
After both builds finished (doesn't matter if on different or the same machine) the
.buildreport
files are read. This works because buildkite provides us the artifacts files - again defined somewhere inbuildkite.yml
. Callisto then filters duplicate build messages and splits them by platform. The resulting message is then posted (or updated if necessary) to GitHub as a comment.