Files
super-app/Dockerfile
Satish Prasad e0ed4534dc Release 1.6.0 into master (#1345)
* KYC Dynamic First Draft

* Kyc Test Cases

* Kyc Fragment dev tested

* call kyc details incase of aadhar otp failure

* Kyc In Progress with mock

* Kyc In Progress with mock + Phone Link

* Dob instead if age + new validations for PL and HL

* Test cases updated

* Proof of Address optional : handle based on flag [APP-568]

* Kyc deep link for kyc in progress

* change the typo

* Configurable age check for PL/HL

* fetch kyc on cancelling the aadhar flow

* db cleanup (#1283)

* random number generator added

* db cleanup methods added

* Fix conflicts (#1286)

* Test added for menu (#1287)

* DOb Hint on DOb already filled.

* Update insurance sdk version (#1291)

* Master to develop (#1292)

* Release 1.5.8 (#1289)

* v1.5.8 60

* Removed ACCESS_BACKGROUND_LOCATION (#1288)

Co-authored-by: rahul bhat <rahul.bhat@navi.com>

* hyperverge key upgrade (#1290)

Co-authored-by: Satish Prasad <satish.prasad@navi.com>

* Contract changes

* Master (#1293)

* Release 1.5.8 (#1289)

* v1.5.8 60

* Removed ACCESS_BACKGROUND_LOCATION (#1288)

Co-authored-by: rahul bhat <rahul.bhat@navi.com>

* hyperverge key upgrade (#1290)

Co-authored-by: Satish Prasad <satish.prasad@navi.com>

* corrected ids (#1295)

* Fixed issue in cta extras in GetLoanActivity.kt

* video kyc UI + contract changes

* random phone number method added (#1296)

* random phone number method added

* negative cases modified

* Random number (#1297)

* random phone number method added

* negative cases modified

* issues resolved

* issue resolved

* video kyc webview handling

* Test fix (#1298)

* pincode in city bug fix

* Fix home loan pre eligibility events

* Fixed events for BS

* added new event for continue button of bs

* Kyc Hide next button configurable

* Kyc invisible next button configurable

* First Draft

* added more data to installed app api

* Fix push notification event tracking issue

* Fix Reconnect sceanrio in vidoe Kyc

* Test added (#1310)

* Disabled video kyc

* Added a default user agent

* Tried popup issue (#1312)

* Popupfixkyc (#1313)

* Tried popup issue

* popup

* Test added (#1314)

* Removetest (#1315)

* Test added

* Test removed

* updated contract for posting installed apps.

* Questionnaire with Mock

* Test Cases for Questionnaire

* Questionnaire handled in all scenarios

* update the typo

* Test classes added (#1316)

* build.gradle changes to know the status of test

* changes for generating random phone number

* Dockerfile changes for running e2eTest

* unused files deleted

* Cleanup phone number (#1317)

* build.gradle changes to know the status of test

* changes for generating random phone number

* Dockerfile changes for running e2eTest

* unused files deleted

* databaseutils removed and imports corrected

* import removed

* audio permission + 2nd phase

* phone number changes for forclosure

* Test corrected

* Permission changes

* Video KYC callback fixed

* multiple number generated

* multiple number generated (#1322)

* home loan tests modified (#1323)

* fixes

* Submit QuestionnaireResponse

* Added more events

* reject screen if video kyc rejected

* Video Kyc firebase

* fix pushing

* build status reponse

* changes

* changes

* get Session id

* reporting changes

* changes in reporting

* changes in report

* changes in report (#1332)

* Fixing Firebase Constants (#1325)

* Test cases for Video Kyc

* Questionnaire TestCase

* Feature/razorpay multiple accounts (#1333)

* razorpay multiple accounts

* removed key from gradle

* razorpay accounts for enach

* reporting part changes

* Soft Reject after checking requestId

* report changes in case build still running

* Tested fetch Questionnaire

* test runtime increased

* Tested sumit questionnaire

* Hide other values when aadhar step is done

* Post Questionnaire contract changes

* Video KYC Reject

* typo in questionnaire request

* changes

* digitap sdk upgrade, flow changes (#1335)

* digitap sdk upgrade, flow changes

* QA env , digitap changed to UAT

* truecaller based on setting (#1341)

* release-1.6.0

* first draft

* aadhaar digitap points to prod (#1342)

* Working build

* Test cases for disbursement otp

* getValidWidgetListForQuestionnaire

* Auto Fill Otp

* Feature/security selfie hyperverge bypass (#1343)

* selfie bypass handling

* minor chnages

* added uuid in request body

* api integration continue..

* raw response key added

* Incorporated code review feedback

* Fixed Selfie CKYC issue

* added industry field on workdetails page

* Fix QuestionnaireVMTest.kt

* handle co applicant industry view

* fix for address

* complete the industry view end to end flow

* Fix home loan property detail city view for develop branch

* fix previous selected work industry data

* mock disabled

* added income info bottom sheet

* Fixed some UI issues

* optimized HL STeps flow

* Renamed

* added income info icon for co applicant as well

* fix api end point

* Location Events for Debugging

* remove industry list api

* Home loan property detail changes (#1349)

* home loan property page changes

* Test cases for home loan profile page changes

* fix cityId issue

* fix typo of requiredLoanAmount

* resolve comments

* Home loan work details industry view changes (#1350)

* added industry field on workdetails page

* handle co applicant industry view

* complete the industry view end to end flow

* fix previous selected work industry data

* added income info bottom sheet

* added income info icon for co applicant as well

* fix api end point

* remove industry list api

* resolve comments

* Feature/disbursement otp (#1348)

* first draft

* Working build

* Test cases for disbursement otp

* Auto Fill Otp

* fix for address

* mock disabled

Co-authored-by: Satish Prasad <satish.prasad@navi.com>

* Conditions updated

* Fixed Otp not showing issue

Co-authored-by: rahul bhat <rahul.bhat@navi.com>
Co-authored-by: shankar yadav <shankar.yadav@navi.com>
Co-authored-by: Sidharth Bamba <sidharth.bamba@navi.com>
Co-authored-by: Pragya Sharma <pragya.sharma@navi.com>
Co-authored-by: nitheesh krishnanand <nitheesh.krishnanand@navi.com>
2021-05-19 15:42:52 +05:30

57 lines
2.5 KiB
Docker

FROM registry.cmd.navi-tech.in/android-base:latest
ARG BASE_URL
ARG FLAVOR
ARG RAZORPAY_KEY
ARG UXCAM_KEY
ARG MOENGAGE_KEY
ARG APPSFLYER_KEY
ARG RELEASE_STORE_FILE
ARG RELEASE_STORE_PASSWORD
ARG RELEASE_KEY_PASSWORD
ARG RELEASE_KEY_ALIAS
ARG NEXUS_URL
ARG NEXUS_USERNAME
ARG NEXUS_PASSWORD
ARG HYPERVERGE_APP_KEY
ARG HYPERVERGE_APP_ID
ARG SINGULAR_APP_KEY
ARG SINGULAR_SECRET
ARG FRESHCHAT_APP_ID
ARG FRESHCHAT_APP_KEY
ARG FRESHCHAT_DOMAIN
ARG TRUECALLER_KEY
ARG GI_SECRET_KEY
ARG DIGITAP_CLIENT_ID
ARG DIGITAP_CLIENT_SECRET
ENV WORK_DIR="/android/navi" \
ANDROID_APK_DIR="app/build/outputs/apk"
COPY . $WORK_DIR
WORKDIR $WORK_DIR
RUN echo ${RELEASE_STORE_FILE} | base64 -d >> app/navi-release-key.jks
RUN bash -c " \
if [ $FLAVOR = E2ETEST ] ; then \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup; \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup -PtestType=\"e2e\" executeE2ETests; \
\
elif [ $FLAVOR = DEV ] ; then \
./gradlew clean \
assembleDev -PFLAVOR=${FLAVOR} -PRELEASE_STORE_PASSWORD=${RELEASE_STORE_PASSWORD} -PRELEASE_KEY_PASSWORD=${RELEASE_KEY_PASSWORD} -PRELEASE_KEY_ALIAS=${RELEASE_KEY_ALIAS} ; \
\
elif [ $FLAVOR = QA ] ; then \
./gradlew clean \
assembleQa -PFLAVOR=${FLAVOR} -PRELEASE_STORE_PASSWORD=${RELEASE_STORE_PASSWORD} -PRELEASE_KEY_PASSWORD=${RELEASE_KEY_PASSWORD} -PRELEASE_KEY_ALIAS=${RELEASE_KEY_ALIAS} ; \
\
elif [ $FLAVOR = PROD ] ; then \
./gradlew clean \
assembleProd -PBASE_URL=${BASE_URL} -PUXCAM_KEY=${UXCAM_KEY} -PRAZORPAY_KEY=${RAZORPAY_KEY} -PMOENGAGE_KEY=${MOENGAGE_KEY} -PAPPSFLYER_KEY=${APPSFLYER_KEY} -PFLAVOR=${FLAVOR} -PRELEASE_STORE_PASSWORD=${RELEASE_STORE_PASSWORD} -PRELEASE_KEY_PASSWORD=${RELEASE_KEY_PASSWORD} -PRELEASE_KEY_ALIAS=${RELEASE_KEY_ALIAS} -PHYPERVERGE_APP_KEY=${HYPERVERGE_APP_KEY} -PHYPERVERGE_APP_ID=${HYPERVERGE_APP_ID} -PSINGULAR_APP_KEY=${SINGULAR_APP_KEY} -PSINGULAR_SECRET=${SINGULAR_SECRET} -PFRESHCHAT_APP_ID=${FRESHCHAT_APP_ID} -PFRESHCHAT_APP_KEY=${FRESHCHAT_APP_KEY} -PFRESHCHAT_DOMAIN=${FRESHCHAT_DOMAIN} -PTRUECALLER_KEY=${TRUECALLER_KEY} -PGI_SECRET_KEY=${GI_SECRET_KEY} -PDIGITAP_CLIENT_ID=${DIGITAP_CLIENT_ID} -PDIGITAP_CLIENT_SECRET=${DIGITAP_CLIENT_SECRET} ; \
\
else echo 'ERROR: Flavor not mentioned' ; \
fi ;"
RUN bash -c "if [ $FLAVOR != E2ETEST ] ; then ./gradlew uploadArchives -PFLAVOR=${FLAVOR} -PNEXUS_URL=${NEXUS_URL} -PNEXUS_USERNAME=${NEXUS_USERNAME} -PNEXUS_PASSWORD=${NEXUS_PASSWORD} ; fi ;"