Skip to content

Commit

Permalink
chore(controller): remove useless cmd from job template (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
jialeicui authored Aug 28, 2022
1 parent 2693579 commit e815a69
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions server/controller/src/main/resources/template/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,10 @@ spec:
- sh
- -c
- >-
cd /opt/starwhale && find ./ -type f \( -name \*.swmp -o -name \*.swrt \) -exec tar -C swmp/ -xf {} \; &&
mkdir -p config && echo $INPUT > config/input.json &&
rm swmp/dep/python/requirements-lock.txt
cd /opt/starwhale && find ./ -type f \( -name \*.swmp -o -name \*.swrt \) -exec tar -C swmp/ -xf {} \;
- name: 'worker'
image: 'docker.io/library/busybox'
imagePullPolicy: IfNotPresent
#command:
#- sh
#- -c
#- tail -f /dev/null
args:
- ppl
volumeMounts:
Expand Down Expand Up @@ -71,4 +65,4 @@ spec:
path: /data
type: DirectoryOrCreate
- name: data
emptyDir: { }
emptyDir: {}

0 comments on commit e815a69

Please sign in to comment.