-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from BaristaVentures/feature/setup-buddybuild
Setup automatic deployments
- Loading branch information
Showing
15 changed files
with
119 additions
and
57 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
-dontobfuscate | ||
-keepattributes InnerClasses, EnclosingMethod | ||
-keepattributes InnerClasses, EnclosingMethod, *Annotation* | ||
|
||
-dontskipnonpubliclibraryclasses | ||
|
||
-keepclasseswithmembers class debug_artist.reporter_pivotaltracker.Story { *; } | ||
-keepclasseswithmembers class debug_artist.reporter_pivotaltracker.StoryRequestBody { *; } | ||
-keepclasseswithmembers class debug_artist.reporter_pivotaltracker.Comment { *; } | ||
-keepclasseswithmembers class debug_artist.reporter_pivotaltracker.Attachment { *; } | ||
-keepclasseswithmembers class debug_artist.reporter_pivotaltracker.Attachment { *; } | ||
|
||
-dontwarn kotlin.reflect.jvm.internal.** |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copy env variables to app module gradle properties file | ||
# Prepare the project to be built from a server, creating the needed files from env variables. | ||
# | ||
# - Copy env variables to app module gradle properties file. | ||
# - Decode variable names with "_BARISTA_DOT_" as ".". | ||
# - Decode from base64 the secring.gpg | ||
# | ||
|
||
set +x // Hide all output | ||
|
||
ENV_VARIABLES=$(printenv | tr ' ' '\n') | ||
IFS="" | ||
|
||
: ${PROPERTIES_FILE:=gradle.properties} | ||
# Decode base64 file | ||
echo $DA_SIGN_SECRET_RING_FILE | base64 --decode --ignore-garbage >> secring.gpg | ||
cp secring.gpg lib/secring.gpg | ||
cp secring.gpg reporter-pivotal/secring.gpg | ||
|
||
set +x // dont print the next lines on run script | ||
for PROPERTIES_FILE in gradle.properties lib/bintray.properties reporter-pivotal/bintray.properties | ||
do | ||
# Decode variables named like 'sign_BARISTA_DOT_password=123' to 'sign.password=123'. | ||
# Some ci servers like circle-ci don't support env variable names with a '.' | ||
echo ${ENV_VARIABLES//_BARISTA_DOT_/.} > $PROPERTIES_FILE | ||
|
||
printenv | tr ' ' '\n' > $PROPERTIES_FILE | ||
echo signing.secretKeyRingFile=secring.gpg >> $PROPERTIES_FILE | ||
done | ||
|
||
set -x | ||
set -x |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,5 @@ if [ ! -e $DEPS_FILE ]; then | |
|
||
touch DEPS_FILE; | ||
|
||
fi | ||
fi | ||
|