This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android:build: | |
stage: build | |
tags: | |
- appditto_mac | |
script: | |
# Flutter local configuration | |
- echo flutter.sdk=$FLUTTER_PATH > android/local.properties | |
- echo sdk.dir=$ANDROID_SDK_PATH >> android/local.properties | |
- echo flutter.buildMode=release >> android/local.properties | |
# Android signing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prod:android:deploy: | |
stage: deploy | |
tags: | |
- appditto_mac | |
script: | |
- cd android | |
- bundle exec fastlane deploy_android production:true | |
when: manual | |
dependencies: | |
- android:build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- test | |
- update | |
- build | |
- deploy | |
tests: | |
stage: test | |
only: | |
- master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/michelp/pgjwt.git /pgjwt | |
# forbid creation of a main cluster when package is installed | |
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf | |
for version in $DEB_PG_SUPPORTED_VERSIONS; do | |
sed -i "s/ main.*$/ main $version/g" /etc/apt/sources.list.d/pgdg.list | |
apt-get update | |
if [ "$DEMO" != "true" ]; then |
OlderNewer