Skip to content

Commit

Permalink
updated yml triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkfman committed Apr 14, 2021
1 parent 924f8a4 commit ff403a9
Showing 1 changed file with 129 additions and 129 deletions.
258 changes: 129 additions & 129 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,188 +66,188 @@ workflows:
#!/usr/bin/env bash echo 'weew - everything passed!'
title: All Tests Passed
is_always_run: false
e2e:
before_run:
- code_setup
steps:
- yarn@0:
inputs:
- cache_local_deps: 'yes'
- command: global add detox-cli
title: Install Detox CLI
- script:
inputs:
- content: |-
# Add cache directory to environment variable
envman add --key BREW_APPLESIMUTILS --value "$(brew --cellar)/applesimutils"
envman add --key BREW_OPT_APPLESIMUTILS --value "/usr/local/opt/applesimutils"
title: Set Env Path for caching deps
- script@1:
inputs:
- content: |-
#!/bin/bash
brew tap wix/brew
title: Detox Setup
- script@1:
inputs:
- content: |-
#!/bin/bash
detox build --configuration ios.sim.release
title: Detox - Build Release App
- script@1:
inputs:
- content: |-
#!/bin/bash
detox test -R 1 --configuration ios.sim.release -l verbose
title: Run E2E Tests
deploy:
description: >
## Configure Android part of the deploy workflow
# e2e:
# before_run:
# - code_setup
# steps:
# - yarn@0:
# inputs:
# - cache_local_deps: 'yes'
# - command: global add detox-cli
# title: Install Detox CLI
# - script:
# inputs:
# - content: |-
# # Add cache directory to environment variable
# envman add --key BREW_APPLESIMUTILS --value "$(brew --cellar)/applesimutils"
# envman add --key BREW_OPT_APPLESIMUTILS --value "/usr/local/opt/applesimutils"
# title: Set Env Path for caching deps
# - script@1:
# inputs:
# - content: |-
# #!/bin/bash
# brew tap wix/brew
# title: Detox Setup
# - script@1:
# inputs:
# - content: |-
# #!/bin/bash
# detox build --configuration ios.sim.release
# title: Detox - Build Release App
# - script@1:
# inputs:
# - content: |-
# #!/bin/bash
# detox test -R 1 --configuration ios.sim.release -l verbose
# title: Run E2E Tests
# deploy:
# description: >
# ## Configure Android part of the deploy workflow

To generate a signed APK:
# To generate a signed APK:

1. Open the **Workflow** tab of your project on Bitrise.io
# 1. Open the **Workflow** tab of your project on Bitrise.io

1. Add **Sign APK step right after Android Build step**
# 1. Add **Sign APK step right after Android Build step**

1. Click on **Code Signing** tab
# 1. Click on **Code Signing** tab

1. Find the **ANDROID KEYSTORE FILE** section
# 1. Find the **ANDROID KEYSTORE FILE** section

1. Click or drop your file on the upload file field
# 1. Click or drop your file on the upload file field

1. Fill the displayed 3 input fields:
# 1. Fill the displayed 3 input fields:

1. **Keystore password**
# 1. **Keystore password**

1. **Keystore alias**
# 1. **Keystore alias**

1. **Private key password**
# 1. **Private key password**

1. Click on **[Save metadata]** button
# 1. Click on **[Save metadata]** button


That's it! From now on, **Sign APK** step will receive your uploaded
files.
# That's it! From now on, **Sign APK** step will receive your uploaded
# files.


## Configure iOS part of the deploy workflow
# ## Configure iOS part of the deploy workflow


To generate IPA:
# To generate IPA:


1. Open the **Workflow** tab of your project on Bitrise.io
# 1. Open the **Workflow** tab of your project on Bitrise.io

1. Click on **Code Signing** tab
# 1. Click on **Code Signing** tab

1. Find the **PROVISIONING PROFILE** section
# 1. Find the **PROVISIONING PROFILE** section

1. Click or drop your file on the upload file field
# 1. Click or drop your file on the upload file field

1. Find the **CODE SIGNING IDENTITY** section
# 1. Find the **CODE SIGNING IDENTITY** section

1. Click or drop your file on the upload file field
# 1. Click or drop your file on the upload file field

1. Click on **Workflows** tab
# 1. Click on **Workflows** tab

1. Select deploy workflow
# 1. Select deploy workflow

1. Select **Xcode Archive & Export for iOS** step
# 1. Select **Xcode Archive & Export for iOS** step

1. Open **Force Build Settings** input group
# 1. Open **Force Build Settings** input group

1. Specify codesign settings
# 1. Specify codesign settings

Set **Force code signing with Development Team**, **Force code signing
with Code Signing Identity**
# Set **Force code signing with Development Team**, **Force code signing
# with Code Signing Identity**

