Slide 1

Slide 1 text

Enzo Lizama Paredes GDG Open @enzoftware Continious Delivery in Flutter with Fastlane Follow continuous integration and delivery best practices with Flutter, Fastlane.

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

“Continuous Delivery is the ability to get changes of all types—including new features, configuration changes, bug fixes and experiments—into production, or into the hands of users, safely and quickly in a sustainable way.” - Jez Humble - https://continuousdelivery.com/

Slide 7

Slide 7 text

● Low risk releases ● Higher quality ● Lower costs ● Better products ● Happier teams Why Continous Delivery?

Slide 8

Slide 8 text

lane :beta do increment_build_number build_app upload_to_testflight end lane :release do capture_screenshots build_app upload_to_app_store # Upload the screenshots and the binary to iTunes slack # Let your team-mates know the new version is live end

Slide 9

Slide 9 text

lane :up_version_code do path = '../app/build.gradle' re = /versionCode\s+(\d+)/ s = File.read(path) versionCode = s[re, 1].to_i s[re, 1] = (versionCode + 1).to_s f = File.new(path, 'w') f.write(s) f.close end

Slide 10

Slide 10 text

What about CI?

Slide 11

Slide 11 text

//.circleci/config.yml version: 2 jobs: build: docker: - image: cirrusci/flutter steps: - checkout - run: flutter doctor - run: flutter test - run: flutter -v build apk

Slide 12

Slide 12 text

DEMO

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Gracias!