Skip to content

Commit

Permalink
Merge pull request #1661 from GiganticMinecraft/skip_world
Browse files Browse the repository at this point in the history
skip world
  • Loading branch information
outductor authored Jan 3, 2024
2 parents f835e53 + cf288d4 commit ecbd7e1
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ spec:
volumeMounts:
- name: mod-downloader-volume
mountPath: /plugins
- name: world-downloader
image: busybox:1.36.1
env:
- name: WORLD_URL # S1からインポートしてきたワールドデータ
value: "http://seichi-private-plugin-blackhole-minio.minio:9000/seichi-plugins/world-data/s1/world.tar.gz"
volumeMounts:
- name: world-download-volume
mountPath: /data
command:
- "sh"
- "-c"
- 'echo "start downloading world data" && wget -qO- "${WORLD_URL}" | tar -xz -C /data && mv /data/world /data/world_2 && echo "successfully imported world data"'
# - name: world-downloader
# image: busybox:1.36.1
# env:
# - name: WORLD_URL # S1からインポートしてきたワールドデータ
# value: "http://seichi-private-plugin-blackhole-minio.minio:9000/seichi-plugins/world-data/s1/world.tar.gz"
# volumeMounts:
# - name: world-download-volume
# mountPath: /data
# command:
# - "sh"
# - "-c"
# - 'echo "start downloading world data" && wget -qO- "${WORLD_URL}" | tar -xz -C /data && mv /data/world /data/world_2 && echo "successfully imported world data"'
containers:
- resources:
requests:
Expand Down Expand Up @@ -364,8 +364,8 @@ spec:
- name: mod-downloader-volume
mountPath: /plugins

- name: world-download-volume
mountPath: /data
# - name: world-download-volume
# mountPath: /data

volumes:
- name: common-mcserver-configs
Expand Down Expand Up @@ -399,5 +399,5 @@ spec:
emptyDir: {}

# # S1から取ってきたワールドデータをぶちこむボリューム
- name: world-download-volume
emptyDir: {}
# - name: world-download-volume
# emptyDir: {}

0 comments on commit ecbd7e1

Please sign in to comment.