Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
linhome-android-old-big-globs
Commits
24851d96
Commit
24851d96
authored
4 years ago
by
Christophe Deschamps
Browse files
Options
Download
Patches
Plain Diff
Update CI with store build
Former-commit-id: 7609e63ec224c0d92f0b735a2e69b1c88cfffc4b
parent
866e1ba0
1.0.0-beta
1.0.0-alpha
1.0
No related merge requests found
Pipeline
#25310
failed with stage
in 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+14
-0
.gitlab-ci.yml
app/build.gradle
+13
-0
app/build.gradle
with
27 additions
and
0 deletions
.gitlab-ci.yml
+
14
−
0
View file @
24851d96
...
...
@@ -24,13 +24,27 @@ job-android:
image
:
gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:29
script
:
-
sdkmanager
-
scp -oStrictHostKeyChecking=no $DEPLOY_SERVER:$ANDROID_KEYSTORE_PATH app/
-
echo storePassword=$ANDROID_KEYSTORE_PASSWORD > keystore.properties
-
echo keyPassword=$ANDROID_KEYSTORE_KEY_PASSWORD >> keystore.properties
-
echo keyAlias=$ANDROID_KEYSTORE_KEY_ALIAS >> keystore.properties
-
echo storeFile=$ANDROID_KEYSTORE_FILE >> keystore.properties
-
./gradlew app:dependencies | grep org.linphone
-
./gradlew assembleDebug
-
./gradlew assembleRelease
-
./gradlew app:dependencies | grep org.linphone
-
./gradlew assembleDebug
-
cp ./app/build/outputs/apk/debug/app-debug.apk lindoor-debug-unsigned.apk
-
cp ./app/build/outputs/apk/release/app-debug.apk lindoor-release-signed.apk
artifacts
:
paths
:
-
lindoor-debug-unsigned.apk
-
lindoor-release-signed.apk
when
:
always
expire_in
:
1 week
This diff is collapsed.
Click to expand it.
app/build.gradle
+
13
−
0
View file @
24851d96
...
...
@@ -58,6 +58,19 @@ android {
variant
.
getMergedFlavor
().
manifestPlaceholders
=
[
lindoor_file_provider:
applicationId
+
".fileprovider"
]
}
def
keystorePropertiesFile
=
rootProject
.
file
(
"keystore.properties"
)
def
keystoreProperties
=
new
Properties
()
keystoreProperties
.
load
(
new
FileInputStream
(
keystorePropertiesFile
))
signingConfigs
{
release
{
storeFile
file
(
keystoreProperties
[
'storeFile'
])
storePassword
keystoreProperties
[
'storePassword'
]
keyAlias
keystoreProperties
[
'keyAlias'
]
keyPassword
keystoreProperties
[
'keyPassword'
]
}
}
buildFeatures
{
dataBinding
=
true
}
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets