forked from sbis04/sign_in_flutter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcodemagic.yaml
110 lines (104 loc) · 16.5 KB
/
codemagic.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
workflows:
default-workflow:
name: Default Workflow
environment:
vars:
IOS_FIREBASE_PLIST: Encrypted(Z0FBQUFBQmRwX0lPeklRWVZoU1VfOXdrNUd2QXhRYXlMYWdwOVlwYjhjeUVWb2xMdVpYaEtVbTRFRlBCZVBFdTJYVTd0YWpnbzRVYnJyWWp2UlppTDZoT2hPT1BNN2hUUS0yd3lIQWo0S2w2Qlk1em5HclhhQl96aURBOG1iVWJROEEyNlR4bGl6c25ya2wtVlVwNkxEZGtXN19xRjRwX0lSamJjaEd4UjhEd0lfZUU3dW8zYUVrcFBKVGtjMGVYdFRiTUZ4Y21JdnQzRWVRV1JMdnFMMkZ0eU5yUUpTNndpZkVQckdITmFuSTFIYUpoVFlpdFZ6UklaUnFGa3BJWnZlNF9ON1FvX0MxZHBvWmZrUXdTaFdzVl9RMVNCd3FmaWF3RllCR01HZlZ0MUtWeHpJMnBsbE1wVmh5dzNlc2JwR1VWa241VUd1MkNvSXNIRDRJU05tRndkckoxU0FRRnNZVGdyV2ZpM3NPVzlZVmxmOTBDOWUtVnZqWUZMbU54S2Q1UnhtU0tteEVwWFlKZDVEekh6OTJLNGduc1M3VC0xaWhkaTE3QU0zMDJKUzhWT1NSTWU0b2xKcFpVTDJNdHFXU3JaOW4yMXU2ZzJSN0tMYWRsQnRSbzVYdkNJT3lCaU9iUW5fTmc0eUxKZkpPaTJseFBoanhyMVNTNGRuX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FLeUVpbXBXLWtQZWQtOWVwZTRDX2FfVEtyb2c4U21PcGVDenBpQWM1allZVDJiU0RXZ2wxSU5fb2JDN3g5dVN5WjVtcG1yYXJvR0NvUy1qZk9VT2dNMXZVcHFBS0hJNV9UUjFoN1QzOGRoN0RHMmFNLV9NME43WTNIbENFR3lfVjJpSVVSY1hpQU94OHk1QmdxWUZkVTdMVHBiN3BzZkxGa0xKMXBRdkdscVpOUmdBT0R1RmpBbkk4VnRYUEJlc3pkVTF2QnBYcERIUmtndi1FWHdCR2JocWZMU3k3Z0w2VkxFY290eDZ3YWlndHV4amVsQWlYWkZWNFBzZHdMYWo2LXgxSDd3SmE4ZEVDNzJZQk9pRERHdHB6V1poREI1c3Q1MmQtTDBGVmlTLU92LTFGa1AyVExFVUJLT0dTV0tLV1FFaHhYQ09USm0tNm5qZV8tUUdDSW1NOHFkb0NCTjBXMHp5QUVYa3NUWFM3WjRQOEhseHktbnlZdGZQSTcxZDA5dHRGdTREVW1fWHp3bE9hV0dPTjZiTWlwYTlZc0lydVNVdE4xclNaVFlESU1Vbmk5MWpRUFZuNzJrNFJ2X1NoZjl5V2NsY1ZrNFJrUUhSX2NBRVdBSkFhR0Iyenp0WHVwZDdvYVctcGJhUkZvN3JDbWtKQWNxU3ZqWVBtRldxaG0tQUFfVzBmdzlrNkNsd0w4NnA1QVpCa1dIWkh0T1pKekpxVUVJRkhYdV9BUFRZeVlpSGVEemU3YV9nSEx2NGlMYTYyeEE9PQ==)
flutter: stable
scripts:
- |
# set up debug key.properties
rm -f ~/.android/debug.keystore
keytool -genkeypair \
-alias androiddebugkey \
-keypass android \
-keystore ~/.android/debug.keystore \
-storepass android \
-dname 'CN=Android Debug,O=Android,C=US' \
-keyalg 'RSA' \
-keysize 2048 \
-validity 10000
- |
# set up local properties
echo "flutter.sdk=$HOME/programs/flutter" > "$FCI_BUILD_DIR/android/local.properties"
- flutter packages pub get
- flutter test
- |
#!/bin/sh
echo $ANDROID_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/android/app/google-services.json
echo "Listing android Directory to confirm the google-services.json is there! "
ls android/app/
echo $IOS_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/ios/Runner/GoogleService-Info.plist
echo "\nListing iOS Directory to confirm the GoogleService-Info.plist is there! "
ls ios/Runner/
- flutter build apk --debug
publishing:
email:
recipients:
artifacts:
- build/**/outputs/**/*.apk
- build/**/outputs/**/*.aab
- build/**/outputs/**/mapping.txt
- flutter_drive.log
android-workflow:
name: Android Workflow
environment:
vars:
ANDROID_FIREBASE_JSON: Encrypted(Z0FBQUFBQmRwX0lPQVJySU1HOFNzTXJEQS0wWVY0Z19CZmxwU0NCZUQ5bFRFaHBKLWRUdXRKb19CamlZZzRBSDMzaHNmcGdXOUE5UkZYRGJfVS12Zl9XVFZOZXYycDFlYS0zNnA4dEFpYXN2enFQTGVWRXRab2FFb2wzQWxPa3JnbnpmdFMxMFBUX3gxNGtIRHFEV0Z0b2M5OERlVDZnZjY0a0M0VlJBTldBcndWNk9qMnVJMlY1VzFibjRPRnJlbm5iTlZvdkJ6bzZrYUdLYW8wdVduQmNwMV9jOUVMX2RuX1QtUTQwTWVzV0I5N1VhNXJRS2tVRFlvN2MtZ1czNHVYR3o2VWpXQ2h0QXNiLWdtN29jQ0ZybkEyRVRsV1NSYld1TF9xMlE4dTlDZ3R6Qkt4TnA0WF84LVpBMm9QTjRLN0VrYXItZHdMZ0JxMm5IYl9JM1E1ckxrQk1HRWYtUmtZVWlmN2wzZllYNEZaUmJMWG93ME5TelVnd3U2OEVzX3VlOThrV2VLLUtRd3lpU0puc2dyaFZKeXZzMXhLYjkxSVQwdC1uaFU0NTFhWXp1bFJvQUpndlZ6UC0xLUE3MjhjYzZmMm1Eczg1NFo4bGlrUERmVzIxSVZFWnU0eDB4eFlldURNOVM0d2lkbU9sRC1DRVFIcndRU3lvcnFxbmFsSXh1R19QMU9keXQtY2hWUmREbVUxeEtTekN6NmtSY3U5LTh1NFhFMjZoN3FMV0lo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WV005TTRKN1RzaGlsUzJ4VDlMTkxsaFI4SXVSLVpxY011WlFod3BpNklKX0hodFM1MjZ4TEFrejJBM1k1X3dRZjJjTXFqZjFiSTB3V1hVQkNPaDdnTnBlaVBSb3dnT0NZZ1hTQ1VqZ2haSURVZTIwYzdXWlFuajZ2ZkM1VVZDS3RfVllHSFg3M3E2aExRMWVxb2hiRGZKQ2tWOS1Ea1hyZ290VGk2cEp0dW9YNlNWOXo0U1RIY3pSRElBZDl2QklGZ3RRQ1MzOXB2aldEbDZPWEJIdm9GQkNvT1VtZHhrX3ZITXB4QmhoNl9ETTUxd1N4ZlpyempkWi1FX0hKcmRjbjV4dU5iZEIwaC1KQjk5eDJEUEEyMk1Tekh1RWs1UWhuUWt6RlpMaVhNREs5S2NjNDlNREtfSll4S3FnMHFCdmhxWXZJeHdESTBDeUsweHQxWFFXTC1Bal9xb2pPVkNydXF3cVluT1lPR0RUOGRTQXk2dU1iMndsVFVseTVPNkxxV3N6NGpXWHhzSWI3VW13UWdMdG85MVowLXFDdVVhVzFfN3ZTc296Nnh0VmxTRmI4eG10bHBxQjdONEFTSF9WMGhjWU96WExvaGJhU1A5NHc9PQ==)
flutter: stable
scripts:
- |
# set up debug key.properties
rm -f ~/.android/debug.keystore
keytool -genkeypair \
-alias androiddebugkey \
-keypass android \
-keystore ~/.android/debug.keystore \
-storepass android \
-dname 'CN=Android Debug,O=Android,C=US' \
-keyalg 'RSA' \
-keysize 2048 \
-validity 10000
- |
# set up local properties
echo "flutter.sdk=$HOME/programs/flutter" > "$FCI_BUILD_DIR/android/local.properties"
- flutter packages pub get
- flutter test
- |
#!/bin/sh
echo $ANDROID_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/android/app/google-services.json
echo "Listing android Directory to confirm the google-services.json is there! "
ls android/app/
echo "Hello!!"
- flutter build apk --debug
publishing:
email:
recipients:
artifacts:
- build/**/outputs/**/*.apk
- build/**/outputs/**/*.aab
- build/**/outputs/**/mapping.txt
- flutter_drive.log
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k9oYUFyRFNldlU4NVZrajVZWmtVT1ZiWjBxem5CXzJHdzlMWjUxbXl4eURBY3BmVW5KYU5VR2JhNjJZUnJmUW1ZOEZfVk1PWnBXd3Y0TVRqTUVSako0WUNhSVcwVHk2cmdjMl9jYzZMb3hhWGpFUU1uT0Q4STI1bFZETFJSSVZnVDVWTFF3PT0=)
flutter: stable
scripts:
- flutter packages pub get
- flutter test
- |
#!/bin/sh
echo $IOS_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/ios/Runner/GoogleService-Info.plist
echo "\nListing iOS Directory to confirm the GoogleService-Info.plist is there! "
ls ios/Runner/
publishing:
email:
recipients:
artifacts:
- flutter_drive.log