Commit fb9004f3 authored by Zhang Xiaoli's avatar Zhang Xiaoli
Browse files

update version base image:0.9

parent e8e9440e
......@@ -4,7 +4,7 @@ USER root
COPY run.sh /app/bin/
RUN chmod +x /app/bin/run.sh
COPY --from=hub.cstcloud.cn/scalebox/base /usr/local/sbin/ /usr/local/sbin/
COPY --from=hub.cstcloud.cn/scalebox/base:0.9 /usr/local/sbin/ /usr/local/sbin/
RUN mkdir -p /work && echo "PATH=/app/bin:\${PATH}" >> /root/.bashrc
# RUN mkdir -p /work /app/bin && echo "PATH=/app/bin:\${PATH}" >> /root/.bashrc
WORKDIR /work
......
......@@ -4,7 +4,7 @@ USER root
COPY run.sh /app/bin/
RUN chmod +x /app/bin/run.sh
COPY --from=hub.cstcloud.cn/scalebox/base /usr/local/sbin/ /usr/local/sbin/
COPY --from=hub.cstcloud.cn/scalebox/base:0.9 /usr/local/sbin/ /usr/local/sbin/
RUN mkdir -p /work && echo "PATH=/app/bin:\${PATH}" >> /root/.bashrc
WORKDIR /work
......
......@@ -3,7 +3,7 @@ CLUSTER=csst
all: reset build
run:
scalebox app create --env-file zjs-ztm.env
scalebox app create --env-file zjs.env
reset:
cd ${HOME}/docker-scalebox/clusters/$(CLUSTER) && make && cd -
......@@ -15,4 +15,4 @@ list:
make -C ${HOME}/docker-scalebox/clusters/$(CLUSTER) list
scp:
scp -r ../ csst-zjs:/root/csst/csst-msc-l2-xcat/
\ No newline at end of file
scp -r ../ csst-zjs:/root/csst/csst-msc-l1-sls1d/
\ No newline at end of file
......@@ -10,7 +10,7 @@ jobs:
csst-msc-l1-sls1d-adm:
label: 无缝光谱1D管理模块
base_image: cnic/csst-msc-l1-sls1d-adm:latest
schedule_mode: HEAD
# schedule_mode: HEAD
variables:
# always_running: yes
output_text_size: 100000
......@@ -34,13 +34,17 @@ jobs:
- csst-msc-l1-sls1d-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-l1-sls1d-exe:
label: 无缝光谱1D执行模块
base_image: cnic/csst-msc-l1-sls1d-exe:latest
schedule_mode: HEAD
# schedule_mode: HEAD
variables:
always_running: yes
# always_running: yes
output_text_size: 100000
# DFS入库错误重试3次
retry_rules: "['202:3']"
......@@ -59,8 +63,8 @@ jobs:
- ${CSST_CRDS_ROOT}:/crdsroot
# command: >
# python /pipeline/src/run.py {\"brick_id\":1}
# hosts:
hosts:
# - h0:1
# - c0:1
# - c1:1
# - c2:1
\ No newline at end of file
- c2:2
\ No newline at end of file
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