From ccac36cdc508a42114c58883c08360883968538d Mon Sep 17 00:00:00 2001 From: Rintaro Okamura Date: Tue, 22 Dec 2020 10:35:44 +0900 Subject: [PATCH] :art: format yamls Signed-off-by: Rintaro Okamura --- .github/workflows/e2e-deploy.yml | 10 +++++----- k8s/external/minio/mb-job.yaml | 32 ++++++++++++++++---------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/e2e-deploy.yml b/.github/workflows/e2e-deploy.yml index 5ef84821839..96ca865f20c 100644 --- a/.github/workflows/e2e-deploy.yml +++ b/.github/workflows/e2e-deploy.yml @@ -12,7 +12,7 @@ on: jobs: e2e-deploy-redis-mysql: - name: 'E2E deploy test (Redis, MySQL)' + name: "E2E deploy test (Redis, MySQL)" runs-on: ubuntu-latest timeout-minutes: 45 if: startsWith( github.ref, 'refs/tags/') || github.event.action == 'labeled' && github.event.label.name == 'actions/e2e-deploy' @@ -139,7 +139,7 @@ jobs: env: DATASET: fashion-mnist-784-euclidean.hdf5 e2e-deploy-cassandra: - name: 'E2E deploy test (Cassandra)' + name: "E2E deploy test (Cassandra)" runs-on: ubuntu-latest timeout-minutes: 45 if: startsWith( github.ref, 'refs/tags/') || github.event.action == 'labeled' && github.event.label.name == 'actions/e2e-deploy' @@ -264,7 +264,7 @@ jobs: env: DATASET: fashion-mnist-784-euclidean.hdf5 e2e-deploy-sidecar: - name: 'E2E deploy test (Agent & Sidecar)' + name: "E2E deploy test (Agent & Sidecar)" runs-on: ubuntu-latest timeout-minutes: 45 if: startsWith( github.ref, 'refs/tags/') || github.event.action == 'labeled' && github.event.label.name == 'actions/e2e-deploy' @@ -388,7 +388,7 @@ jobs: env: DATASET: fashion-mnist-784-euclidean.hdf5 slack-notification: - name: 'Slack notification' + name: "Slack notification" needs: - e2e-deploy-redis-mysql - e2e-deploy-cassandra @@ -401,7 +401,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: 8398a7/action-slack@v2 with: - author_name: 'E2E deploy test' + author_name: "E2E deploy test" status: ${{ env.WORKFLOW_CONCLUSION }} only_mention_fail: channel env: diff --git a/k8s/external/minio/mb-job.yaml b/k8s/external/minio/mb-job.yaml index 08e648f158a..a7e1d7958a5 100644 --- a/k8s/external/minio/mb-job.yaml +++ b/k8s/external/minio/mb-job.yaml @@ -22,20 +22,20 @@ spec: template: spec: containers: - - name: mc - image: minio/mc - imagePullPolicy: Always - command: - - /bin/sh - - -c - - | - mc alias set minio ${ENDPOINT} ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY} --api S3v4 - mc mb minio/vald-minio - env: - - name: ENDPOINT - value: http://minio.default.svc.cluster.local:9000 - - name: MINIO_ACCESS_KEY - value: ACCESSKEY - - name: MINIO_SECRET_KEY - value: SECRETKEY + - name: mc + image: minio/mc + imagePullPolicy: Always + command: + - /bin/sh + - -c + - | + mc alias set minio ${ENDPOINT} ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY} --api S3v4 + mc mb minio/vald-minio + env: + - name: ENDPOINT + value: http://minio.default.svc.cluster.local:9000 + - name: MINIO_ACCESS_KEY + value: ACCESSKEY + - name: MINIO_SECRET_KEY + value: SECRETKEY restartPolicy: Never