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
"vscode:/vscode.git/clone" did not exist on "2097a0a00a0f1f40c18beba4661dbd00d161a75e"
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/
...
@@ -20,7 +20,8 @@ COPY *.proto /app/bin/
#controld version 202208
#controld version 202208
RUN
cd
/app/bin/
\
RUN
cd
/app/bin/
\
&&
mkdir
controld
\
&&
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" \
ENV
CSST_ADML2_JOB_ID="3" \
CSST_PIPELINE_GRPC_SERVER="122.96.144.152:39092"
CSST_PIPELINE_GRPC_SERVER="192.169.23.2:50051"
\ No newline at end of file
\ No newline at end of file
L2/dockerfiles/name1/Dockerfile
View file @
f405ae17
...
@@ -10,3 +10,6 @@ RUN apt-get update \
...
@@ -10,3 +10,6 @@ RUN apt-get update \
COPY
*.sh /app/bin/
COPY
*.sh /app/bin/
COPY
*.py /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 \
...
@@ -10,3 +10,6 @@ RUN apt-get update \
COPY
*.sh /app/bin/
COPY
*.sh /app/bin/
COPY
*.py /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
name
:
csst.app.process
label
:
csst-admin
label
:
csst-admin
L2
output_basedir
:
/data/csst-admin
output_basedir
:
/data/csst-admin
L2
cluster
:
csst
cluster
:
csst
parameters
:
parameters
:
initial_status
:
RUNNING
initial_status
:
RUNNING
jobs
:
jobs
:
admL2
:
admL2
:
label
:
admin管理模块
label
:
admin
L2
管理模块
base_image
:
hub.cstcloud.cn/csst/adml2:dev
base_image
:
hub.cstcloud.cn/csst/adml2:dev
type
:
LONG-RUN-JOB
type
:
LONG-RUN-JOB
schedule_mode
:
HEAD
schedule_mode
:
HEAD
...
@@ -15,45 +15,39 @@ jobs:
...
@@ -15,45 +15,39 @@ jobs:
# start_message: brickid,name1,name2
# start_message: brickid,name1,name2
## key_example: Dec+5841_09_04/20200817
## key_example: Dec+5841_09_04/20200817
key_group_regex
:
^(Dec.+/[0-9]+)$
key_group_regex
:
^(Dec.+/[0-9]+)$
# environments:
environments
:
# - RSYNC_SRC=scalebox@159.226.237.136
-
CSST_PIPELINE_GRPC_SERVER=192.169.23.2:50051
# - ROOT_PATH=${ROOT_PATH}
# - REGEX_FILTER=^.+_000[0-7]_2bit.fits$
command
:
docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
command
:
docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
sink_jobs
:
sink_jobs
:
-
name1
-
name1
-
name2
-
name2
# - name3
# - name3
name1
:
name1
:
label
:
模块一
label
:
L2
模块一
base_image
:
hub.cstcloud.cn/csst/name1:dev
base_image
:
hub.cstcloud.cn/csst/name1:dev
type
:
LONG-RUN-JOB
type
:
LONG-RUN-JOB
schedule_mode
:
HEAD
schedule_mode
:
HEAD
## key_example: Dec+5841_09_04/20200817
## key_example: Dec+5841_09_04/20200817
key_group_regex
:
^(Dec.+/[0-9]+)$
key_group_regex
:
^(Dec.+/[0-9]+)$
# environments:
environments
:
# - RSYNC_SRC=scalebox@159.226.237.136
-
CSST_PIPELINE_GRPC_SERVER=192.169.23.2:50051
# - ROOT_PATH=${ROOT_PATH}
# - REGEX_FILTER=^.+_000[0-7]_2bit.fits$
command
:
docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
command
:
docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
sink_jobs
:
sink_jobs
:
-
admL2
-
admL2
name2
:
name2
:
label
:
模块二
label
:
L2
模块二
base_image
:
hub.cstcloud.cn/csst/name2:dev
base_image
:
hub.cstcloud.cn/csst/name2:dev
type
:
LONG-RUN-JOB
type
:
LONG-RUN-JOB
schedule_mode
:
HEAD
schedule_mode
:
HEAD
## key_example: Dec+5841_09_04/20200817
## key_example: Dec+5841_09_04/20200817
key_group_regex
:
^(Dec.+/[0-9]+)$
key_group_regex
:
^(Dec.+/[0-9]+)$
# environments:
environments
:
# - RSYNC_SRC=scalebox@159.226.237.136
-
CSST_PIPELINE_GRPC_SERVER=192.169.23.2:50051
# - ROOT_PATH=${ROOT_PATH}
# - REGEX_FILTER=^.+_000[0-7]_2bit.fits$
command
:
docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
command
:
docker run -d --network=host %ENVS% %VOLUMES% %IMAGE%
sink_jobs
:
sink_jobs
:
-
admL2
-
admL2
# name3:
# name3:
# label: 模块三
# label:
L2
模块三
# #base_image: hub.cstcloud.cn/csst/name3
# #base_image: hub.cstcloud.cn/csst/name3
# type: LONG-RUN-JOB
# type: LONG-RUN-JOB
# schedule_mode: HEAD
# 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