Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀[Release v2.14.0] Merge into Develop #307

Open
wants to merge 37 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ad6ac60
🚀[Release v2.11.1 071024] Merge into Main (#246)
kcw-grunt Oct 8, 2024
dcb363e
🚀[Release v2.12.2 20241118] Merge into Main (#273)
kcw-grunt Nov 21, 2024
893649d
🚀[Release v2.12.4 20241130] Merge into Main (#285)
kcw-grunt Dec 4, 2024
e7c9ad4
🚀[Release v2.13.0] Merge into Main (#301)
kcw-grunt Dec 19, 2024
fb7e1e5
code and version bump
kcw-grunt Dec 21, 2024
5113776
Moved Arabic location in List
kcw-grunt Dec 21, 2024
28ab598
renamed config workflow
kcw-grunt Dec 21, 2024
18183ae
Update config.yml
kcw-grunt Dec 21, 2024
8af6e24
resolved conflicts
kcw-grunt Dec 21, 2024
0034f00
resolved conflict
kcw-grunt Dec 21, 2024
b457c2f
removed example test
kcw-grunt Dec 21, 2024
6a7e8a5
code bump
kcw-grunt Dec 21, 2024
8f40256
Test
kcw-grunt Dec 22, 2024
6b17e92
removed tabs
kcw-grunt Dec 22, 2024
79e12d8
remvoed more tabs
kcw-grunt Dec 22, 2024
5d7e9e6
found the tab
kcw-grunt Dec 22, 2024
7a213ca
comment out test
kcw-grunt Dec 22, 2024
12bea30
fix config?
kcw-grunt Dec 22, 2024
4e7eefb
remvoed tab
kcw-grunt Dec 22, 2024
63a08e1
found tab
kcw-grunt Dec 22, 2024
b2eb9d6
added indent
kcw-grunt Dec 22, 2024
7c1101b
wipe configs
kcw-grunt Dec 22, 2024
1031350
Test
kcw-grunt Dec 22, 2024
efc8fd6
removed tabs
kcw-grunt Dec 22, 2024
bd0ef60
remvoed more tabs
kcw-grunt Dec 22, 2024
cb93f22
found the tab
kcw-grunt Dec 22, 2024
7160a63
comment out test
kcw-grunt Dec 22, 2024
6e2753a
fix config?
kcw-grunt Dec 22, 2024
6119928
remvoed tab
kcw-grunt Dec 22, 2024
744e247
found tab
kcw-grunt Dec 22, 2024
fffd5f2
added indent
kcw-grunt Dec 22, 2024
225799b
wipe configs
kcw-grunt Dec 22, 2024
ed1e34e
code bump
kcw-grunt Dec 21, 2024
d8bacf2
Restored config
kcw-grunt Dec 22, 2024
34c51e8
Merge branch 'release/v2.14.0' of https://github.com/litecoin-foundat…
kcw-grunt Dec 22, 2024
8ca741b
fixed config
kcw-grunt Dec 22, 2024
daf9a23
removed lwdata
kcw-grunt Dec 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .circleci/circle_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

function copyEnvironmentVariablesToGradleProperties {
DIR="$(pwd)"
GRADLE_PROPERTIES=${DIR}"/gradle.properties"
export GRADLE_PROPERTIES
echo "Gradle Properties should exist at $GRADLE_PROPERTIES"

if [[ ! -f "$GRADLE_PROPERTIES" ]]; then
echo "Gradle Properties does not exist"

echo "Creating Gradle Properties file..."
touch $GRADLE_PROPERTIES

echo "Writing keys to gradle.properties..."
echo "RELEASE_KEYSTORE_FILE=$RELEASE_KEYSTORE_FILE" >> ${GRADLE_PROPERTIES}
echo "RELEASE_KEYSTORE_PASSWORD=$RELEASE_KEYSTORE_PASSWORD" >> ${GRADLE_PROPERTIES}
echo "RELEASE_KEY_ALIAS=$RELEASE_KEY_ALIAS" >> ${GRADLE_PROPERTIES}
echo "RELEASE_KEY_PASSWORD=$RELEASE_KEY_PASSWORD" >> ${GRADLE_PROPERTIES}
fi
}



function fetchKeystore {
sudo gpg --passphrase ${RELEASE_KEYSTORE_ENCRYPTION_KEY} --pinentry-mode loopback -o "app/$RELEASE_KEYSTORE_FILE" -d "upload-binary/$RELEASE_KEYSTORE_FILE.gpg"
}
13 changes: 6 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ orbs:
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
unit-test:
all-unit-tests:
executor:
name: android/android_docker
resource_class: large
Expand All @@ -18,12 +18,12 @@ jobs:
- run:
name: "litewallet-android unit test setup..."
command: "echo Building tests for litewallet-android! && ls"
- run:
name: "Initialize submodules"
command: "git submodule init && git submodule update --init --recursive"
- run:
name: "Default for gradle.properties"
command: "echo \"RELEASE_STORE_FILE=/\nRELEASE_STORE_PASSWORD=\nRELEASE_KEY_ALIAS=\nRELEASE_KEY_PASSWORD=\nandroid.useAndroidX=true\nandroid.enableJetifier=true\" >> gradle.properties && ls && cat gradle.properties"
- run:
name: "Initialize submodule"
command: "git submodule init && git submodule update --init --recursive"
- run:
name: "Export google-services.json to env"
command: echo 'export $GOOGLE_SERVICES_JSON="$GOOGLE_SERVICES_JSON"' >> $BASH_ENV
Expand All @@ -32,7 +32,7 @@ jobs:
command: echo "$GOOGLE_SERVICES_JSON" | base64 --decode > app/google-services.json
- android/restore_gradle_cache
- run:
name: "Execute Unit Test"
name: "Execute Unit Test"
command: ./gradlew testLitewalletDebugUnitTest
- android/save_gradle_cache
- run:
Expand All @@ -46,10 +46,9 @@ jobs:
- store_artifacts:
path: ~/test-results/junit


# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
test-and-build:
jobs:
- unit-test
- all-unit-tests
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,4 @@ app/src/litewalletDebug/google-services.json
androidTestResultsUserPreferences.xml
.idea/deploymentTargetSelector.xml
.idea/inspectionProfiles/Project_Default.xml
/app/upload-binary/*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "app/src/main/jni/loafwallet-core"]
path = app/src/main/jni/loafwallet-core
url = https://github.com/litecoin-foundation/loafwallet-core.git
[submodule "litewallet-data"]
path = litewallet-data
url = https://github.com/gruntsoftware/litewallet-data.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we put the google-services.json and the release.keystore here? @kcw-grunt

3 changes: 3 additions & 0 deletions app/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions app/.idea/appInsightsSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading