From 64c13edf082f0c99d54a14198290c45afd3e75a3 Mon Sep 17 00:00:00 2001 From: Valeriya Popova Date: Tue, 8 Aug 2023 18:52:11 +0300 Subject: [PATCH] slo check allowed --- .github/workflows/slo.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/slo.yml b/.github/workflows/slo.yml index a14076ef..767a6d1c 100644 --- a/.github/workflows/slo.yml +++ b/.github/workflows/slo.yml @@ -22,9 +22,15 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + if: env.DOCKER_REPO != null + env: + DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }} - name: Run SLO uses: ydb-platform/slo-tests@js-version + if: env.DOCKER_REPO != null + env: + DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }} with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} KUBECONFIG_B64: ${{ secrets.SLO_KUBE_CONFIG }} @@ -49,7 +55,9 @@ jobs: workload_build_options0: -f Dockerfile - uses: actions/upload-artifact@v3 - if: always() + if: env.DOCKER_REPO != null + env: + DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }} with: name: slo-logs path: logs/