Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Bitrise - continuous happiness as a service

27 views

Published on

Slides from 109 WrocJUG meetup on September 11th 2018 in Wrocław.
Bitrise is a continuous Integration and Continuous Delivery Platform as a Service. Dedicated to mobile projects.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Bitrise - continuous happiness as a service

  1. 1. Bitrise - continuous happiness as a service Karol Wrótniak
  2. 2. • CI/CD PaaS • Focused on mobile apps • PR status checks Bitrise
  3. 3. Trigger map Bitrise CLI
  4. 4. • Ordered list of steps • Environment variables: • $BITRISE_DEPLOY_DIR • $BITRISE_BUILD_NUMBER • and more… $BITRISE_APK_PATH_LIST $HOCKEYAPP_DEPLOY_STATUS Workflow
  5. 5. Step • Single build task: • Git clone • Gradle build, unit test • Slack notify • and ~200 steps in StepLib • Custom/private steps • Go and Bash
  6. 6. Build triggers • Webhook (SCM) • Schedule • Manual
  7. 7. • pull request • push (commit) • tag trigger_map: - pull_request_source_branch: "*" pull_request_target_branch: develop workflow: develop_verification - push_branch: develop workflow: deploy_alpha - tag: "*" workflow: deploy_beta Trigger map
  8. 8. Step status • Successful • Failed • Ignored • Skipped
  9. 9. Pricing • Organizations: • Charged per concurrency - $50/month/concurrent build • 90 min/build • ∞ builds/month • Elite hardware - price x2 • Individual: • $40/month, fixed at 1 concurrent build • 45 min/build • ∞ builds/month
  10. 10. Discounts • Open-source apps: • 45 min/build, ∞ builds/month, 1 concurrent build, per app • 10% discount when billed annually • $20 discount for students • $20 discount for contributors • Free plan: • 10 min/build, 200 builds/month, open-source not required
  11. 11. Open Source • MIT-licensed business logic • Closed-source infrastructure management • Discount for step authors • Bitrise steps community - orphanage
  12. 12. Firebase virtual devices
  13. 13. Firebase virtual devices • Free of charge on bitrise.io • Unlimited number of tests • Unlimited duration • $1/device/hour directly on firebase.google.com
  14. 14. Travis vs Bitrise • ✓ larger community • ✓ more project types • ✗ no workflow editor • ✗ missing some tools related to mobile development e.g. NDK
  15. 15. BuddyBuild vs Bitrise • ✓ officially supported by Apple • ✗ iOS projects only • ✗ $279/month/3 concurrent builds
  16. 16. Jenkins vs Bitrise • ✓ private deployment • ✓ global config • ✗ poor mobile development support
  17. 17. OpenSTF • Smartphone Test Farm • web interface • REST API • remote ADB
  18. 18. Device shelf • PC: • STF Provider • Active USB hubs • Device stands • Double-side micro USB • USB-C
  19. 19. karol.wrotniak@droidsonroids.pl koral-- karol-wrotniak @karol.wrotniak Android dev @DroidsOnRoids Co-organizer @GDG Wrocław Stay in touch

×