and **Force code signing with Provisioning Profile** inputs regarding to
the uploaded codesigning files
# and **Force code signing with Provisioning Profile** inputs regarding to
# the uploaded codesigning files

1. Specify manual codesign style
# 1. Specify manual codesign style

If the codesigning files, are generated manually on the Apple Developer
Portal,
# If the codesigning files, are generated manually on the Apple Developer
# Portal,

you need to explicitly specify to use manual coedsign settings
# you need to explicitly specify to use manual coedsign settings

(as ejected rn projects have xcode managed codesigning turned on).
# (as ejected rn projects have xcode managed codesigning turned on).

To do so, add 'CODE_SIGN_STYLE="Manual"' to 'Additional options for
xcodebuild call' input
# To do so, add 'CODE_SIGN_STYLE="Manual"' to 'Additional options for
# xcodebuild call' input


## To run this workflow
# ## To run this workflow


If you want to run this workflow manually:
# If you want to run this workflow manually:


1. Open the app's build list page
# 1. Open the app's build list page

2. Click on **[Start/Schedule a Build]** button
# 2. Click on **[Start/Schedule a Build]** button

3. Select **deploy** in **Workflow** dropdown input
# 3. Select **deploy** in **Workflow** dropdown input

4. Click **[Start Build]** button
# 4. Click **[Start Build]** button


Or if you need this workflow to be started by a GIT event:
# Or if you need this workflow to be started by a GIT event:


1. Click on **Triggers** tab
# 1. Click on **Triggers** tab

2. Setup your desired event (push/tag/pull) and select **deploy** workflow
# 2. Setup your desired event (push/tag/pull) and select **deploy** workflow

3. Click on **[Done]** and then **[Save]** buttons
# 3. Click on **[Done]** and then **[Save]** buttons


The next change in your repository that matches any of your trigger map
event will start **deploy** workflow.
before_run:
- code_setup
steps:
- install-missing-android-tools@2:
inputs:
- gradlew_path: $PROJECT_LOCATION/gradlew
- android-build@0:
inputs:
- project_location: $PROJECT_LOCATION
- certificate-and-profile-installer@1: {}
- xcode-archive@3:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- export_method: $BITRISE_EXPORT_METHOD
- configuration: Release
- deploy-to-bitrise-io@1: {}
- certificate-and-profile-installer@1: {}
- cocoapods-install@2: {}
- xcode-archive@3:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- export_method: $BITRISE_EXPORT_METHOD
- configuration: Release
- deploy-to-bitrise-io@1: {}
- certificate-and-profile-installer@1: {}
- cocoapods-install@2: {}
- xcode-archive@3:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- export_method: $BITRISE_EXPORT_METHOD
- configuration: Release
- deploy-to-bitrise-io@1: {}
- certificate-and-profile-installer@1: {}
- xcode-archive@3:
inputs:
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- export_method: $BITRISE_EXPORT_METHOD
- configuration: Release
- deploy-to-bitrise-io@1: {}
# The next change in your repository that matches any of your trigger map
# event will start **deploy** workflow.
# before_run:
# - code_setup
# steps:
# - install-missing-android-tools@2:
# inputs:
# - gradlew_path: $PROJECT_LOCATION/gradlew
# - android-build@0:
# inputs:
# - project_location: $PROJECT_LOCATION
# - certificate-and-profile-installer@1: {}
# - xcode-archive@3:
# inputs:
# - project_path: $BITRISE_PROJECT_PATH
# - scheme: $BITRISE_SCHEME
# - export_method: $BITRISE_EXPORT_METHOD
# - configuration: Release
# - deploy-to-bitrise-io@1: {}
# - certificate-and-profile-installer@1: {}
# - cocoapods-install@2: {}
# - xcode-archive@3:
# inputs:
# - project_path: $BITRISE_PROJECT_PATH
# - scheme: $BITRISE_SCHEME
# - export_method: $BITRISE_EXPORT_METHOD
# - configuration: Release
# - deploy-to-bitrise-io@1: {}
# - certificate-and-profile-installer@1: {}
# - cocoapods-install@2: {}
# - xcode-archive@3:
# inputs:
# - project_path: $BITRISE_PROJECT_PATH
# - scheme: $BITRISE_SCHEME
# - export_method: $BITRISE_EXPORT_METHOD
# - configuration: Release
# - deploy-to-bitrise-io@1: {}
# - certificate-and-profile-installer@1: {}
# - xcode-archive@3:
# inputs:
# - project_path: $BITRISE_PROJECT_PATH
# - scheme: $BITRISE_SCHEME
# - export_method: $BITRISE_EXPORT_METHOD
# - configuration: Release
# - deploy-to-bitrise-io@1: {}
app:
envs:
- opts:
Expand Down

0 comments on commit ff403a9

Please sign in to comment.