From 9706957240c9ef911ea69931528917f6d0744080 Mon Sep 17 00:00:00 2001 From: Elijah Gichinga Date: Wed, 4 Oct 2023 12:09:22 +0300 Subject: [PATCH 1/3] Add build --- build.gradle | 5 +++++ src/digital_payments/AndroidManifest.xml | 8 ++++++++ src/digital_payments/res/values/strings.xml | 5 +++++ 3 files changed, 18 insertions(+) create mode 100644 src/digital_payments/AndroidManifest.xml create mode 100644 src/digital_payments/res/values/strings.xml diff --git a/build.gradle b/build.gradle index fd6d9899..2ac1ea86 100644 --- a/build.gradle +++ b/build.gradle @@ -390,6 +390,11 @@ android { dimension = 'brand' applicationId = 'org.medicmobile.webapp.mobile.moh_kenya_echis' } + + digital_payments { + dimension = 'brand' + applicationId = 'org.medicmobile.webapp.mobile.digital_payments' + } } splits { diff --git a/src/digital_payments/AndroidManifest.xml b/src/digital_payments/AndroidManifest.xml new file mode 100644 index 00000000..def9a408 --- /dev/null +++ b/src/digital_payments/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/src/digital_payments/res/values/strings.xml b/src/digital_payments/res/values/strings.xml new file mode 100644 index 00000000..d2ccbef8 --- /dev/null +++ b/src/digital_payments/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Digital Payments Zanzibar + digital-payments-zanzibar.dev.medicmobile.org + From 3a68ad8c2175662929c363d6d8f6212c6ac4574e Mon Sep 17 00:00:00 2001 From: Elijah Gichinga Date: Wed, 4 Oct 2023 22:28:15 +0300 Subject: [PATCH 2/3] Build action --- .github/workflows/publish.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1d95cca6..0f907928 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -359,6 +359,32 @@ jobs: ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_NIGER_CHW }} ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_NIGER_CHW }} + - name: Unpack secrets digital payments + env: + ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_DIGITAL_PAYMENTS }} + ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_DIGITAL_PAYMENTS }} + run: make org=digital_payments keydec + + - name: Assemble digital payments + uses: maierj/fastlane-action@v1.4.0 + with: + lane: build + options: '{ "flavor": "digital_payments" }' + env: + ANDROID_KEYSTORE_PATH: digital_payments.keystore + ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_DIGITAL_PAYMENTS }} + ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_DIGITAL_PAYMENTS }} + + - name: Bundle digital payments + uses: maierj/fastlane-action@v1.4.0 + with: + lane: bundle + options: '{ "flavor": "digital_payments" }' + env: + ANDROID_KEYSTORE_PATH: digital_payments.keystore + ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_DIGITAL_PAYMENTS }} + ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_DIGITAL_PAYMENTS }} + - name: GitHub release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') From 66ce64df60740da79a4fe8857069ab67c28e99ed Mon Sep 17 00:00:00 2001 From: Elijah Gichinga Date: Wed, 4 Oct 2023 22:35:14 +0300 Subject: [PATCH 3/3] Secrets --- secrets/secrets-digital_payments.tar.gz.enc | Bin 0 -> 5664 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 secrets/secrets-digital_payments.tar.gz.enc diff --git a/secrets/secrets-digital_payments.tar.gz.enc b/secrets/secrets-digital_payments.tar.gz.enc new file mode 100644 index 0000000000000000000000000000000000000000..03c9a378204a5bd9e249143ab03ecf74b4f96652 GIT binary patch literal 5664 zcmV+*7T@X2U7_mTDE)}x^SkKO(5r2bBQ1@AvvdRpo1UZK=~51}m2?2emc>A^KKhYo z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