mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-13 07:11:56 +01:00
Merge branch 'feature/fastlane' into 'main'
Automatic build and deployment to alpha and beta tracks on android and ios See merge request fabinfra/fabaccess/borepin!29
This commit is contained in:
commit
f14dab06c4
@ -89,7 +89,7 @@ build_Android:
|
|||||||
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
|
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
|
||||||
paths:
|
paths:
|
||||||
- Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.aab # saving apk to copy to deploy folder
|
- Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.aab # saving apk to copy to deploy folder
|
||||||
- Borepin/Borepin.Android/bin/Release/
|
#- Borepin/Borepin.Android/bin/Release/
|
||||||
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
|
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
|
||||||
|
|
||||||
build_iOS:
|
build_iOS:
|
||||||
@ -108,7 +108,7 @@ build_iOS:
|
|||||||
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
|
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
|
||||||
paths:
|
paths:
|
||||||
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa
|
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa
|
||||||
- Borepin/Borepin.iOS/bin/iPhone/Debug/
|
#- Borepin/Borepin.iOS/bin/iPhone/Debug/
|
||||||
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
|
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
|
||||||
|
|
||||||
build_GTK:
|
build_GTK:
|
||||||
@ -189,13 +189,12 @@ deploy_Android_beta:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build_Android
|
- build_Android
|
||||||
|
|
||||||
deploy_iOS:
|
deploy_iOS_alpha:
|
||||||
variables:
|
variables:
|
||||||
LC_ALL: 'en_US.UTF-8'
|
LC_ALL: 'en_US.UTF-8'
|
||||||
LANG: 'en_US.UTF-8'
|
LANG: 'en_US.UTF-8'
|
||||||
only:
|
only:
|
||||||
- alpha
|
- alpha
|
||||||
- feature/fastlane
|
|
||||||
needs:
|
needs:
|
||||||
- build_iOS
|
- build_iOS
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@ -206,8 +205,32 @@ deploy_iOS:
|
|||||||
- 'export PATH="/usr/local/opt/ruby/bin:$PATH"'
|
- 'export PATH="/usr/local/opt/ruby/bin:$PATH"'
|
||||||
script:
|
script:
|
||||||
- 'bundle install'
|
- 'bundle install'
|
||||||
|
- 'bundle update fastlane'
|
||||||
- 'bundle exec fastlane pilot upload --api_key_path app-store-credentials.json --ipa Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa'
|
- 'bundle exec fastlane pilot upload --api_key_path app-store-credentials.json --ipa Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa'
|
||||||
after_script:
|
after_script:
|
||||||
- 'rm app-store-credentials.json'
|
- 'rm app-store-credentials.json'
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_iOS
|
- build_iOS
|
||||||
|
|
||||||
|
deploy_iOS_beta:
|
||||||
|
variables:
|
||||||
|
LC_ALL: 'en_US.UTF-8'
|
||||||
|
LANG: 'en_US.UTF-8'
|
||||||
|
only:
|
||||||
|
- beta
|
||||||
|
needs:
|
||||||
|
- build_iOS
|
||||||
|
stage: deploy
|
||||||
|
tags:
|
||||||
|
- macos
|
||||||
|
before_script:
|
||||||
|
- 'echo $app_store_credentials > app-store-credentials.json'
|
||||||
|
- 'export PATH="/usr/local/opt/ruby/bin:$PATH"'
|
||||||
|
script:
|
||||||
|
- 'bundle install'
|
||||||
|
- 'bundle update fastlane'
|
||||||
|
- 'bundle exec fastlane pilot upload --api_key_path app-store-credentials.json --ipa Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa --distribute_external true --groups Beta --changelog "$CI_COMMIT_MESSAGE"'
|
||||||
|
after_script:
|
||||||
|
- 'rm app-store-credentials.json'
|
||||||
|
dependencies:
|
||||||
|
- build_iOS
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
# This file contains the fastlane.tools configuration
|
|
||||||
# You can find the documentation at https://docs.fastlane.tools
|
|
||||||
#
|
|
||||||
# For a list of all available actions, check out
|
|
||||||
#
|
|
||||||
# https://docs.fastlane.tools/actions
|
|
||||||
#
|
|
||||||
# For a list of all available plugins, check out
|
|
||||||
#
|
|
||||||
# https://docs.fastlane.tools/plugins/available-plugins
|
|
||||||
#
|
|
||||||
|
|
||||||
# Uncomment the line if you want fastlane to automatically update itself
|
|
||||||
# update_fastlane
|
|
||||||
|
|
||||||
default_platform(:ios)
|
|
||||||
|
|
||||||
platform :ios do
|
|
||||||
desc "Description of what the lane does"
|
|
||||||
lane :custom_lane do
|
|
||||||
# add actions here: https://docs.fastlane.tools/actions
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
x
Reference in New Issue
Block a user