[Tarantool-patches] [PATCH v1] Correct cleanup gitlab-ci for perf jobs

Alexander V. Tikhonov avtikhon at tarantool.org
Sat Jun 27 13:16:04 MSK 2020


Found that some perf jobs were forgot to be updated with local cleanup
routine as was done for the other jobs at commit:

  892a188bc56dc7052bcbe082607a83aa73f28c5b "Correct cleanup gitlab-ci"

Follows up #5036
---

Github: https://github.com/tarantool/tarantool/tree/avtikhon/gitlab-ci-perf-cleanup
Issue: https://github.com/tarantool/tarantool/issues/5036

 .gitlab-ci.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 65b2fb126..6cf1aab3d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -118,10 +118,11 @@ variables:
     - ${GITLAB_MAKE} perf_run
 
 .perf_cleanup_definition: &perf_cleanup_definition
-   <<: *perf_only_definition
-   stage: cleanup
-   script:
-     - ${GITLAB_MAKE} perf_cleanup
+  <<: *perf_only_definition
+  stage: cleanup
+  <<: *shell_cleanup_script
+  script:
+    - ${GITLAB_MAKE} perf_cleanup
 
 # Tests
 
@@ -204,6 +205,7 @@ perf_bootstrap:
   stage: test
   tags:
     - deploy
+  <<: *shell_cleanup_script
   script:
     - ${GITLAB_MAKE} perf_prepare
   after_script:
-- 
2.17.1



More information about the Tarantool-patches mailing list