From bb359f5ad92682030789ebe9de899cc01a188dcd Mon Sep 17 00:00:00 2001 From: risadmin_prod Date: Fri, 21 Mar 2025 04:20:54 +0000 Subject: [PATCH] deployment_files --- .../base_project/lib/resources/api_constants.dart | 2 +- sureops/flutter1-back-b/deployment/build.sh | 2 +- sureops/flutter1-front-f/deployment/Dockerfile | 8 +++++++- sureops/flutter1-front-f/deployment/build.sh | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/flutter1-front-f/authsec_flutterNewUi/base_project/lib/resources/api_constants.dart b/flutter1-front-f/authsec_flutterNewUi/base_project/lib/resources/api_constants.dart index d364691..ee28c35 100644 --- a/flutter1-front-f/authsec_flutterNewUi/base_project/lib/resources/api_constants.dart +++ b/flutter1-front-f/authsec_flutterNewUi/base_project/lib/resources/api_constants.dart @@ -21,5 +21,5 @@ class ApiConstants { static const getSystemParameters = '$baseUrl/sysparam/getSysParams'; static const updateSystemParams = '$baseUrl/sysparam/updateSysParams'; - static const baseUrl ='http://157.66.191.31:31113/back'; } + static const baseUrl ='http://157.66.191.31:31119/back'; } } \ No newline at end of file diff --git a/sureops/flutter1-back-b/deployment/build.sh b/sureops/flutter1-back-b/deployment/build.sh index 790f3f9..6810ec2 100755 --- a/sureops/flutter1-back-b/deployment/build.sh +++ b/sureops/flutter1-back-b/deployment/build.sh @@ -13,7 +13,7 @@ DOMAIN=157.66.191.31:3000 #WEB-URL-PORT CONT_PORT=3306 TARGET_PORT=9292 -PATH_DIR=/data/34707_1742529819911/sureops_deploy/flutter1/sureops/flutter1-back-b/deployment +PATH_DIR=/data/34707_1742530838413/sureops_deploy/flutter1/sureops/flutter1-back-b/deployment #********************** cd $PATH_DIR DOCKER_TAG=1.0 diff --git a/sureops/flutter1-front-f/deployment/Dockerfile b/sureops/flutter1-front-f/deployment/Dockerfile index f2ec9be..249b0b6 100755 --- a/sureops/flutter1-front-f/deployment/Dockerfile +++ b/sureops/flutter1-front-f/deployment/Dockerfile @@ -13,7 +13,9 @@ RUN git clone http://risadmin_prod:adminprod1234@157.66.191.31:3000/risadmin_pro #************* Stage 2 - Maven Build ************** #FROM cirrusci/flutter:stable AS builder #FROM zekfad/flutter-builder:latest AS builder -FROM ghcr.io/cirruslabs/flutter:3.24.3 AS builder +#FROM ghcr.io/cirruslabs/flutter:3.24.3 AS builder +FROM ghcr.io/cirruslabs/flutter:3.25.0 AS builder # Check the latest version + LABEL stage=builder LABEL build=$BUILD_ID WORKDIR /app/flutter1 @@ -27,6 +29,10 @@ RUN pwd RUN flutter pub get RUN ./remove_unused.sh RUN flutter clean +RUN dart --disable-analytics && \ + dart --version && \ + dart pub upgrade + RUN flutter pub get #RUN flutter build apk --split-per-abi RUN flutter build apk --target-platform android-arm64 diff --git a/sureops/flutter1-front-f/deployment/build.sh b/sureops/flutter1-front-f/deployment/build.sh index d267861..7eafe2a 100755 --- a/sureops/flutter1-front-f/deployment/build.sh +++ b/sureops/flutter1-front-f/deployment/build.sh @@ -11,7 +11,7 @@ GITEA_EMAIL=ganeshk@dekatc.com GIT_BRANCH=main DOMAIN=157.66.191.31:3000 #TARGET_PORT=9292 -PATH_DIR=/data/34707_1742529819911/sureops_deploy/flutter1/sureops/flutter1-front-f/deployment +PATH_DIR=/data/34707_1742530838413/sureops_deploy/flutter1/sureops/flutter1-front-f/deployment #********************** cd $PATH_DIR DOCKER_TAG=1.0