• Stars
    star
    18
  • Rank 1,208,065 (Top 24 %)
  • Language
    Go
  • License
    MIT License
  • Created over 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bitrise step for Flutter

Flutter

Build and install Fluttter app

Sample workflow for building iOS and Android apps

bitrise.yml snippet:

primary:
steps:
- certificate-and-profile-installer:
    inputs:
    - install_defaults: 'no'
- activate-ssh-key:
    run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone: {}
- flutter:
    inputs:
    - commands: test|build ios|build apk

How to use this Step

Can be run directly with the bitrise CLI, just git clone this repository, cd into it's folder in your Terminal/Command Line and call bitrise run test.

Check the bitrise.yml file for required inputs which have to be added to your .bitrise.secrets.yml file!

Step by step:

  1. Open up your Terminal / Command Line
  2. git clone the repository
  3. cd into the directory of the step (the one you just git cloned)
  4. Create a .bitrise.secrets.yml file in the same directory of bitrise.yml (the .bitrise.secrets.yml is a git ignored file, you can store your secrets in it)
  5. Check the bitrise.yml file for any secret you should set in .bitrise.secrets.yml
  • Best practice is to mark these options with something like # define these in your .bitrise.secrets.yml, in the app:envs section.
  1. Once you have all the required secret parameters in your .bitrise.secrets.yml you can just run this step with the bitrise CLI: bitrise run test

An example .bitrise.secrets.yml file:

envs:
- A_SECRET_PARAM_ONE: the value for secret one
- A_SECRET_PARAM_TWO: the value for secret two

How to create your own step

  1. Create a new git repository for your step (don't fork the step template, create a new repository)
  2. Copy the step template files into your repository
  3. Fill the step.sh with your functionality
  4. Wire out your inputs to step.yml (inputs section)
  5. Fill out the other parts of the step.yml too
  6. Provide test values for the inputs in the bitrise.yml
  7. Run your step with bitrise run test - if it works, you're ready

For Step development guidelines & best practices check this documentation: https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md.

NOTE:

If you want to use your step in your project's bitrise.yml:

  1. git push the step into it's repository
  2. reference it in your bitrise.yml with the git::PUBLIC-GIT-CLONE-URL@BRANCH step reference style:
- git::https://github.com/user/my-step.git@branch:
   title: My step
   inputs:
   - my_input_1: "my value 1"
   - my_input_2: "my value 2"

You can find more examples of step reference styles in the bitrise CLI repository.

How to contribute to this Step

  1. Fork this repository
  2. git clone it
  3. Create a branch you'll work on
  4. To use/test the step just follow the How to use this Step section
  5. Do the changes you want to
  6. Run/test the step before sending your contribution
  • You can also test the step in your bitrise project, either on your Mac or on bitrise.io
  • You just have to replace the step ID in your project's bitrise.yml with either a relative path, or with a git URL format
  • (relative) path format: instead of - original-step-id: use - path::./relative/path/of/script/on/your/Mac:
  • direct git URL format: instead of - original-step-id: use - git::https://github.com/user/step.git@branch:
  • You can find more example of alternative step referencing at: https://github.com/bitrise-io/bitrise/blob/master/_examples/tutorials/steps-and-workflows/bitrise.yml
  1. Once you're done just commit your changes & create a Pull Request

Share your own Step

You can share your Step or step version with the bitrise CLI. If you use the bitrise.yml included in this repository, all you have to do is:

  1. In your Terminal / Command Line cd into this directory (where the bitrise.yml of the step is located)
  2. Run: bitrise run test to test the step
  3. Run: bitrise run audit-this-step to audit the step.yml
  4. Check the share-this-step workflow in the bitrise.yml, and fill out the envs if you haven't done so already (don't forget to bump the version number if this is an update of your step!)
  5. Then run: bitrise run share-this-step to share the step (version) you specified in the envs
  6. Send the Pull Request, as described in the logs of bitrise run share-this-step

That's all ;)

More Repositories

1

MPParallaxView

Apple TV Parallax effect in Swift.
Swift
1,742
star
2

RxSwiftExamples

Examples and resources for RxSwift.
Swift
966
star
3

flutter-roadmap

Roadmap for Flutter developers in 2020
Dart
430
star
4

jspoon

Annotation based HTML to Java parser + Retrofit converter
Java
320
star
5

Workcation

My Research & Development project I've done at Droids on Roids.
Java
267
star
6

VisionFaceDetection

An example of use a Vision framework for face landmarks detection in iOS 11
Swift
261
star
7

MeasureARKit

An example of measuring app with ARKit in iOS 11
Swift
231
star
8

SwiftCarousel

Lightweight, written natively in Swift, circular UIScrollView.
Swift
143
star
9

Casty

Small Android library that provides a simple media player for Chromecast, fully consistent with Google Cast v3
Java
101
star
10

FlipAnimation-Android

Java
94
star
11

ExampleRealmMVP-Android

Java
66
star
12

GlideSharedTransition

Sample app for Shared Element Transition with Glide
Kotlin
46
star
13

FaceTracking

An example app with AVFoundation camera support and face features tracking
Swift
42
star
14

PageTransformerDemo

Simple example of screen transitions with ViewPager and PageTransformer.
Java
36
star
15

PhotosHelper

Photos Framework in Swift, easiest way.
Swift
35
star
16

let-swift-app

Let Swift Developers Meetup app
Swift
34
star
17

Toast-App

Open source App for TOAST Android developers meetup
Kotlin
34
star
18

android-device-cleaner

Tool for cleaning up Android devices used in QA
Kotlin
28
star
19

android-animation-disabler

Gradle plugin for disabling animations in global settings before UI tests and reenabling them afterwards
Kotlin
27
star
20

SwiftCompressor

SwiftCompressor lets you use Compression framework easily
Shell
24
star
21

RxJavaProductionLine

RxJava example project
Java
23
star
22

StarWarsRosieExample

Example of Rosie framework using The Star Wars API
Java
21
star
23

calculator-unit-and-integration-tests

Java
18
star
24

Moya-JASON

JASON bindings for Moya.
Swift
17
star
25

SheetsTranslator

App translation generator using Google Sheets API
Swift
17
star
26

FoQA

Container for Quality Assurance utilities to be included in QA/testing variants of Android apps.
Java
16
star
27

ExampleRealm-Android

Java
11
star
28

mockwebserver-path-dispatcher

A helper for dispatching MockWebServer responses
Kotlin
10
star
29

smoge-flutter

Dart
10
star
30

add-to-google-wallet

Dart
8
star
31

swift-style-guide

Droids on Roids Swift guidelines
8
star
32

SnapchatFiltersView

Snapchat - like swipeable filters for views, photos, videos and live camera preview. Swift.
Shell
8
star
33

StructPersistence

Swift
7
star
34

android-style-guide

Kotlin
7
star
35

BeerApp

Simple introduction to data binding library.
Java
7
star
36

bitrise-step-sonarqube-scanner

Step for running SonarQube Scanner CLI
Shell
6
star
37

multi-window-drop-adjacent

Java
6
star
38

ChartsDemo

Charts demo
Swift
5
star
39

Habit

An easy-to-use library to make repeated notifications simpler
Shell
4
star
40

bitrise-step-openstf-connect

Bitrise step for Open STF devices connection
Go
4
star
41

multi-window-catch

Java
4
star
42

modeltesting

Sample project for blog post
Java
4
star
43

bitrise-step-trigger-bitrise-workflow

Bitrise step for triggering workflow on bitrise.io with specified parameters
Go
4
star
44

MazeSpriteKit

Maze Game with SpriteKit demo
Swift
4
star
45

auth0_rs256_jwt_verifier

Ruby gem for verifying Auth0 API JWT access tokens signed using RS256 algorithm.
Ruby
4
star
46

swift-vs-objc

Swift vs Obj-C performance comparision
Objective-C
4
star
47

fluttrise

Unofficial Bitrise.io client made with Flutter.
Dart
3
star
48

android-font-binder

Annotation-based typeface binding to TextViews
Kotlin
3
star
49

GCMSender

Push notifications sender for Google Cloud Messaging
Swift
3
star
50

SwiftyRouter

SwiftyRouter makes it easy to deal with network connection in Swift
Swift
3
star
51

PlanningPoker-Android

Java
2
star
52

bitrise_set_jira_features

Feature list as jira links to insert in release notes
Shell
2
star
53

TracepathAndroid

C
2
star
54

toast7-hackme

Hackme application for Toast #7
Java
2
star
55

bitrise_step_build_info_jira_comment

Shell
2
star
56

EstimoteBeaconsDemo

The simplest of the simplest examples
Java
2
star
57

android-gradle-aosp-aapt-plugin

Gradle plugin which sets aaptConfig.additional parameters based on environment variables defined by AOSP build system
Groovy
2
star
58

constraint-layout-charts

Java
2
star
59

MemoryLeaksExample

Java
2
star
60

android-runtime-permission-tock-too

Example of Time Of Check To Time Of Use race condition on Android
Kotlin
2
star
61

3DTouchExample

Example of all kinds of 3D Touch support written in Swift 3.0
Swift
2
star
62

compose-guidelines

2
star
63

TwitterLogIn

Swift
1
star
64

homebrew-tools

Ruby
1
star
65

B-VIPER-module-template

Swift
1
star
66

TouchID_swift

Swift
1
star
67

RealmToDo

To-do app with Realm
Swift
1
star
68

flutter-events

Flutter events app
Dart
1
star
69

DORSidebar

Purely Swift sidebar menu
Swift
1
star
70

Unit-and-Integration-Tests-for-Android

Java
1
star
71

DroidsMap

Kotlin
1
star
72

DORDoneHUD

Done animation in Objective-C
Objective-C
1
star
73

HoloGraphLibrary

Fork of HoloGraphLibrary by Daniel Nadeau https://bitbucket.org/danielnadeau/holographlibrary
Java
1
star
74

bitrise-step-chuck-norris

Bitrise step for adding jokes about Chuck Norris to build log
Go
1
star
75

bitrise-step-publish-spoon-results

Bitrise step for publishing Spoon tests results on Github pages
Shell
1
star
76

svg-optimizer

C++
1
star
77

snakeyaml

snakeyaml fork with FIELD bean access
Java
1
star
78

android-aop-demo

AOP demo app
Java
1
star
79

bitrise-step-update-jira-issue-field

Bitrise step for updating JIRA issue fields
Go
1
star
80

DORUIKitDynamics

Sample UIKitDynamics, presented by one of ours iOS Developers
Swift
1
star
81

HipChatGerritHooks

Gerrit hooks sending notifications to HipChat
Python
1
star