From edab63cc6f0e79f3509eb793ba500e8b5983ef00 Mon Sep 17 00:00:00 2001 From: "Alexander V. Tikhonov" Date: Sat, 27 Jun 2020 13:11:05 +0300 Subject: [PATCH] Correct cleanup gitlab-ci for perf jobs 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 --- .gitlab-ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65b2fb1261ff..3978bff56461 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ stages: variables: GITLAB_MAKE: "make -f .gitlab.mk" - GIT_CLEAN_COMMAND: "git clean -ffdx -e packpack && git submodule foreach git clean -ffdx && git submodule foreach git status" + GIT_CLEAN_COMMAND: "git clean -ffdx && git submodule foreach git clean -ffdx && git submodule foreach git status" GIT_CLEAN_FLAGS: none .shell_before_script_template: &shell_cleanup_script @@ -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: