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 |
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
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
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
update: | |
stage: update | |
only: | |
- master | |
tags: | |
- appditto_mac | |
script: | |
- flutter packages get | |
- flutter packages upgrade | |
interruptible: true |
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
tests: | |
stage: test | |
only: | |
- master | |
tags: | |
- appditto_mac | |
script: | |
- flutter test | |
interruptible: true |
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 |
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
release_notes({ | |
'default' => File.read('./fastlane/metadata/en-US/release_notes.txt'), | |
'en-US' => File.read('./fastlane/metadata/en-US/release_notes.txt') | |
}); | |
submission_information({ | |
add_id_info_serves_ads: false, | |
add_id_info_tracks_action: false, | |
add_id_info_tracks_install: false, | |
add_id_info_uses_idfa: false, |
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
# Automatically update fastlane | |
update_fastlane | |
default_platform(:ios) | |
# Default temporary keychain password and name, if not included from environment | |
TEMP_KEYCHAIN_NAME_DEFAULT = "fastlane_flutter" | |
TEMP_KEYCHAN_PASSWORD_DEFAULT = "temppassword" | |
# Remove the temporary keychain, if it exists |
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
#!/bin/bash | |
cd ../../ | |
echo "Running tests" | |
flutter test |
NewerOlder