mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 06:41:54 +01:00
first test of automatic deployment to google play with fastlane
This commit is contained in:
parent
41af32fc0c
commit
9ded4e57ed
@ -89,7 +89,7 @@ build_Android:
|
||||
artifacts:
|
||||
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
|
||||
paths:
|
||||
- Borepin/Borepin.Android/bin/Release/org.fabinfra.fabaccess.aab # saving apk to copy to deploy folder
|
||||
- Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess.aab # saving apk to copy to deploy folder
|
||||
- Borepin/Borepin.Android/bin/Release/
|
||||
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
|
||||
|
||||
@ -145,22 +145,15 @@ build_GTK:
|
||||
# dependencies:
|
||||
# - build_job
|
||||
|
||||
# deploy_job:
|
||||
# stage: deploy
|
||||
# only:
|
||||
# - tags
|
||||
# script:
|
||||
# # Compose a folder for each release based on commit tag.
|
||||
# # Assuming your tag is Rev1.0.0.1, and your last commit message is 'First commit'
|
||||
# # the artifact files will be copied to:
|
||||
# # P:\Projects\YourApp\Builds\Rev1.0.0.1 - First commit\
|
||||
# - '$commitSubject = git log -1 --pretty=%s'
|
||||
# - '$deployFolder = $($env:DEPLOY_FOLDER) + "\" + $($env:CI_BUILD_TAG) + " - " + $commitSubject + "\"'
|
||||
|
||||
# # xcopy takes care of recursively creating required folders
|
||||
# - 'xcopy /y ".\$env:EXE_RELEASE_FOLDER\YourApp.exe" "$deployFolder"'
|
||||
# - 'xcopy /y ".\$env:MSI_RELEASE_FOLDER\YourApp Setup.msi" "$deployFolder"'
|
||||
# - 'xcopy /y ".\TestResult.xml" "$deployFolder"'
|
||||
# dependencies:
|
||||
# - build_job
|
||||
# - test_job
|
||||
deploy_android:
|
||||
stage: deploy
|
||||
image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest
|
||||
only:
|
||||
- tags
|
||||
before_script:
|
||||
- 'echo $play_store_credentials > play-store-credentials.json'
|
||||
script:
|
||||
- 'bundle install'
|
||||
- 'bundle exec fastlane supply --aab Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.aab --track internal'
|
||||
dependencies:
|
||||
- build_Android
|
||||
|
5
fastlane/Appfile
Normal file
5
fastlane/Appfile
Normal file
@ -0,0 +1,5 @@
|
||||
json_key_file("./play-store-credentials.json")
|
||||
package_name("org.fab_infra.fabaccess")
|
||||
|
||||
# For more information about the Appfile, see:
|
||||
# https://docs.fastlane.tools/advanced/#appfile
|
23
fastlane/Fastfile
Normal file
23
fastlane/Fastfile
Normal file
@ -0,0 +1,23 @@
|
||||
# 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