From bc8be16f29c0c4f08de06b7c71dab367ece87eaf Mon Sep 17 00:00:00 2001 From: risadmin_prod Date: Wed, 1 Oct 2025 09:45:55 +0000 Subject: [PATCH] deployment_files --- .../calculator_app-calculator_app-b-b/deployment/build.sh | 2 +- .../deployment/Dockerfile | 2 +- .../calculator_app-calculator_app-d-d/deployment/build.sh | 4 ++-- .../calculator_app-calculator_app-d-d/deployment/dump.sql | 7 ++++++- .../calculator_app-calculator_app-f-f/deployment/build.sh | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/sureops/calculator_app-calculator_app-b-b/deployment/build.sh b/sureops/calculator_app-calculator_app-b-b/deployment/build.sh index 5ddc014..3d5426f 100755 --- a/sureops/calculator_app-calculator_app-b-b/deployment/build.sh +++ b/sureops/calculator_app-calculator_app-b-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/49445_1759311712376/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-b-b/deployment +PATH_DIR=/data/49445_1759311871609/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-b-b/deployment #********************** cd $PATH_DIR DOCKER_TAG=1.0 diff --git a/sureops/calculator_app-calculator_app-d-d/deployment/Dockerfile b/sureops/calculator_app-calculator_app-d-d/deployment/Dockerfile index 73bea90..6bfe770 100755 --- a/sureops/calculator_app-calculator_app-d-d/deployment/Dockerfile +++ b/sureops/calculator_app-calculator_app-d-d/deployment/Dockerfile @@ -12,7 +12,7 @@ ENV MYSQL_ROOT_PASSWORD root COPY conf.d /etc/mysql/conf.d COPY *.sql /docker-entrypoint-initdb.d/ - #COPY --from=code /repo//data/49445_1759311712376/sureops_deploy/calculator_app/calculator_app-calculator_app-d-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ . + #COPY --from=code /repo//data/49445_1759311871609/sureops_deploy/calculator_app/calculator_app-calculator_app-d-d/authsec_mysql/mysql/wf_table/backend/src/main/resources/ . VOLUME /var/lib/mysql EXPOSE 3306 CMD ["mysqld"] \ No newline at end of file diff --git a/sureops/calculator_app-calculator_app-d-d/deployment/build.sh b/sureops/calculator_app-calculator_app-d-d/deployment/build.sh index 964e5ea..3d6f05b 100755 --- a/sureops/calculator_app-calculator_app-d-d/deployment/build.sh +++ b/sureops/calculator_app-calculator_app-d-d/deployment/build.sh @@ -11,11 +11,11 @@ GIT_BRANCH=main DOMAIN=157.66.191.31:3000 CONT_PORT=3306 TARGET_PORT=3306 -PATH_DIR=/data/49445_1759311712376/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-d-d/deployment +PATH_DIR=/data/49445_1759311871609/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-d-d/deployment #********************** cd $PATH_DIR -cp /data/49445_1759311712376/sureops_deploy/calculator_app/calculator_app-calculator_app-d-d/authsec_mysql/mysql/wf_table/*.sql . +cp /data/49445_1759311871609/sureops_deploy/calculator_app/calculator_app-calculator_app-d-d/authsec_mysql/mysql/wf_table/*.sql . pwd DOCKER_TAG=1.0 # Stop any existing containers with the same name and ports diff --git a/sureops/calculator_app-calculator_app-d-d/deployment/dump.sql b/sureops/calculator_app-calculator_app-d-d/deployment/dump.sql index d3d17ff..482a17f 100755 --- a/sureops/calculator_app-calculator_app-d-d/deployment/dump.sql +++ b/sureops/calculator_app-calculator_app-d-d/deployment/dump.sql @@ -1171,7 +1171,12 @@ INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34: SET @last_inserted_id = LAST_INSERT_ID(); INSERT INTO `sec_grp_menu_access` VALUES (@last_inserted_id,1,NULL,'2024-01-17 18:56:07','true',8001,'true','true','true','true','true','',NULL,1577,'','true','U1000','Enable',NULL,'2024-01-17 18:56:07'); COMMIT; -CREATE TABLE IF NOT EXISTS calculator(id BIGINT NOT NULL AUTO_INCREMENT, number2 int, number1 int, operation VARCHAR(400), result int, PRIMARY KEY (id)); +START TRANSACTION; +INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'',NULL,1577,'','U2000','Enable'); +SET @last_inserted_id = LAST_INSERT_ID(); +INSERT INTO `sec_grp_menu_access` VALUES (@last_inserted_id,1,NULL,'2024-01-17 18:56:07','true',8001,'true','true','true','true','true','',NULL,1577,'','true','U1000','Enable',NULL,'2024-01-17 18:56:07'); +COMMIT; +CREATE TABLE IF NOT EXISTS calculator(id BIGINT NOT NULL AUTO_INCREMENT, number2 int, number1 int, operation VARCHAR(400), result VARCHAR(400), PRIMARY KEY (id)); START TRANSACTION; INSERT INTO `sec_menu_det` VALUES (null,'2023-01-25 11:12:27','2023-02-04 15:34:36',8001,'Calculator',NULL,1577,'Calculator','U2000','Enable'); SET @last_inserted_id = LAST_INSERT_ID(); diff --git a/sureops/calculator_app-calculator_app-f-f/deployment/build.sh b/sureops/calculator_app-calculator_app-f-f/deployment/build.sh index 9500952..93a416a 100755 --- a/sureops/calculator_app-calculator_app-f-f/deployment/build.sh +++ b/sureops/calculator_app-calculator_app-f-f/deployment/build.sh @@ -13,7 +13,7 @@ GIT_BRANCH="main" DOMAIN="157.66.191.31:3000" CONT_PORT=30167 TARGET_PORT=80 -PATH_DIR="/data/49445_1759311712376/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-f-f/deployment" +PATH_DIR="/data/49445_1759311871609/sureops_deploy/calculator_app/sureops/calculator_app-calculator_app-f-f/deployment" DOCKER_TAG="1.0" MAX_RETRIES=3 RETRY_DELAY=10