-
Notifications
You must be signed in to change notification settings - Fork 60
feat(flavours): add chv-neo flavour #343
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ jobs: | |
| - name: Set up Ruby | ||
| uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: 2.7 | ||
| ruby-version: 2.6 | ||
|
|
||
| - name: Set up Fastlane | ||
| run: gem install fastlane --no-document --quiet | ||
|
|
@@ -222,39 +222,6 @@ jobs: | |
| with: | ||
| lane: build | ||
| options: '{ "flavor": "itech_malawi" }' | ||
|
|
||
| - name: Unpack secrets cares_malawi_kch | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did the jobs for |
||
| env: | ||
| ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_CARES_MALAWI_KCH }} | ||
| ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_CARES_MALAWI_KCH }} | ||
| run: make org=cares_malawi_kch keydec | ||
|
|
||
| - name: Assemble cares_malawi_kch | ||
| uses: maierj/fastlane-action@v1.4.0 | ||
| with: | ||
| lane: build | ||
| options: '{ "flavor": "cares_malawi_kch" }' | ||
| env: | ||
| ANDROID_KEYSTORE_PATH: cares_malawi_kch.keystore | ||
| ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_CARES_MALAWI_KCH }} | ||
| ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_CARES_MALAWI_KCH }} | ||
|
|
||
| - name: Unpack secrets cares_malawi_mpc | ||
| env: | ||
| ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_CARES_MALAWI_MPC }} | ||
| ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_CARES_MALAWI_MPC }} | ||
| run: make org=cares_malawi_mpc keydec | ||
|
|
||
| - name: Assemble cares_malawi_mpc | ||
| uses: maierj/fastlane-action@v1.4.0 | ||
| with: | ||
| lane: build | ||
| options: '{ "flavor": "cares_malawi_mpc" }' | ||
| env: | ||
| ANDROID_KEYSTORE_PATH: cares_malawi_mpc.keystore | ||
| ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_CARES_MALAWI_MPC }} | ||
| ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_CARES_MALAWI_MPC }} | ||
|
|
||
| - name: Assemble alerte_niger | ||
| uses: maierj/fastlane-action@v1.4.0 | ||
| with: | ||
|
|
@@ -392,32 +359,6 @@ jobs: | |
| ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_NIGER_CHW }} | ||
| ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_NIGER_CHW }} | ||
|
|
||
| - name: Unpack secrets moh_togo_uat | ||
| env: | ||
| ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_MOH_TOGO_UAT }} | ||
| ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_MOH_TOGO_UAT }} | ||
| run: make org=moh_togo_uat keydec | ||
|
|
||
| - name: Assemble moh_togo_uat | ||
| uses: maierj/fastlane-action@v1.4.0 | ||
| with: | ||
| lane: build | ||
| options: '{ "flavor": "moh_togo_uat" }' | ||
| env: | ||
| ANDROID_KEYSTORE_PATH: moh_togo_uat.keystore | ||
| ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_TOGO_UAT }} | ||
| ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_TOGO_UAT }} | ||
|
|
||
| - name: Bundle moh_togo_uat | ||
| uses: maierj/fastlane-action@v1.4.0 | ||
| with: | ||
| lane: bundle | ||
| options: '{ "flavor": "moh_togo_uat" }' | ||
| env: | ||
| ANDROID_KEYSTORE_PATH: moh_togo_uat.keystore | ||
| ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_TOGO_UAT }} | ||
| ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_TOGO_UAT }} | ||
|
|
||
| - name: GitHub release | ||
| uses: softprops/action-gh-release@v1 | ||
| if: startsWith(github.ref, 'refs/tags/') | ||
|
|
@@ -428,3 +369,29 @@ jobs: | |
| build/outputs/bundle/**/*-release.aab | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} | ||
|
|
||
| - name: Unpack secrets chv_neo | ||
| env: | ||
| ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_CHV_NEO }} | ||
| ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_CHV_NEO }} | ||
| run: make org=chv_neo keydec | ||
|
|
||
| - name: Assemble chv_neo | ||
| uses: maierj/fastlane-action@v1.4.0 | ||
| with: | ||
| lane: build | ||
| options: '{ "flavor": "chv_neo" }' | ||
| env: | ||
| ANDROID_KEYSTORE_PATH: chv_neo.keystore | ||
| ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_CHV_NEO }} | ||
| ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_CHV_NEO }} | ||
|
|
||
| - name: Bundle chv_neo | ||
| uses: maierj/fastlane-action@v1.4.0 | ||
| with: | ||
| lane: bundle | ||
| options: '{ "flavor": "chv_neo" }' | ||
| env: | ||
| ANDROID_KEYSTORE_PATH: chv_neo.keystore | ||
| ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_CHV_NEO }} | ||
| ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_CHV_NEO }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -361,16 +361,6 @@ android { | |
| applicationId = 'org.medicmobile.webapp.mobile.itech_malawi' | ||
| } | ||
|
|
||
| cares_malawi_kch { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. Was |
||
| dimension = 'brand' | ||
| applicationId = 'org.medicmobile.webapp.mobile.cares_malawi_kch' | ||
| } | ||
|
|
||
| cares_malawi_mpc { | ||
| dimension = 'brand' | ||
| applicationId = 'org.medicmobile.webapp.mobile.cares_malawi_mpc' | ||
| } | ||
|
|
||
| alerte_niger { | ||
| dimension = 'brand' | ||
| applicationId = 'org.medicmobile.webapp.mobile.alerte_niger' | ||
|
|
@@ -401,11 +391,10 @@ android { | |
| applicationId = 'org.medicmobile.webapp.mobile.moh_kenya_echis' | ||
| } | ||
|
|
||
| moh_togo_uat { | ||
| chv_neo { | ||
| dimension = 'brand' | ||
| applicationId = 'org.medicmobile.webapp.mobile.moh_togo_uat' | ||
| applicationId = 'org.medicmobile.webapp.mobile.chv_neo' | ||
| } | ||
|
|
||
| } | ||
|
|
||
| splits { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
| xmlns:tools="http://schemas.android.com/tools" | ||
| package="org.medicmobile.webapp.mobile"> | ||
|
|
||
| <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" /> | ||
| </manifest> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| <background android:drawable="@color/ic_launcher_background"/> | ||
| <foreground android:drawable="@mipmap/ic_launcher_foreground"/> | ||
| </adaptive-icon> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| <background android:drawable="@color/ic_launcher_background"/> | ||
| <foreground android:drawable="@mipmap/ic_launcher_foreground"/> | ||
| </adaptive-icon> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <resources> | ||
| <color name="ic_launcher_background">#FFFFFF</color> | ||
| </resources> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <resources> | ||
| <string name="app_name">CHV-NEO</string> | ||
| <string name="app_host">chv-neo.org</string> | ||
| </resources> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this change intentional? I think we bumped this to
2.7recently to address: #340