Skip to content

Commit 64c13ed

Browse files
author
Valeriya Popova
committed
slo check allowed
1 parent 870a55f commit 64c13ed

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/slo.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,15 @@ jobs:
2222
steps:
2323
- name: Checkout repository
2424
uses: actions/checkout@v3
25+
if: env.DOCKER_REPO != null
26+
env:
27+
DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}
2528

2629
- name: Run SLO
2730
uses: ydb-platform/slo-tests@js-version
31+
if: env.DOCKER_REPO != null
32+
env:
33+
DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}
2834
with:
2935
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3036
KUBECONFIG_B64: ${{ secrets.SLO_KUBE_CONFIG }}
@@ -49,7 +55,9 @@ jobs:
4955
workload_build_options0: -f Dockerfile
5056

5157
- uses: actions/upload-artifact@v3
52-
if: always()
58+
if: env.DOCKER_REPO != null
59+
env:
60+
DOCKER_REPO: ${{ secrets.SLO_DOCKER_REPO }}
5361
with:
5462
name: slo-logs
5563
path: logs/

0 commit comments

Comments
 (0)