Skip to content

Instantly share code, notes, and snippets.

@godrei
godrei / bitrise.yml
Last active June 28, 2022 08:47
Merging test results and deploying to the Testing Addon
---
format_version: '11'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
app:
envs:
- BITRISE_PROJECT_PATH: BullsEye.xcworkspace
- BITRISE_SCHEME: BullsEye
@godrei
godrei / bitrise.yml
Last active June 24, 2022 10:57
Run iOS test groups in parallel
---
format_version: '11'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
app:
envs:
- BITRISE_PROJECT_PATH: BullsEye.xcworkspace
- BITRISE_SCHEME: BullsEye
@godrei
godrei / bitrise.yml
Last active June 24, 2022 10:56
Run iOS tests in parallel on multiple simulators
---
format_version: '11'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
app:
envs:
- BITRISE_PROJECT_PATH: BullsEye.xcworkspace
- BITRISE_SCHEME: BullsEye
@godrei
godrei / droidcon.md
Last active June 26, 2019 10:57
DroidCon presentation

droidcon presentation

bitrise-init + CBP from your terminal

  • (new dummy project, to see the process from the project beginning? existing project?)
  • 1 computer

Tomi:

  • create a workflow for your android project using bitrise-init cli
  • modify the workflow from the local workflow editor (sign apk step modification and signing files)
format_version: "8"
recipes:
archive_and_export_ipas:
inputs:
- EXPORT_METHOD
steps:
- xcode-archive:
inputs:
- export_method: $EXPORT_METHOD[0]

Use case(s)

As a user I would need a tool/script which can download an IPA/APK file attached to my Bitrise build, to analyze the artifact:

  • version numbers
  • Bundle Identifier / Package Name
  • app launch icon

I want to analyze artifacts generated by a Bitrise build, automatically triggered by a Pull Request from development branch.

Use case(s)

From time to time I forget to properly prepare my iOS / Android project for the release, this leads to .ipa / .apk files:

  • without updated version numbers
  • using the development Bundle Identifier / Package Name instead of the release values
  • with incorrect app launch icon

in order to solve this, I need a tool/script which collects and prints this information to let me validate them before I would publish my app.

@godrei
godrei / dependencies.md
Last active February 15, 2019 09:12
Step dependencies

In the context of Steps, dependency means an executable or a library needed to execute or utilized by the step.

A step dependency is installed by the Bitrise CLI if it is not available in the PATH environment variable. Unused dependency increases the build time unnecessarily.

Since steps can be performed in any environment where Bitrise CLI can run, list every used dependency, even if you know that they are pre-installed on the Bitrise stacks.

Step dependencies should not include toolkit dependencies, as the Bitrise CLI will take care of installing those automatically.

For example:

@godrei
godrei / trial_task_ipa_apk_analyser_tool_v2.md
Last active November 19, 2018 11:53
Bitrise App Automation Engineer - APK/IPA analyser tool - Trial Task V2

Use case(s)

From time to time i forget to properly prepare my iOS / Android project for the release, this leads to .ipa / .apk files:

  • without updated version numbers
  • using the development Bundle Identifier / Package Name instead of the release values
  • with incorrect app launch icon

in order to solve this i need a tool/script which collects and prints these information to let me validate them before i would publish my app.

@godrei
godrei / trial_task_workflow_walking_around.md
Last active September 28, 2018 07:35
Bitrise App Automation Engineer - workflow walking around - Trial Task

Bitrise App Automation Engineer - workflow walking around - Trial Task

As a trial day task, the candidate have to a create a CLI tool which can:

  • read a Bitrise configuration (bitrise.yml) file
  • list the available workflows defined in the given bitrise.yml file
  • list the workflow execution order based on the given initial workflow name

Requirements: