mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 23:01:52 +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:
|
artifacts:
|
||||||
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.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/
|
- 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
|
||||||
|
|
||||||
@ -145,22 +145,15 @@ build_GTK:
|
|||||||
# dependencies:
|
# dependencies:
|
||||||
# - build_job
|
# - build_job
|
||||||
|
|
||||||
# deploy_job:
|
deploy_android:
|
||||||
# stage: deploy
|
stage: deploy
|
||||||
# only:
|
image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest
|
||||||
# - tags
|
only:
|
||||||
# script:
|
- tags
|
||||||
# # Compose a folder for each release based on commit tag.
|
before_script:
|
||||||
# # Assuming your tag is Rev1.0.0.1, and your last commit message is 'First commit'
|
- 'echo $play_store_credentials > play-store-credentials.json'
|
||||||
# # the artifact files will be copied to:
|
script:
|
||||||
# # P:\Projects\YourApp\Builds\Rev1.0.0.1 - First commit\
|
- 'bundle install'
|
||||||
# - '$commitSubject = git log -1 --pretty=%s'
|
- 'bundle exec fastlane supply --aab Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.aab --track internal'
|
||||||
# - '$deployFolder = $($env:DEPLOY_FOLDER) + "\" + $($env:CI_BUILD_TAG) + " - " + $commitSubject + "\"'
|
dependencies:
|
||||||
|
- build_Android
|
||||||
# # 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
|
|
||||||
|
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