Commit f405ae17 authored by zxl's avatar zxl
Browse files

Modify grpc server ip

parent 3791ced2
......@@ -20,7 +20,8 @@ COPY *.proto /app/bin/
#controld version 202208
RUN cd /app/bin/ \
&& mkdir controld \
&& python3 -m grpc_tools.protoc --python_out=. --grpc_python_out=. -I. control.proto -I=control
&& python3 -m grpc_tools.protoc --python_out=. --grpc_python_out=. -I. control.proto -I=controld \
&& chmod +x run.sh
ENV CSST_ADML2_JOB_ID="3" \
CSST_PIPELINE_GRPC_SERVER="122.96.144.152:39092"
\ No newline at end of file
CSST_PIPELINE_GRPC_SERVER="192.169.23.2:50051"
\ No newline at end of file
......@@ -10,3 +10,6 @@ RUN apt-get update \
COPY *.sh /app/bin/
COPY *.py /app/bin/
RUN cd /app/bin/ \
&& chmod +x run.sh
......@@ -10,3 +10,6 @@ RUN apt-get update \
COPY *.sh /app/bin/
COPY *.py /app/bin/
RUN cd /app/bin/ \
&& chmod +x run.sh
name: csst.app.process
label: csst-admin
output_basedir: /data/csst-admin
label: csst-adminL2
output_basedir: /data/csst-adminL2
cluster: csst
parameters:
initial_status: RUNNING
jobs:
admL2:
label: admin管理模块
label: adminL2管理模块
base_image: hub.cstcloud.cn/csst/adml2:dev
type: LONG-RUN-JOB
schedule_mode: HEAD
......@@ -15,45 +15,39 @@ jobs:
# start_message: brickid,name1,name2
## key_example: Dec+5841_09_04/20200817
key_group_regex: ^(Dec.+/[0-9]+)$
# environments:
# - RSYNC_SRC=scalebox@159.226.237.136
# - ROOT_PATH=${ROOT_PATH}
# - REGEX_FILTER=^.+_000[0-7]_2bit.fits$
environments:
- CSST_PIPELINE_GRPC_SERVER=192.169.23.2:50051
command: docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
sink_jobs:
- name1
- name2
# - name3
name1:
label: 模块一
label: L2模块一
base_image: hub.cstcloud.cn/csst/name1:dev
type: LONG-RUN-JOB
schedule_mode: HEAD
## key_example: Dec+5841_09_04/20200817
key_group_regex: ^(Dec.+/[0-9]+)$
# environments:
# - RSYNC_SRC=scalebox@159.226.237.136
# - ROOT_PATH=${ROOT_PATH}
# - REGEX_FILTER=^.+_000[0-7]_2bit.fits$
environments:
- CSST_PIPELINE_GRPC_SERVER=192.169.23.2:50051
command: docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
sink_jobs:
- admL2
name2:
label: 模块二
label: L2模块二
base_image: hub.cstcloud.cn/csst/name2:dev
type: LONG-RUN-JOB
schedule_mode: HEAD
## key_example: Dec+5841_09_04/20200817
key_group_regex: ^(Dec.+/[0-9]+)$
# environments:
# - RSYNC_SRC=scalebox@159.226.237.136
# - ROOT_PATH=${ROOT_PATH}
# - REGEX_FILTER=^.+_000[0-7]_2bit.fits$
environments:
- CSST_PIPELINE_GRPC_SERVER=192.169.23.2:50051
command: docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
sink_jobs:
- admL2
# name3:
# label: 模块三
# label: L2模块三
# #base_image: hub.cstcloud.cn/csst/name3
# type: LONG-RUN-JOB
# schedule_mode: HEAD
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment