Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
csst
Scalebox Apps
Commits
f405ae17
Commit
f405ae17
authored
Apr 11, 2023
by
zxl
Browse files
Modify grpc server ip
parent
3791ced2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
22 deletions
+23
-22
L2/dockerfiles/admL2/Dockerfile
L2/dockerfiles/admL2/Dockerfile
+3
-2
L2/dockerfiles/name1/Dockerfile
L2/dockerfiles/name1/Dockerfile
+4
-1
L2/dockerfiles/name2/Dockerfile
L2/dockerfiles/name2/Dockerfile
+4
-1
L2/pipelines/app.yaml
L2/pipelines/app.yaml
+12
-18
No files found.
L2/dockerfiles/admL2/Dockerfile
View file @
f405ae17
...
...
@@ -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
L2/dockerfiles/name1/Dockerfile
View file @
f405ae17
...
...
@@ -10,3 +10,6 @@ RUN apt-get update \
COPY
*.sh /app/bin/
COPY
*.py /app/bin/
RUN
cd
/app/bin/
\
&&
chmod
+x run.sh
L2/dockerfiles/name2/Dockerfile
View file @
f405ae17
...
...
@@ -10,3 +10,6 @@ RUN apt-get update \
COPY
*.sh /app/bin/
COPY
*.py /app/bin/
RUN
cd
/app/bin/
\
&&
chmod
+x run.sh
L2/pipelines/app.yaml
View file @
f405ae17
name
:
csst.app.process
label
:
csst-admin
output_basedir
:
/data/csst-admin
label
:
csst-admin
L2
output_basedir
:
/data/csst-admin
L2
cluster
:
csst
parameters
:
initial_status
:
RUNNING
jobs
:
admL2
:
label
:
admin管理模块
label
:
admin
L2
管理模块
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment