mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
3
GLaDOS bot
Overtorment edited this page 2021-09-07 21:34:25 +01:00
GLaDOS is a bot that:
- posts android builds in the ticket: apk download link & appetize link (to run android build in browser). And cleans up old build links
- is set up to sponsor some other Github users (since GitHub organizations could not at the moment do this)
- sends reminders to PR reviewers (daily at 10:00 UTC), plus cleans up old reminders
- auto-merges PRs if certain conditions are met:
-
- ALL who is requested to review approves, even if its only one
-
- GLaDOS checks for e2e tests to pass, at least one of 2 runs has to pass: e2e on GA or e2e on Travis; that's the way to combat tests flakiness
-
- same for integration tests (they are duplicated on GA and on Circleci), but they are less flaky
-
- there is no "WIP" or "DO NOT MERGE" tag
GLaDOS doesn't work for PRs from external contributors (pull requests from forked repos/from users who are not added to BW repo) because the majority of tests don't run in that case as a security measure (environment variables are not injected, android signing keys are not provided etc)
GLaDOS is a fully-featured Github user and has its own email on bluewallet.io domain, but its access to repos is limited
GLaDOS resides in:
- https://github.com/BlueWallet/BlueWallet/blob/master/appcenter-post-build.sh
- https://github.com/BlueWallet/GlaDOS
GlaDOS runs on Github Actions via cron. Frequency of runs is limited, but it is supposed to run at least every 20 min.