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
28b3cedb
"vscode:/vscode.git/clone" did not exist on "6f511e733727eb0d55f9132bef0771841a24db5e"
Commit
28b3cedb
authored
Aug 22, 2023
by
Zhang Xiaoli
Browse files
中期版本归档
parent
5031945b
Changes
44
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
89 deletions
+18
-89
L2/dockerfiles/csst-msc-l2-xcat/app.yaml
L2/dockerfiles/csst-msc-l2-xcat/app.yaml
+0
-78
L2/dockerfiles/csst-msc-l2-xcat/exe/Dockerfile
L2/dockerfiles/csst-msc-l2-xcat/exe/Dockerfile
+1
-1
L2/dockerfiles/csst-msc-l2-xcat/exe/Makefile
L2/dockerfiles/csst-msc-l2-xcat/exe/Makefile
+8
-7
L2/dockerfiles/csst-msc-l2-xcat/test/app.yaml
L2/dockerfiles/csst-msc-l2-xcat/test/app.yaml
+9
-3
No files found.
L2/dockerfiles/csst-msc-l2-xcat/app.yaml
deleted
100644 → 0
View file @
5031945b
name
:
msc-l2-xcat.app.process
label
:
星表检索
comment
:
星表检索
cluster
:
csst
parameters
:
initial_status
:
RUNNING
jobs
:
# msc-l1-mbi:
# label: 星表管理模块
# base_image: cnic/csst-msc-l1-mbi
# schedule_mode: HEAD
# variables:
# always_runing: yes
# output_text_size: 100000
# text_tranc_mode: TAIL
# locale_mode: NONE
# paths:
# - ${AUX_DIR}:/pipeline/aux
# - ${CRDS_DIR}:/L1Pipeline/aux/C6.1_ref_crds
# - ${DFS_ROOT}:/dfsroot
csst-msc-l2-xcat-adm
:
label
:
星表管理模块
base_image
:
cnic/csst-msc-l2-xcat-adm:latest
schedule_mode
:
HEAD
variables
:
#always_running: yes
output_text_size
:
100000
text_tranc_mode
:
TAIL
locale_mode
:
NONE
parameters
:
start_message
:
202306212339
environments
:
-
CSST_DFS_API_MODE=cluster
-
CSST_DFS_GATEWAY=172.24.27.2:30880
-
CSST_DFS_APP_ID=test
-
CSST_DFS_APP_TOKEN=test
paths
:
# change /share to /sharewcl in PML production environment
-
/sharewcl/pipeline/output-csst-msc-l2-xcat-adm:/pipeline/output
# output directory, omit this line in production
-
/sharewcl/pipeline/aux:/pipeline/aux
-
/sharewcl/dfs:/dfsroot
-
/sharewcl/crdsdata/data/references:/crdsref
sink_jobs
:
-
csst-msc-l2-xcat-exe
# command: >
# bash -c "python /pipeline/src/run.py && echo '---' && cat /pipeline/output/msg.txt"
hosts
:
# - h0:1
# - c0:1
# - c1:1
# - c2:1
csst-msc-l2-xcat-exe
:
base_image
:
cnic/csst-msc-l2-xcat-exe:latest
#schedule_mode: HEAD
variables
:
always_running
:
yes
output_text_size
:
100000
text_tranc_mode
:
TAIL
locale_mode
:
NONE
environments
:
-
CSST_DFS_API_MODE=cluster
-
CSST_DFS_GATEWAY=172.24.27.2:30880
-
CSST_DFS_APP_ID=test
-
CSST_DFS_APP_TOKEN=test
paths
:
# change /share to /sharewcl in PML production environment
# output directory, omit this line in production
-
/sharewcl/pipeline/output-csst-msc-l2-xcat-exe:/pipeline/output
-
/sharewcl/pipeline/aux:/pipeline/aux
-
/sharewcl/dfs:/dfsroot
-
/sharewcl/crdsdata/data/references:/crdsref
# command: >
# python /pipeline/src/run.py {\"brick_id\":1}
hosts
:
# - h0:1
# - c0:1
# - c1:1
-
c2:2
\ No newline at end of file
L2/dockerfiles/csst-msc-l2-xcat/exe/Dockerfile
View file @
28b3cedb
...
@@ -4,7 +4,7 @@ USER root
...
@@ -4,7 +4,7 @@ USER root
COPY
run.sh /app/bin/
COPY
run.sh /app/bin/
RUN
chmod
+x /app/bin/run.sh
RUN
chmod
+x /app/bin/run.sh
COPY
--from=hub.cstcloud.cn/scalebox/base
:0.9
/usr/local/sbin/ /usr/local/sbin/
COPY
--from=hub.cstcloud.cn/scalebox/base /usr/local/sbin/ /usr/local/sbin/
RUN
mkdir
-p
/work
&&
echo
"PATH=/app/bin:
\$
{PATH}"
>>
/root/.bashrc
RUN
mkdir
-p
/work
&&
echo
"PATH=/app/bin:
\$
{PATH}"
>>
/root/.bashrc
WORKDIR
/work
WORKDIR
/work
...
...
L2/dockerfiles/csst-msc-l2-xcat/exe/Makefile
View file @
28b3cedb
IMAGE_NAME
:=
cnic/csst-msc-l2-xcat-exe
IMAGE_NAME
:=
cnic/csst-msc-l2-xcat-exe
IMAGE_PATH
:=
/sharewcl/temp
build
:
build
:
docker build
--network
=
host
-t
$(IMAGE_NAME)
.
docker build
--network
=
host
-t
$(IMAGE_NAME)
.
dist
:
dist
:
build
#docker save $(IMAGE_NAME) | zstdmt | pv | ssh c0 'zstd -d | docker load'
#docker save $(IMAGE_NAME) | zstdmt | pv | ssh c0 'zstd -d | docker load'
docker
save
$(IMAGE_NAME)
>
/share/tmp/msc-l2-xcat-exe.tar
docker
save
$(IMAGE_NAME)
>
$(IMAGE_PATH)/msc-l2-xcat-exe.tar
ssh
c0
docker
load
-i
/share/tmp/msc-l2-xcat-exe.tar
ssh
c0
docker
load
-i
$(IMAGE_PATH)/msc-l2-xcat-exe.tar
ssh
c1
docker
load
-i
/share/tmp/msc-l2-xcat-exe.tar
ssh
c1
docker
load
-i
$(IMAGE_PATH)/msc-l2-xcat-exe.tar
ssh
c2
docker
load
-i
/share/tmp/msc-l2-xcat-exe.tar
ssh
c2
docker
load
-i
$(IMAGE_PATH)/msc-l2-xcat-exe.tar
ssh
n0
docker
load
-i
$(IMAGE_PATH)/msc-l2-xcat-exe.tar
ssh
n1
docker
load
-i
$(IMAGE_PATH)/msc-l2-xcat-exe.tar
push
:
push
:
docker push
$(IMAGE_NAME)
docker push
$(IMAGE_NAME)
run
:
run
:
...
...
L2/dockerfiles/csst-msc-l2-xcat/test/app.yaml
View file @
28b3cedb
...
@@ -9,7 +9,7 @@ jobs:
...
@@ -9,7 +9,7 @@ jobs:
csst-msc-l2-xcat-adm
:
csst-msc-l2-xcat-adm
:
label
:
星表合并管理模块
label
:
星表合并管理模块
base_image
:
cnic/csst-msc-l2-xcat-adm:latest
base_image
:
cnic/csst-msc-l2-xcat-adm:latest
schedule_mode
:
HEAD
#
schedule_mode: HEAD
variables
:
variables
:
# always_running: yes
# always_running: yes
output_text_size
:
100000
output_text_size
:
100000
...
@@ -30,7 +30,12 @@ jobs:
...
@@ -30,7 +30,12 @@ jobs:
-
csst-msc-l2-xcat-exe
-
csst-msc-l2-xcat-exe
# command: >
# command: >
# bash -c "python /pipeline/src/run.py && echo '---' && cat /pipeline/output/msg.txt"
# bash -c "python /pipeline/src/run.py && echo '---' && cat /pipeline/output/msg.txt"
hosts
:
# - h0:1
# - c0:1
# - c1:1
# - c2:2
-
n0:1
csst-msc-l2-xcat-exe
:
csst-msc-l2-xcat-exe
:
label
:
星表合并执行模块
label
:
星表合并执行模块
base_image
:
cnic/csst-msc-l2-xcat-exe:latest
base_image
:
cnic/csst-msc-l2-xcat-exe:latest
...
@@ -58,4 +63,5 @@ jobs:
...
@@ -58,4 +63,5 @@ jobs:
# - h0:1
# - h0:1
# - c0:1
# - c0:1
# - c1:1
# - c1:1
-
c2:2
# - c2:2
\ No newline at end of file
-
n0:1
\ No newline at end of file
Prev
1
2
3
Next
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