reverted the changes
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -33,19 +33,14 @@ WORKDIR $WORK_DIR
|
||||
|
||||
RUN echo ${RELEASE_STORE_FILE} | base64 -d >> app/navi-release-key.jks
|
||||
|
||||
if [ $FLAVOR = E2ETEST ] ; then \
|
||||
RUN ["chmod", "+x", "run-tests.sh"]
|
||||
CMD ["./run-tests.sh"]
|
||||
\
|
||||
|
||||
RUN bash -c " \
|
||||
|
||||
# if [ $FLAVOR = E2ETEST ] ; then \
|
||||
# ./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup; \
|
||||
# ./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.BrowserStackInit -PtestType=\"e2e\" executeE2ETests; \
|
||||
# ./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.MockDataCleanup; \
|
||||
# \
|
||||
if [ $FLAVOR = DEV ] ; then \
|
||||
if [ $FLAVOR = E2ETEST ] ; then \
|
||||
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup; \
|
||||
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.BrowserStackInit -PtestType=\"e2e\" executeE2ETests; \
|
||||
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.MockDataCleanup; \
|
||||
\
|
||||
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} ; \
|
||||
\
|
||||
|
||||
22
run-tests.sh
22
run-tests.sh
@@ -1,22 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup
|
||||
|
||||
status=$?
|
||||
if [ $status -ne 0 ]; then
|
||||
echo "Failed to start my_first_process: $status"
|
||||
exit $status
|
||||
fi
|
||||
|
||||
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.BrowserStackInit -PtestType=\"e2e\" executeE2ETests
|
||||
status=$?
|
||||
if [ $status -ne 0 ]; then
|
||||
echo "Failed to start my_first_process: $status"
|
||||
exit $status
|
||||
fi
|
||||
|
||||
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.MockDataCleanup
|
||||
if [ $status -ne 0 ]; then
|
||||
echo "Failed to start my_first_process: $status"
|
||||
exit $status
|
||||
fi
|
||||
Reference in New Issue
Block a user