From 92ca289569586fff051c9122d62faa83aa4d4b37 Mon Sep 17 00:00:00 2001 From: outductor Date: Sun, 15 Sep 2024 17:40:21 +0900 Subject: [PATCH] fix commands --- .../seichiassist-downloader/sensor.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/seichiassist-downloader/sensor.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/seichiassist-downloader/sensor.yaml index b98066b10..759a97e98 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/seichiassist-downloader/sensor.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-minecraft/seichiassist-downloader/sensor.yaml @@ -69,9 +69,9 @@ spec: volumeMounts: - name: work mountPath: /work - entrypoint: ["/bin/sh", "-c"] command: - - "wget https://github.com/GiganticMinecraft/SeichiAssist/releases/download/{{ workflow.parameters.tag-name }}/SeichiAssist.jar" + - "wget" + - "https://github.com/GiganticMinecraft/SeichiAssist/releases/download/{{ workflow.parameters.tag-name }}/SeichiAssist.jar" - name: upload-seichiassist container: image: minio/mc:latest @@ -89,9 +89,19 @@ spec: volumeMounts: - name: work mountPath: /work - entrypoint: ["/bin/sh", "-c"] command: - - "mc alias set myminio seichi-private-plugin-blackhole-minio.minio:9000 $minio-access-key $minio-access-secret && mc cp SeichiAssist.jar myminio/seichiassist/{{ workflow.parameters.target-branch }}/SeichiAssist.jar" + - "mc" + - "alias" + - "set" + - "myminio" + - "seichi-private-plugin-blackhole-minio.minio:9000" + - "$minio-access-key" + - "$minio-access-secret" + - "&&" + - "mc" + - "cp" + - "SeichiAssist.jar" + - "myminio/seichiassist/{{ workflow.parameters.target-branch }}/SeichiAssist.jar" parameters: - src: dependencyName: from-seichiassist-downloader