mirror of
https://github.com/status-im/status-react.git
synced 2025-02-08 17:15:52 +00:00
use Android keystore from Jenkins credentials
This way we don't have to store it on individual CI hosts. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
988a7f6b0c
commit
cb78293db7
@ -244,7 +244,6 @@ android {
|
|||||||
release {
|
release {
|
||||||
// Caution! In production, you need to generate your own keystore file.
|
// Caution! In production, you need to generate your own keystore file.
|
||||||
// see https://facebook.github.io/react-native/docs/signed-apk-android.
|
// see https://facebook.github.io/react-native/docs/signed-apk-android.
|
||||||
signingConfig signingConfigs.debug
|
|
||||||
minifyEnabled enableProguardInReleaseBuilds
|
minifyEnabled enableProguardInReleaseBuilds
|
||||||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
|
@ -29,8 +29,6 @@ pipeline {
|
|||||||
BUILD_ENV = 'prod'
|
BUILD_ENV = 'prod'
|
||||||
NIX_CONF_DIR = "${env.WORKSPACE}/nix"
|
NIX_CONF_DIR = "${env.WORKSPACE}/nix"
|
||||||
FASTLANE_DISABLE_COLORS = 1
|
FASTLANE_DISABLE_COLORS = 1
|
||||||
/* since we are mounting it we need to specify location */
|
|
||||||
STATUS_RELEASE_STORE_FILE = '/home/jenkins/status-im.keystore'
|
|
||||||
/* We use EXECUTOR_NUMBER to avoid multiple instances clashing */
|
/* We use EXECUTOR_NUMBER to avoid multiple instances clashing */
|
||||||
LEIN_HOME = "/var/tmp/lein-${EXECUTOR_NUMBER}"
|
LEIN_HOME = "/var/tmp/lein-${EXECUTOR_NUMBER}"
|
||||||
/* coverage report identification */
|
/* coverage report identification */
|
||||||
|
@ -25,6 +25,10 @@ def bundle() {
|
|||||||
|
|
||||||
/* credentials necessary to open the keystore and sign the APK */
|
/* credentials necessary to open the keystore and sign the APK */
|
||||||
withCredentials([
|
withCredentials([
|
||||||
|
file(
|
||||||
|
credentialsId: 'status-im.keystore',
|
||||||
|
variable: 'STATUS_RELEASE_STORE_FILE'
|
||||||
|
),
|
||||||
string(
|
string(
|
||||||
credentialsId: 'android-keystore-pass',
|
credentialsId: 'android-keystore-pass',
|
||||||
variable: 'STATUS_RELEASE_STORE_PASSWORD'
|
variable: 'STATUS_RELEASE_STORE_PASSWORD'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user