--- format_version: '11' default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git project_type: flutter workflows: deploy: description: | Builds and deploys app using [Deploy to bitrise.io Step](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html#deploying-a-flutter-app). If you build for iOS, make sure to set up code signing secrets on Bitrise for a successful build. Next steps: - Check out [Getting started with Flutter apps](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html) for signing and deployment options. - Check out the [Code signing guide](https://devcenter.bitrise.io/en/code-signing.html) for iOS and Android steps: - git-clone@6: {} - certificate-and-profile-installer@1: {} - flutter-installer@0: inputs: - is_update: 'false' - cache-pull@2: {} - flutter-analyze@0: inputs: - project_location: "$BITRISE_FLUTTER_PROJECT_LOCATION" - flutter-build@0: inputs: - project_location: "$BITRISE_FLUTTER_PROJECT_LOCATION" - platform: both - ios_output_type: archive - cache-push@2: {} - deploy-to-bitrise-io@2: {} primary: description: | Builds project and runs tests. Next steps: - Check out [Getting started with Flutter apps](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html). steps: - avd-manager@1: is_always_run: true inputs: - abi: x86_64 - api_level: '30' - git-clone@6: {} - flutter-installer@0: inputs: - installation_bundle_url: https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.0.1-stable.zip - is_update: 'false' - cache-pull@2: {} - cache-push@2: {} - wait-for-android-emulator@1: {} - script@1: inputs: - content: | #!/usr/bin/env bash # fail if any commands fails set -e # make pipelines' return status equal the last command to exit with a non-zero status, or zero if all commands exit successfully set -o pipefail # debug log set -x # write your script here adb devices flutter build apk --split-per-abi cd build/app/outputs/flutter-apk/ && adb install app-x86_64-release.apk echo "App Installed..." - script@1: inputs: - content: |- #!/usr/bin/env bash # fail if any commands fails set -e # make pipelines' return status equal the last command to exit with a non-zero status, or zero if all commands exit successfully set -o pipefail # debug log set -x # write your script here echo "Hello World!" # or run a script from your repository, like: # bash ./path/to/script.sh # not just bash, e.g.: # ruby ./path/to/script.rb git clone https://github.com/repeato-qa/demo-workspace.git $BITRISE_SOURCE_DIR/workspace-tests - repeato-test-runner@0: is_always_run: true inputs: - batch_id: e2313480-9002-5ce5-96e9-aecdbf36475b - license_key: "$LICENSE_KEY" - workspace_path: "$BITRISE_SOURCE_DIR/workspace-tests" - script@1: inputs: - content: |- #!/usr/bin/env bash # fail if any commands fails set -e # make pipelines' return status equal the last command to exit with a non-zero status, or zero if all commands exit successfully set -o pipefail # debug log set -x # write your script here echo "Previous Step OutPut Report: ${REPEATO_REPORT}" ls "${BASH_SOURCE[0]}" # or run a script from your repository, like: # bash ./path/to/script.sh # not just bash, e.g.: # ruby ./path/to/script.rb is_always_run: true - ftp-upload@2: inputs: - username: "$FTP_USER" - password: "$FTP_PASS" - upload_source_path: "$REPEATO_REPORT" - upload_target_path: "/kunden/627141_1050/webseiten/repeato/demo-batch-reports" - debug_mode: 'true' - hostname: "$FTP_HOST" is_always_run: true envs: - DEMO_WORKSPACE: https://github.com/repeato-qa/demo-workspace.git TemporaryQuickTesting: description: | Builds project and runs tests. Next steps: - Check out [Getting started with Flutter apps](https://devcenter.bitrise.io/en/getting-started/getting-started-with-flutter-apps.html). steps: - script@1: inputs: - content: |- #!/usr/bin/env bash # fail if any commands fails set -e # make pipelines' return status equal the last command to exit with a non-zero status, or zero if all commands exit successfully set -o pipefail # debug log set -x # write your script here cd /var/folders/jw/g2nxpyn956dffdjs0vn8h9nm0000gn/T/bitrise678281105 ls pwd # or run a script from your repository, like: # bash ./path/to/script.sh # not just bash, e.g.: # ruby ./path/to/script.rb - git::https://github.com/repeato-qa/bitrise-repeato-cli-step.git@main: title: Repeato Cli Integration Step inputs: - batch_id: '0' - workspace_repo_url: "$DEMO_WORKSPACE" - workspace_dir: "../workspace-tests" envs: - DEMO_WORKSPACE: https://github.com/repeato-qa/demo-workspace.git meta: bitrise.io: stack: osx-xcode-13.2.x machine_type_id: g2.4core app: envs: - BITRISE_FLUTTER_PROJECT_LOCATION: "."