From 0c7cac29f768dfd3cca4e21754543c79a4e77587 Mon Sep 17 00:00:00 2001 From: Devaraj Ranganna Date: Tue, 23 Aug 2022 11:18:21 +0000 Subject: [PATCH] cassini-ci: Remove `CI_JOB_ID` folder name The artifactory upload config contained `CI_JOB_ID` as the target folder which was causing the test logs not to be deleted. Removed the `CI_JOB_ID` folder name from upload target config so that JFrog will automatically delete test logs when number of builds goes beyond 10. Signed-off-by: Devaraj Ranganna --- .gitlab/ci/lava-test.yml | 2 +- .gitlab/lava/n1sdp/ptest.yml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/lava-test.yml b/.gitlab/ci/lava-test.yml index cd574be..0e82567 100644 --- a/.gitlab/ci/lava-test.yml +++ b/.gitlab/ci/lava-test.yml @@ -98,7 +98,7 @@ - jfrog rt download --spec=download_spec.json --fail-no-op - | python3 .gitlab/scripts/ptest-to-junit.py \ - ptest-runner-results/${LAUNCH_CI_JOB_ID} \ + ptest-runner-results \ TEST-ptest-runner-test-report.xml artifacts: paths: diff --git a/.gitlab/lava/n1sdp/ptest.yml.j2 b/.gitlab/lava/n1sdp/ptest.yml.j2 index 1e01bdd..c82c6a9 100644 --- a/.gitlab/lava/n1sdp/ptest.yml.j2 +++ b/.gitlab/lava/n1sdp/ptest.yml.j2 @@ -196,7 +196,7 @@ actions: "files": [ { "pattern": "/home/test/runtime-integration-tests-logs/", - "target": "oss-cassini.lava-images-temp/ptest-runner-results/{{ CI_JOB_ID }}/", + "target": "oss-cassini.lava-images-temp/ptest-runner-results/", "flat": "true", "recursive": "true" } -- GitLab